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

Presence of internal subset breaks XPathAPI query

           Summary: Presence of internal subset breaks XPathAPI query
           Product: XalanJ2
           Version: 2.3
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Major
          Priority: Other
         Component: org.apache.xpath
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I have two xml documents: identical except for the presence/absence of an empty
intenal subset.

I am turning of any validation options that I can.
        parser.setFeature(
            "http://apache.org/xml/features/nonvalidating/load-external-dtd";,
            false);
        parser.setFeature(
            "http://apache.org/xml/features/nonvalidating/load-dtd-grammar";,
            false);
        parser.setFeature(
            "http://xml.org/sax/features/validation";,
            false);

The document with the internal dtd subset though fails to return results from an
XPath query.

I will try and attach java and both both xml files, otherwise email me.

Reply via email to