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 bu...@apache.org on 2001/11/23 17:18:40 UTC

DO NOT REPLY [Bug 5052] New: - Parser does not recognise non-deterministic content models

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5052>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5052

Parser does not recognise non-deterministic content models

           Summary: Parser does not recognise non-deterministic content
                    models
           Product: Xerces2-J
           Version: 2.0.0 [beta 2]
          Platform: Other
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: SAX
        AssignedTo: xerces-j-dev@xml.apache.org
        ReportedBy: alexb@griffinbrown.co.uk


Parsing this with SAXParser (Xerces-2_0_0beta3), 

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE c [
<!ELEMENT a EMPTY>
<!ELEMENT c (a?,b?,a)>
]>
<c><a/></c>

The declaration of an ambiguous content model (element c) is not reported by a 
call to a methid in the registered ErrorHandler. According to the 
recommendation (S3.2.1) this is an error.

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