Re: Input '&' symbol causing SystemID Unknown error

[email protected]
Newsgroups gmane.text.xml.xalan.java.user
Message-ID <OF0D1B411F.B88A2791-ON85257632.00000633-85257632.00007D70@lotus.com>
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 '&#35;', 'or 
&#x27;' or via the predefined entity  '&amp;'. 

(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.)


______________________________________
"... Three things see no end: A loop with exit code done wrong,
A semaphore untested, And the change that comes along. ..."
  -- "Threes" Rev 1.1 - Duane Elms / Leslie Fish (
http://www.ovff.org/pegasus/songs/threes-rev-11.html)
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.