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 2002/08/23 23:03:34 UTC

DO NOT REPLY [Bug 11991] New: - [P62] VC: Proper Conditional Section/PE Nesting validation failure

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=11991>.
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=11991

[P62] VC: Proper Conditional Section/PE Nesting validation failure

           Summary: [P62] VC: Proper Conditional Section/PE Nesting
                    validation failure
           Product: Xerces2-J
           Version: 2.0.2
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Other
        AssignedTo: xerces-j-dev@xml.apache.org
        ReportedBy: nddelima@ca.ibm.com


As per my understanding, the following test fails [62] Validity constraint: 
Proper Conditional Section/PE Nesting

If any of the "<![", "[", or "]]>" of a conditional section is contained in the 
replacement text for a parameter-entity reference, all of them must be 
contained in the same replacement text.


test.xml
<?xml version="1.0" ?>
<!DOCTYPE root SYSTEM "test.ent">
<root></root>

test.ent
<!ENTITY % ent "INCLUDE[">
<!ELEMENT root (#PCDATA)>
<![ %ent; <!-- Comment -->  ]]>

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