Thanks Neil. We also weren't reporting validation errors for the validity constraint: No Notation on Empty Element [1]. I've integrated your patch with fix for this other validity constraint. I made a few modifications to your patch so that the parser reports the error as soon as it encounters it instead of waiting until the end of the DTD.
[1] http://www.w3.org/TR/REC-xml#NoNotationEmpty On Fri, 7 Nov 2003, Neil Delima wrote: > A validation error is not reported for the violation of the validity > constraint: Unique Notation Name: Only one notation declaration can declare > a given Name [1]. > > <!DOCTYPE foo [ > <!ELEMENT foo ANY> > <!NOTATION one SYSTEM "file:///fil"> > <!NOTATION one SYSTEM "file:///fil"> > ]> > <foo/> > > Proposed Patch: > > (See attached file: XMLDTDProcessor.diff) (See attached file: > XMLMessages.diff) > > Thanks, > Neil Delima / IBM > > > [1] http://www.w3.org/TR/xml11/#UniqueNotationName --------------------------- Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [EMAIL PROTECTED] E-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
