W3C home > Mailing lists > Public > www-validator@w3.org > May 2009

<?xml-stylesheet>

From: Dag-Erling Smørgrav <des@des.no>
Date: Tue, 26 May 2009 16:18:02 +0200
To: www-validator@w3.org
Message-ID: <867i04q76t.fsf@ds4.des.no>
The following is an XML document (DocBook, to be precise) with an
<?xml-stylesheet> PI that points to an XSLT stylesheet that transforms
it to XHTML:

http://xml.des.no/docbook/on-the-fly/

When you click the "Valid XHTML 1.0!" icon at the bottom, the validator
happily announces that it is a valid DocBook 4.5 document (interesting -
did it actually validate the document against the DocBook DTD?).  What I
would like it to do, instead, is apply the stylesheet and validate the
result.

Is this something you would be willing to implement?

Of course, there would have to be some form of protection against
runaway stylesheets...

DES
-- 
Dag-Erling Smørgrav - des@des.no
Received on Wednesday, 27 May 2009 07:23:46 GMT

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