1) XML Error: A semi colon character was expected. Error processing resource –

Error Description:

While  viewing  the xml file in a web browser, sometimes an error "A semi colon character was expected." Occurs.

Example of a  XML snippet  that throws this error:

<NODES>

<NODE Caption="Ext Link" Link Name="http://google.com/ccc?key=0AEeVE& hl=en" />

</NODES>

Reason:

This occurs when using external links on the XSLT sheet which contains the character “&”.

Solution:

The work around is to simply replace every instance of & in the link with &amp;

<NODES>

<NODE Caption="Ext Link" Link Name="http://google.com/ccc?key=0AEeVE&amp;hl=en" />

</NODES>

13 Responses to XML Error- A semi colon character was expected. Error processing resource –

  1. Anonymous Says:
  2. This post was useful and it saved my time.

     
  3. Anonymous Says:
  4. Brilliant, thanks you saved me hours of messing about.

     
  5. Anonymous Says:
  6. thanks dude.. helped allot

     
  7. Anonymous Says:
  8. i dont have a node. so where to i change it?

     
  9. Anonymous Says:
  10. brilliant! many thanks to you.

     
  11. Anonymous Says:
  12. Thank you very much!!

     
  13. Anonymous Says:
  14. Very helpful information. THX a lot.

     
  15. Anonymous Says:
  16. very helpful

     
  17. Anonymous Says:
  18. +++++++

     
  19. Anonymous Says:
  20. Again - you are a really nice guy - many thanks for the time saved

     
  21. Anonymous Says:
  22. Thanks man. Quick and easy solution that I would have spent hours messing around with. Big help.

     
  23. Joel John Says:
  24. Brilliant! Thanks!

     
  25. Anonymous Says:
  26. Excellent Post........Keep posting Man

     

Post a Comment