W3C home > Mailing lists > Public > www-validator@w3.org > July 2001

Re: xml-stylesheet PI

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Wed, 25 Jul 2001 22:45:04 +0200
To: Karl Dubost <karl@w3.org>
Cc: www-validator@w3.org
Message-ID: <qqbultkjc9us9p240r9amrm9r0pfqrmnck@4ax.com>
* Karl Dubost wrote:
>But the Recommendation Associating stylesheets with XML documents [2] says:
>
>........
>The xml-stylesheet processing instruction is allowed only in the 
>prolog of an XML document. The syntax of XML constrains where 
>processing instructions are allowed in the prolog; the xml-stylesheet 
>processing instruction is allowed anywhere in the prolog that meets 
>these constraints.
>........
>
>So when the document is passed to the HTML validator [3], it is valid 
>against the XHTML 1.1 DTD but not against this Recommendation [2]. I 
>don't know if it's something the HTML Validator should check in the 
>future.

It's something we cannot check, at least currently not. It's not
possible to express this constraint in terms of XML DTDs. Even worse,
SP, the SGML parser the Validator currently uses, has even more
limitiations in it's XML support, see http://www.jclark.com/sp/xml.htm

We are, however, working on that :)
-- 
Björn Höhrmann { mailto:bjoern@hoehrmann.de } http://www.bjoernsworld.de
am Badedeich 7 } Telefon: +49(0)4667/981028 { http://bjoern.hoehrmann.de
25899 Dagebüll { PGP Pub. KeyID: 0xA4357E78 } http://www.learn.to/quote/
Received on Wednesday, 25 July 2001 16:46:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:13:59 GMT