You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by Neeraj Bajaj <Ne...@Sun.COM> on 2002/05/22 20:36:05 UTC

New feature warn-on-duplicate-entitydef

Hi All,
		
As per XML 1.0 spec	http://www.w3.org/TR/REC-xml#sec-entity-decl
If the same entity is declared more than once, the first declaration
encountered is binding; at user option, an XML processor may issue a warning if 
entities are declared multiple times. The duplicate entity declarations are silently 
ignored. Also SAX requires only effective (first) declaration for each 
entity(external/internal) to be reported to the appliation. 
						
I have added a feature http://apache.org/xml/features/warn-on-duplicate-entitydef
when set to "true" reports warning to the application for duplicate entity 
declarations.  This feature works for both validating & non-validating parser 
configurations. By default the value of this feature is set to false. So there wont 
be any change in the behavior of parser unless this feature is set to "true"

Thanks,

Neeraj




---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org