Re: Input '&' symbol causing SystemID Unknown error

"Oscar Usifer" <[email protected]>
Newsgroups gmane.text.xml.xalan.java.user
Message-ID <[email protected]>
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: [email protected]
> To: "Oscar Usifer" <[email protected]>
> Cc: [email protected]
> 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!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.