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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]