You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by sa...@apache.org on 2002/12/06 15:53:49 UTC
cvs commit: xml-xerces/java/src/org/apache/xerces/impl/xs/traversers XSDNotationTraverser.java
sandygao 2002/12/06 06:53:49
Modified: java/src/org/apache/xerces/impl/xs/traversers
XSDNotationTraverser.java
Log:
Fix for errata E1-16: the "public" attribute of <xs:notation> is optional.
Revision Changes Path
1.6 +1 -5 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.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- XSDNotationTraverser.java 15 Feb 2002 22:08:48 -0000 1.5
+++ XSDNotationTraverser.java 6 Dec 2002 14:53:49 -0000 1.6
@@ -104,10 +104,6 @@
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: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org