cancel
Showing results for 
Search instead for 
Did you mean: 

Error: com.sap.engine.lib.xml.parser.NestedSAXParserException

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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