sandygao 2003/01/23 08:04:13 Modified: java/src/org/apache/xerces/impl/xs/traversers XSDNotationTraverser.java Log: Pulling out the change for schema erratum E-16: The JAXP JCK is not updated for this erratum, but we need to pass it before the release. Will put the change back when the TCK is updated. Revision Changes Path 1.7 +5 -1 xml-xerces/java/src/org/apache/xerces/impl/xs/traversers/XSDNotationTraverser.java Index: XSDNotationTraverser.java =================================================================== RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/impl/xs/traversers/XSDNotationTraverser.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- XSDNotationTraverser.java 6 Dec 2002 14:53:49 -0000 1.6 +++ XSDNotationTraverser.java 23 Jan 2003 16:04:13 -0000 1.7 @@ -104,6 +104,10 @@ return null; } + if (publicAttr == null) { + reportSchemaError("src-notation", new Object[]{"<notation> must have 'public' attribute"}, elmNode); + } + XSNotationDecl notation = new XSNotationDecl(); notation.fName = nameAttr; notation.fTargetNamespace = schemaDoc.fTargetNamespace;
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]