Seth Ladd wrote:
>
> Hello,
>
> I've just checked out the latest source of xerces-j from CVS, and built
> it. I then used to to create a DOM out of a simple XML file. In that
> file I have standard XML entities embedded in the text between tags. It
> seems that the xerces parser is ripping out the entity and everything
> after that to the newline.
>
> For example,
>
> <tag>this is my text & and here is some more</tag>
>
> renders itself as
>
> 'this is my text'
>
> when I get it from the DOM.
>
> Is this a known bug or am I doing something wrong? Any help would be
> appreciated. I ran into this with the 1.0 zip file from the web site,
> and I was told it was fixed in CVS.
>
> Thanks for your time and help,
> Seth
I never had that problem w/ Xerces-J. The only thing is that it returns
multiple text nodes, but that's 100% compliant to the spec.
When you process the children of <tag> are you sure you get ALL children
nodes of the Element?
Pier