Question

I am using the Cobol XML Parser to parse an xml document that originated from the HFS (USS) file system through batch JCL.

My problem is that the XML Parser is returning "XML DOCUMENT ERROR 0000000317" which seems to be an encoding issue.

Does anyone know how to get past this?

Thanks

Was it helpful?

Solution

You will need to ensure that the encoding tag on the XML declaration is valid and agrees with what the actual document is. You will also need to make sure that the LPAR you are running on has the proper code page conversions defined in Unicode Conversion Services for z/OS.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top