RE: [xsl] SAXON and UTF-8

Subject: RE: [xsl] SAXON and UTF-8
From: "Julian Reschke" <julian.reschke@xxxxxx>
Date: Thu, 27 Sep 2001 18:21:23 +0200
Michael:

> cat foo.xml
<foo/>

> od -cx foo.xml
0000000 357 273 277   <   f   o   o   /   >  \r  \n  \r  \n  \0
        bbef 3cbf 6f66 2f6f 0d3e 0d0a 000a
0000015

> saxon foo.xml identity.xslt
Error on line 1 column 5 of file:/c:/xyz/foo.xml:
  Error reported by XML parser: required character (found "?") (expected
"<")
Transformation failed: run-time errors were reported

> saxon --version
Unknown option --version
SAXON 6.4.3 from Michael Kay

(the file is accepted by MSXML).

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Michael Kay
> Sent: Thursday, September 27, 2001 6:07 PM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: RE: [xsl] SAXON and UTF-8
>
>
> > The original document was too large to quote, but here's an
> > example that
> > triggers the same error in SAXON:
> >
> > <?xml version="1.0"?>
> > <a>ä</a>
> >
>
> I need to know what the first few bytes look like in hex.
>
> Mike Kay
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread