File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
XML and Related Technologies
Joined: Jun 22, 2012
Mar 25, 2013 05:11:51
<?xml version="1.0" encoding="UTF-8"?> <ttts Rule="" IIOPPort="xxxx" IPAddr="127.0.0.1"> <ttts> <job id="xxxxxxxx">Hi</job> </ttts> root.xml:6:1: XML document structures must start and end within the same entity.
Any idea, please?
Joined: Jul 30, 2006
Apr 09, 2013 04:28:22
As per the 6 Rules of Well-formed XML, the first rule states:
There must be a single root element and All other elements are nested inside the root element.
And from your example, your root element is not having end tag. The correct code is:
<?xml version="1.0" encoding="UTF-8"?> <ttts Rule="" IIOPPort="xxxx" IPAddr="127.0.0.1"> <ttts> <job id="xxxxxxxx">Hi</job> </ttts> </ttts>
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: Error XML
How to convert CLOB to UTF8
How to convert CLOB to UTF8 stream in java.
possibalities of getting job,after compleetingthe IBM xml(141) certificate exam.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014