Schema definition for <Transform>

Joseph,

I think there is an error in the current ([1],[2]) Schema definition for
the Transform element, to be more precisely, the problem is with
the type defintion of the XSLT child:

  <element name="XSLT" type="string"/>

Since the element XSLT is defined as a simple type "string", it is a
kind of character data. This means, that 

  "The ampersand character (&) and the left angle bracket (<) may 
   appear in their literal form only when used as markup delimiters"
   (see [3])

This contradicts with the verbal description of the XSLT Transform ([4]):

  "The XSL style sheet or transform to be evaluated appears as the 
   character content of a transform parameter child element named XSLT. 
   The root element of a XSLT style sheet SHOULD be <xsl:stylesheet>.",

since markup such as <xsl:stylesheet> is not allowed for the string type.

Am I missing something here?

---

[1] http://www.w3.org/Signature/Drafts/xmldsig-core/#sec-Transforms
[2] http://www.w3.org/TR/xmldsig-core/#sec-Transforms
[3] http://www.w3.org/TR/2000/WD-xml-2e-20000814#syntax
[4] http://www.w3.org/TR/xmldsig-core/#sec-XSLT

Regards, Gregor
---------------------------------------------------------------
DI Gregor Karlinger
mailto:gregor.karlinger@iaik.at
http://www.iaik.at
Phone +43 316 873 5541
Institute for Applied Information Processing and Communications
Austria
---------------------------------------------------------------
 

Received on Monday, 2 April 2001 09:12:39 UTC