You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by ve...@apache.org on 2003/11/03 12:02:43 UTC
cvs commit: xml-xerces/java/src/org/apache/xerces/impl/dtd XMLDTDValidator.java
venu 2003/11/03 03:02:43
Modified: java/src/org/apache/xerces/impl/dtd XMLDTDValidator.java
Log:
Description : When attribute is not declared , mark the attribute type to null.
Refer TypeInfo interface DOM core L3 spec.
Revision Changes Path
1.52 +2 -1 xml-xerces/java/src/org/apache/xerces/impl/dtd/XMLDTDValidator.java
Index: XMLDTDValidator.java
===================================================================
RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/impl/dtd/XMLDTDValidator.java,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -r1.51 -r1.52
--- XMLDTDValidator.java 21 Aug 2003 20:41:49 -0000 1.51
+++ XMLDTDValidator.java 3 Nov 2003 11:02:43 -0000 1.52
@@ -1289,6 +1289,7 @@
"MSG_ATTRIBUTE_NOT_DECLARED",
args,XMLErrorReporter.SEVERITY_ERROR);
}
+ attributes.setType(i, null);
continue;
}
// attribute is declared
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org