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 Mike Pogue <mp...@apache.org> on 2000/05/12 23:05:43 UTC

Re: Xerces parsing errors

Please read this!

	http://xml.apache.org/xerces-j/faq-common.html#faq-2

Mitch Inman wrote:
> 
> I am trying to parse an XML document using the Xerces-J 1.0.3 parser.  It
> is giving a fatal error after it
> parses character content which contains an extended ASCII character.  The
> following line is where the
> error occurs:
> 
> <persname>Pedro Menéndez de Avilés</persname>
> 
> The error that is given is as follows:
> 
> [Fatal Error] yr0101.xml:3457:109: The element type "persname" must be
> terminated by the matching end-tag "</persname>".
> [Fatal Error] yr0101.xml:3457:114: The element type "persname" must be
> terminated by the matching end-tag "</persname>".
> 
> It appears that following the "é" character, the parser is not recognizing
> the </persname> tag, and it  then issues the error
> that <persname> is not terminated by the matching end-tag.
> 
> If I remove the characters in question, the document parses successfully.
> 
> Any help with this problem would be greatly appreciated.
> 
> Mitch Inman
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-j-dev-help@xml.apache.org