XML problem with '&'. I am having a problem with XML. Whenever one of my xml files had some data in it that contains an '&', for example <tag> keyboard & mouse </tag> the xgen code throws an exceptions stating that the reference cannot be found. When it hits the '&' it thinks that the value 'mouse' is a reference.

Roseanne Zhang

use &amp; instead. This should be used everywhere except you really have an entity reference. It applies to html, xhtml, xml, etc.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact