A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
REST with Spring (video course)
this week in the
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>
I agree. Here's the link:
subject: Error XML
How to convert CLOB to UTF8
possibalities of getting job,after compleetingthe IBM xml(141) certificate exam.
How to convert CLOB to UTF8 stream in java.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015