xsl-list
[Top] [All Lists]

Re: [xsl] U+0007

2010-01-21 18:19:50
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

--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


--
Gerrit Imsieke
Geschäftsfü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(_dot_)imsieke(_at_)le-tex(_dot_)de, http://www.le-tex.de

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

Geschäftsführer: Gerrit Imsieke, Svea Jelonek,
Thomas Schmidt, Dr. Reinhard Vöckler

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>