A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Software Craftsman
this week in the
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
: 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.
It is sorta covered in the
JavaRanch Style Guide
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-2015