[ expat-Bugs-441449 ] problems with parsing external entities

noreply@sourceforge.net noreply@sourceforge.net
Sun, 15 Jul 2001 08:02:46 -0700


Bugs item #441449, was opened at 2001-07-15 08:02
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=441449&group_id=10127

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Rafael R. Sevilla (didosevilla)
Assigned to: Nobody/Anonymous (nobody)
Summary: problems with parsing external entities

Initial Comment:
I've tried to use Expat's external entity parsing
module in my project (http://xml-lit.sourceforge.net/)
and have gotten some very strange results.  I used
Expat's XML_ExternalEntityParserCreate within an
external entity reference handler and used the parser
once again.  Had mixed results with this.  For one
particular document referred to by an external entity
Expat would give an error: "no element found" at the
end of the document (line number).  Doesn't happen with
all the other documents I have.  The document was
perfectly legal XML and otherwise Expat can parse it
directly...just not through the external entity.  The
document was also quite large, so I tried to work
around it by splitting the document into several more
documents...the problem went away.  Will cruft together
a simpler example document and short program to
illustrate this problem.


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=441449&group_id=10127