on 12-18-2006 4:09 PM
Hi guys,
I am using
DocumentBuilder builder = DocumentBuilderFactory.newInstance().newDocumentBuilder();
xml = builder.parse(DocuContent.getInputStream());
But I got
com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: Unsupported character: 6e(:main:, row:1, col:1682)(:main:, row=1, col=1682) -> com.sap.engine.lib.xml.parser.ParserException: Unsupported character: 6e(:main:, row:1, col:1682)
What would be the problem, is something wrong with my XML data?
Thanks for ur hint!
Reg.
Liying
Hi Liying,
it seems that with UTF-8 encoding you have some problem with characters like this:
ä(E4), ü(FC). ecc
Hope this help
Francesco
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Liying,
Can you paste the xml here.
On seeing the error message, I could understand that your xml document is not well formed. Cross check the start and the end tags of each and every nesting level.
Regards.
Praveen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Praveen ,
here is my XML:
I can not open it online: I got the error:
Die XML-Seite kann nicht angezeigt werden
Die XML-Eingabe kann nicht angezeigt werden, wenn Stylesheet XSL verwendet wird. Beheben Sie den Fehler und klicken Sie dann auf Aktualisieren, oder wiederholen Sie den Vorgang später.
-
-
Im Textinhalt wurde ein ungültiges Zeichen gefunden. Fehler beim Bearbeiten der Ressource 'http://mira03.iv.brnet.int:50100...
<?xml version="1.0" encoding="utf-8"?><templateConfig templateId="br_project_template" rootpath="/room_extensions/c...
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.