on 09-12-2006 10:51 AM
Hello guys,
I want to parser the following XML data:
<pcdRequest>
<ROOTFOLDER type="FOLDER" name="RootFolder">
<ROLE1 type="ROLE" name="role1">
<VIEW1 type="IVIEW" name="iview1"/>
<FOLDER1 type="FOLDER" name="folder1"/>
<PAGE1 type="PAGE" name="page1">
<VIEW2 type="IVIEW" name="iview2"/>
</PAGE1>
</ROLE1>
</ROOTFOLDER>
</pcdRequest>
I used
javax.xml.parsers.DocumentBuilder builder = DocumentBuilderFactory.newInstance().newDocumentBuilder();
Document xml = builder.parse(request.getRequestInputStream());
when the code "Document xml = builder.parse(request.getRequestInputStream());"
is executed, I got the error like this:
com.sap.engine.lib.xml.parser.NestedSAXParserException: com.sap.engine.lib.xml.parser.ParserException: Name expected: 0x0(:main:, row:1, col:132)(:main:, row=1, col=132) -> com.sap.engine.lib.xml.parser.ParserException: Name expected: 0x0(:main:, row:1, col:132)
What does this message mean?
Regards,
Liying
Hi,
I am also getting the same error.If u solve this problem, Send the details how u resolve this one. My email-id : veeran.sap@gmail.com
Thanks
Anjan P
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.