--- old/src/jdk.xml.bind/share/classes/com/sun/tools/internal/xjc/reader/internalizer/Internalizer.java 2015-10-16 12:59:28.000000000 +0200 +++ new/src/jdk.xml.bind/share/classes/com/sun/tools/internal/xjc/reader/internalizer/Internalizer.java 2015-10-16 12:59:28.000000000 +0200 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2014, 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 @@ -79,7 +79,7 @@ private final XPath xpath; /** - * Internalize all <jaxb:bindings> customizations in the given forest. + * Internalize all {@code } customizations in the given forest. * * @return * if the SCD support is enabled, the return bindings need to be applied @@ -142,32 +142,6 @@ } /** - * Validates attributes of a <jaxb:bindings> element. - */ - private void validate( Element bindings ) { - NamedNodeMap atts = bindings.getAttributes(); - for( int i=0; i node specifies @scd to + * If the ancestor {@code } node specifies @scd to * specify the target via SCD, then this parameter represents that context. */ private void buildTargetNodeMap( Element bindings, @NotNull Node inheritedTarget, @@ -187,7 +161,8 @@ Node target = inheritedTarget; ArrayList targetMultiple = null; - validate(bindings); // validate this node + // validate this node ? + // validate(bindings); boolean required = true; boolean multiple = false; @@ -441,11 +416,11 @@ * Moves the "decl" node under the "target" node. * * @param decl - * A JAXB customization element (e.g., <jaxb:class>) + * A JAXB customization element (e.g., {@code }) * * @param target * XML Schema element under which the declaration should move. - * For example, <xs:element> + * For example, {@code } */ private void moveUnder( Element decl, Element target ) { Element realTarget = forest.logic.refineTarget(target);