MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

XML parser error

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
sraj
Beginner


Joined: 08 Aug 2006
Posts: 10
Topics: 4

PostPosted: Mon May 12, 2008 6:44 am    Post subject: XML parser error Reply with quote

I'm getting the below mentioned XML parsing error, for the example program mentioned in the manual.

Cobol version - ENTERPRISE COBOL FOR Z/OS 3.4.1

Where can I find details about this XML error? Any suggestion to fix the root cause of this problem?

---------------------------------------------------------------------

Neb1 ford XML Example

-------------------------------------------------------------------------
Excerpt of the xml document from the manual
1 xml-document.
2 pic x(39) value '<?xml version="1.0" encoding="ibm-1140"'.
2 pic x(19) value ' standalone="yes"?>'.

------------------------------------------------------------------------
Excerpt of the error
START OF DOCUMENT
EXCEPTION 000000012 AT OFFSET 006.
XML EVENT: EXCEPTION .
XML TEXT: <?XML .
XML DOCUMENT ERROR 000000012
--------------------------------------------------------------------------
Back to top
View user's profile Send private message
Nic Clouston
Advanced


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Mon May 12, 2008 7:20 am    Post subject: Reply with quote

Internet Explorer cannot find www.neb1.ford.com

I would suggest that you can find details in the COBOL manual to start with
_________________
Utility and Program control cards are NOT, repeat NOT, JCL.
Back to top
View user's profile Send private message
sraj
Beginner


Joined: 08 Aug 2006
Posts: 10
Topics: 4

PostPosted: Mon May 12, 2008 8:02 am    Post subject: Reply with quote

Here is the link to the example in the manual.

XML Example


___________________________________________
XML was in upper case instead of lower case, so I was getting that XML parsing error.

___________________________________________
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Mon May 12, 2008 3:27 pm    Post subject: Reply with quote

sraj,

You need to post the error messages you are getting.

Kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
sraj
Beginner


Joined: 08 Aug 2006
Posts: 10
Topics: 4

PostPosted: Tue May 13, 2008 6:31 am    Post subject: Reply with quote

kolusu wrote:
sraj,

You need to post the error messages you are getting.

Kolusu


------------------------------------------------------------------------
Excerpt of the error
START OF DOCUMENT
EXCEPTION 000000012 AT OFFSET 006.
XML EVENT: EXCEPTION .
XML TEXT: <?XML .
XML DOCUMENT ERROR 000000012
--------------------------------------------------------------------------

___________________________________________
Contents of XML document was in upper case instead of lower case, so I was getting that XML parsing error(EXCEPTION 000000012).

___________________________________________
Back to top
View user's profile Send private message
Nic Clouston
Advanced


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Tue May 13, 2008 7:26 am    Post subject: Reply with quote

messages - especially error messages - usually have a message id. This is needed so that people can look up the appropriate messages manual.

However, I believe you fixed the problem - a point that Kolusu missed because it looks like your signature.
_________________
Utility and Program control cards are NOT, repeat NOT, JCL.
Back to top
View user's profile Send private message
Cogito-Ergo-Sum
Advanced


Joined: 15 Dec 2002
Posts: 637
Topics: 43
Location: Bengaluru, INDIA

PostPosted: Fri May 30, 2008 11:54 am    Post subject: Reply with quote

Don't mean to nit-pick but....

Actually, the part about the contents of the document being in upper case is not really accurate as tags and data can be in any case. But, the opening part of the document
Code:
<?xml version="1.0"?>
should be in lower case.
_________________
ALL opinions are welcome.

Debugging tip:
When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
-- Sherlock Holmes.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group