Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Error while parsing local languages using SAX/DOM parser.

From: Martin Honnen <mahotrash@-----.-->
To: NULL
Date: 9/15/2008 12:46:00 PM

Sidhartha wrote:
> Hi,
> I am facing a problem while parsing local language characters using
> sax parser. We use DOM to parse and SAX to read the source. But when
> our application parses strings with local language especially
> czech,polish,turkish in place of local language character some other
> word is comming.
> 
> Eg:
> Input string :ahoj, jak se máš
> Output string :ahoj, jak se m&aacute;š
> OS: Solaris.
> 
> We persist this xml in the database. This issue was not comming when
> the parser was that of IBM and os NT.The local language character is
> getting replaced by "&aacute". This causing problem when we tranlsate
> it back.Can anyone please help me.

It is rather odd that you get an XHTML entity reference '&aacute;' in 
your XML. I am not sure why that happens. Are you using XSLT for 
instance to serialize XML?

-- 

	Martin Honnen
	http://JavaScript.FAQTs.com/


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent