W3C home > Mailing lists > Public > public-xml-core-wg@w3.org > April 2009

Saxon vs. xml-stylesheet tests

From: Henry S. Thompson <ht@inf.ed.ac.uk>
Date: Thu, 16 Apr 2009 15:36:17 +0100
To: public-xml-core-wg@w3.org
Message-ID: <f5b7i1koece.fsf@hildegard.inf.ed.ac.uk>
I've looked at the following cases, with the indicated results
(the input in all cases is well-formed):
-----

PI with spurious attribute  : attribute ignored, processed normally
PI with extra string        : string ignored, processed normally
PI with extra x=            : x= ignored, processed normally
PI with x=" after href attr : x=" ignored, processed normally

-----

PI with no href attr         : Transformation failed: [PI missing href attr]
PI with x=" before href attr :    "

-----

PI with no attributes            :  Transformation failed: [no xml-ss PI found]
PI with empty type attribute     :     "
PI with type="text/banana"       :     "
PI with type="text/css"          :     "

-----

PI with href="[non-existent doc't]"    :  Transformation failed: [no input]
PI with href="[empty doc't]"           :     "
PI with href="[404 URI]"               :     "

-----

PI with href="xyzzy:xxx" :  Transformation failed: [malformed URI]

-----

For those interested, the test data is attached in a gzipped tar file.

ht



-- 
       Henry S. Thompson, School of Informatics, University of Edinburgh
                         Half-time member of W3C Team
      10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
                Fax: (44) 131 651-1426, e-mail: ht@inf.ed.ac.uk
                       URL: http://www.ltg.ed.ac.uk/~ht/
[mail really from me _always_ has this .sig -- mail without it is forged spam]


Received on Thursday, 16 April 2009 14:36:54 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 16 April 2009 14:36:54 GMT