Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error XML

 
Isaac Ferguson
Ranch Hand
Posts: 835
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi



Any idea, please?

Thanks
 
Vijaya Raghava
Ranch Hand
Posts: 37
Java Spring Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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:



Regards,
Raghava.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic