W3C home > Mailing lists > Public > w3c-ietf-xmldsig@w3.org > April to June 2001

Schema definition for <Transform>

From: Gregor Karlinger <gregor.karlinger@iaik.at>
Date: Mon, 2 Apr 2001 15:18:01 +0200
To: "Joseph M. Reagle Jr." <reagle@w3.org>
Cc: "XML" <w3c-ietf-xmldsig@w3.org>
Message-ID: <NDBBIMACDKCOPBLEJCCDAEINDFAA.gregor.karlinger@iaik.at>
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 GMT

This archive was generated by hypermail 2.2.0 + w3c-0.29 : Thursday, 13 January 2005 12:10:12 GMT