Re: xml-stylesheet PI

From: Bjoern Hoehrmann (derhoermi@gmx.net)
Date: Wed, Jul 25 2001

  • Next message: Bjoern Hoehrmann: "Images in CVS"

    From: Bjoern Hoehrmann <derhoermi@gmx.net>
    To: Karl Dubost <karl@w3.org>
    Cc: www-validator@w3.org
    Date: Wed, 25 Jul 2001 22:45:04 +0200
    Message-ID: <qqbultkjc9us9p240r9amrm9r0pfqrmnck@4ax.com>
    Subject: Re: xml-stylesheet PI
    
    * 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/