--- old/src/jdk.xml.bind/share/classes/com/sun/tools/internal/xjc/reader/xmlschema/parser/CustomizationContextChecker.java 2015-10-22 23:51:04.000000000 +0200 +++ new/src/jdk.xml.bind/share/classes/com/sun/tools/internal/xjc/reader/xmlschema/parser/CustomizationContextChecker.java 2015-10-22 23:51:04.000000000 +0200 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -45,8 +45,8 @@ * Checks if binding declarations are placed where they are allowed. * *

- * For example, if a <jaxb:property> customization is given under - * the <xs:simpleContent> element, this class raises an error. + * For example, if a {@code } customization is given under + * the {@code } element, this class raises an error. * *

* our main checkpoint of misplaced customizations are in BGMBuilder. @@ -60,7 +60,7 @@ * *

* For example, a property customization is allowed on a complex type - * schema component, but it's only allowed on the <complexType> + * schema component, but it's only allowed on the {@code } * element. The spec team informed us that they would consider resolving * this discrepancy in favor of RI, but meanwhile we need to detect * errors correctly. @@ -94,9 +94,9 @@ * of that type. * *

- * For simple types, customizations are allowed only under the <xs:simpleType> + * For simple types, customizations are allowed only under the {@code } * element, and for complex types they are allowed only under the - * <xs:cimplexType> element. + * {@code } element. * *

* So the bottom line is that it would be suffice if we just make sure