Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Help on search and replace

From: Jesse Hager <msnews1.10.jhager_bbear@-----------.--->
To: NULL
Date: 6/3/2004 2:04:00 PM
Hi Mikael,

Character code 4 (ASCII End Of Text EOT) is not legal in an XML document 
or (XSLT document).

 From section 2.2 of the XML spec, the only characters allowed are:

#x9 | #xA | #xD | [#x20-#xD7FF] | [#xE000-#xFFFD] | [#x10000-#x10FFFF]

Characters not in the above ranges may not appear in an XML document or 
as a character entity. So both the literal character EOT and the &#4; 
are illegal.

See:
http://www.w3.org/TR/2004/REC-xml-20040204/#charsets

You have three options:
  1. Fix the source of the XML so it only generates valid XML.
  2. Do the search and replace in some other means before the XSLT
     processor gets the file.
  3. Find an XSLT processor that can handle illegal characters in the
     XML and XSLT files. (I don't know of one)


--
Jesse Hager


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent