xml-xalan-j-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oscar Usifer" <oscaru...@programmer.net>
Subject Re: Input '&' symbol causing SystemID Unknown error
Date Wed, 16 Sep 2009 00:03:05 GMT
OK, I see I will need to address the less than symbol as well, based on what was said in the
spec.

Thanks


> ----- Original Message -----
> From: keshlam@us.ibm.com
> To: "Oscar Usifer" <oscaruser@programmer.net>
> Cc: xalan-j-users@xml.apache.org
> Subject: Re: Input '&' symbol causing SystemID Unknown error
> Date: Mon, 14 Sep 2009 20:07:47 -0400
> 
> 
> Ampersand is a reserved character in XML. See the XML Recommendation for a
> description of how Entity References and Character References work; to
> express an ampersand as a character, you must escape it as '#', 'or
> '' or via the predefined entity  '&'.
> 
> (Or, in text content of elements, you can use a <![CDATA[]]> section. But
> I strongly recommend against going that route; in the long run it will
> almost certainly cause you more trouble than it will solve.)
> 


-- 
An Excellent Credit Score is 750 
See Yours in Just 2 Easy Steps!


Mime
View raw message