🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.misc
Article #3060

Is specific format required for XML that is parsed

#3060
From: Rajiv
Date: Fri, 04 Oct 2002 11:27
48 lines
1759 bytes
Does the XML parser requires the XML to be in any particular format
for it to parse. I use a java program to parse an XML using IBM
parser. I cannot give two consecutive closing element tags in a single
line for the parser to function properly

<one>
<two>
<three>
<four>No FOUR</four>
</three>
</two>
</one>

or
<one>
<two>
<three>
<four>No FOUR</four>
</three>
</two>
</one>

or
<one>
<two>
<three>
<four>No FOUR</four> </three> </two>
</one>

The above work fine. Note there is a space between the closing tags if
they are in the same line

and 
<one>
<two>
<three>
<four>No FOUR</four></three></two>
</one>

this one stops extracting the values once it reaches the closing tag
<four>.

All I'm able to conclude is that if there the space between two
closing elements in the same line or two closing tags in different
line work fine.

Kinldy help me solving this.
Technical Details
Message-ID: <8607a791.0210040327.30f77204@posting.google.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.misc.mbox.zip!archiver1.google.com!postnews1.google.com!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <8607a791.0210040327.30f77204@posting.google.com>
Subject: Is specific format required for XML that is parsed
Date: Fri, 04 Oct 2002 11:27:46 +0000
From: rajiv_vijar@rediffmail.com (Rajiv)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.misc.mbox.zip!archiver1.google.com!postnews1.google.com!not-for-mail
Newsgroups: news.software.misc
Organization: http://groups.google.com/
Lines: 47
NNTP-Posting-Host: 202.54.66.98
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1033730866 31873 127.0.0.1 (4 Oct 2002 11:27:46 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 4 Oct 2002 11:27:46 GMT