This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes Error XML Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Error XML" Watch "Error XML" New topic

Error XML

Isaac Ferguson
Ranch Hand

Joined: Jun 22, 2012
Posts: 563

Any idea, please?

Vijaya Raghava

Joined: Jul 30, 2006
Posts: 27

Hello Angus,

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:

I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Error XML
jQuery in Action, 3rd edition