#9 Rejects DOCTYPE

closed-fixed
Yuval Oren
None
5
2004-07-11
2002-07-11
Michael Kay
No

Piccolo rejects the following document, which I believe
is valid XML:

<?xml version="1.0"?>
<!DOCTYPE xsl:stylesheet>
<xsl:stylesheet

xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0"/>

The message (from Saxon) is:

Error on line 2 of
file:/c:/MyJava/tests/testsuite/saxon/saxon29a.xsl:
Error reported by XML parser: Unexpected element:
TAG_END
Transformation failed: Failed to parse stylesheet

Discussion

  • Logged In: NO

    It is well-formed and shouldn't be rejected, but it
    definitely isn't valid.
    --John Cowan <cowan@ccil.org>

     
  • Yuval Oren
    Yuval Oren
    2004-07-11

    • assigned_to: nobody --> yuvalo
    • status: open --> closed-fixed
     
  • Yuval Oren
    Yuval Oren
    2004-07-11

    Logged In: YES
    user_id=479054

    This bug has been fixed in the latest release. If you find it's
    still a problem, please re-open or submit a new bug.