[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] U+0007


Subject: Re: [xsl] U+0007
From: "Imsieke, Gerrit, le-tex" <gerrit.imsieke@xxxxxxxxx>
Date: Fri, 22 Jan 2010 01:18:48 +0100

David, thank you. After switching to XML 1.1 it seems that the parser doesn't know about the external subset:

---------
<?xml version="1.1" encoding="UTF-8" ?>
<!DOCTYPE xsl:stylesheet [
<!ENTITY % FV SYSTEM "formatvorlagen.dtd">
%FV;
---------

The message is:

Error on line 319 column 48 of hru-ms2indd.xsl:
SXXP0003: Error reported by XML parser: The entity "pStylePat_itemizedlist1" was
referenced, but not declared.


I can get rid of these external entity declarations (or named entities at all) though.

Gerrit


On 22.01.2010 01:09, David Carlisle wrote:
On 21/01/2010 23:58, Imsieke, Gerrit, le-tex wrote:

&#9; is no problem at all, for example.


the only control characters below 32 (space) allowed in XML 1.0 are 9,10,13
in XML 1.1 (which has had very little active support anywhere) the
control characters (except for 0) are allowed as numeric references 9but
nit as character data) so if XML 1.1 support is OK you may be alright.
saxon has a command line option to activate xml 1.1 parsing.
Note that as well as selecting an XML 1.1 parser you'll need to ensure
that your stylesheet and result document specify <?xml version="1.1"

David


-- Gerrit Imsieke Geschdftsf|hrer / Managing Director le-tex publishing services GmbH Weissenfelser Str. 84, 04229 Leipzig, Germany Phone +49 341 355356 110, Fax +49 341 355356 510 gerrit.imsieke@xxxxxxxxx, http://www.le-tex.de

Registergericht / Commercial Register: Amtsgericht Leipzig
Registernummer / Registration Number: HRB 24930

Geschdftsf|hrer: Gerrit Imsieke, Svea Jelonek,
Thomas Schmidt, Dr. Reinhard Vvckler


Current Thread
Keywords
xml