Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Xml tag with special character  RSS feed

 
Manohar Chhapolia
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
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,
Manohar Chhapolia
 
Paul Clapham
Sheriff
Posts: 22185
38
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!