You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by bu...@apache.org on 2004/02/20 18:42:30 UTC

DO NOT REPLY [Bug 27119] New: - Improper handling of elements in external entities

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

Improper handling of elements in external entities

           Summary: Improper handling of elements in external entities
           Product: Xerces-C++
           Version: 2.4.0
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: DOM
        AssignedTo: xerces-c-dev@xml.apache.org
        ReportedBy: jrb@slac.stanford.edu


Depending on the setting of the 'create entity reference' flag, elements in
external entities either
 * [false]appear twice (one address when looked up by tagname, another when
looked up by ID).  
 * [true] are read-only

I have seen this behavior for both 2.4 and the brand-new 2.5 on Linux RH9 with
compiler gcc 3.2, but I suspect the bug (if it is one, and not a configuration
error on my part) is not specific to OS or compiler.
I am attaching 5 files for this report:  a test program which demonstrates the
behavior, input for it (3 files: one for dtd, one for initial input, one for
external entity), and the output.

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