A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
XML and Related Technologies
Xml tag with special character
Joined: Nov 22, 2006
Aug 13, 2010 12:24:58
I have a scenario where I get the xml (from other system, not in my control) having special character (ü) in it.
When I use it in my system, I get exception
Caused by: org.xml.sax.SAXParseException: Element type "Z" must be followed by either attribute specifications, ">" or "/>".
Where xml tag was suppose to be Zürich.
Any help will be highly appriciated.
Thanks and Regard,
Joined: Oct 14, 2005
Aug 13, 2010 14:12:18
Possibly you are not using the right encoding when you parse the document. But it's difficult to say given the code you have posted.
I agree. Here's the link:
subject: Xml tag with special character
Can not Populate the form on combo box change
MultiDimenaional Array sort
HibernateTools Generating Wrong Code
Adding pdf to a XML file
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014