Thread View: news.software.misc
1 messages
1 total messages
Started by Rajiv
Fri, 04 Oct 2002 11:27
Is specific format required for XML that is parsed
Author: Rajiv
Date: Fri, 04 Oct 2002 11:27
Date: Fri, 04 Oct 2002 11:27
48 lines
1759 bytes
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.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads