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/02/17 21:19:39 UTC
[Bug 633] New - SAX 2.0 DTD Parsing report incorrect content models
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=633
*** shadow/633 Sat Feb 17 12:19:39 2001
--- shadow/633.tmp.22128 Sat Feb 17 12:19:39 2001
***************
*** 0 ****
--- 1,29 ----
+ +============================================================================+
+ | SAX 2.0 DTD Parsing report incorrect content models |
+ +----------------------------------------------------------------------------+
+ | Bug #: 633 Product: Xerces-J |
+ | Status: NEW Version: unspecified |
+ | Resolution: Platform: All |
+ | Severity: Critical OS/Version: All |
+ | Priority: Component: SAX |
+ +----------------------------------------------------------------------------+
+ | Assigned To: xerces-j-dev@xml.apache.org |
+ | Reported By: gmessner@breezefactor.com |
+ | CC list: Cc: |
+ +----------------------------------------------------------------------------+
+ | URL: |
+ +============================================================================+
+ | DESCRIPTION |
+ When using SAX2 to parse a DTD the parser reports the content model incorrectly
+ to to elemDecl() when the content model begins with a group, as follows:
+
+ <!ELEMENT Fruit ((apple | pear | banana) | (orange | grapefruit | clementine)
+ | (strawberry | raspberry | blueberry))>
+
+ The model is incorrectly reported as follows:
+
+ apple | pear | banana | (orange | grapefruit | clementine) | (strawberry |
+ raspberry | blueberry)
+
+ Notice the first group, "apple | pear | banana" is no longer grouped with
+ parens.