- From: John Boyer <JBoyer@PureEdge.com>
- Date: Wed, 11 Apr 2001 09:25:59 -0700
- To: "merlin" <merlin@baltimore.ie>
- Cc: "IETF/W3C XML-DSig WG" <w3c-ietf-xmldsig@w3.org>
Hi Merlin, Sorry, in haste I was thinking of XPath, where you have to put the namespace declarations in the XPath element (or any ancestor such as the Transform element) because the content is an XPath expression, not XML. For the XSLT transform, you don't need to put the xsl namespace declaration in the Transform element because the XSL stylesheet is itself XML and can therefore declare its own namespace (as Gregor showed, had I gone down a little further). So, sure you are right that it is safe to disallow specification of the xsl namespace from the content model of the Transform itself. John -----Original Message----- From: merlin [mailto:merlin@baltimore.ie] Sent: Tuesday, April 10, 2001 10:23 AM To: John Boyer Cc: Gregor Karlinger; Joseph M. Reagle Jr.; Ed Simon; w3c-ietf-xmldsig@w3.org Subject: Re: AW: Schema definition for <Transform> Hi John, I don't understand.. Is this for a technical reason, or is it simply accepted practice? I ask because when I use the DOM to form a namespaced document and when I then serialize it, namespace attributes only appear where evoked, not in anticipation of their evocation as you describe. Thanks, Merlin r/JBoyer@PureEdge.com/2001.04.10/09:26:20 >Hi Merlin, Gregor and Joseph, > >Please note that the Transform is also the most likely place to define >the xmlns:xsl namespace attribute. > >Thanks, >John Boyer >Senior Product Architect, Software Development >Internet Commerce System (ICS) Team >PureEdge Solutions Inc. >Trusted Digital Relationships >v: 250-708-8047 f: 250-708-8010 >1-888-517-2675 http://www.PureEdge.com <http://www.pureedge.com/> > > > >-----Original Message----- >From: merlin [mailto:merlin@baltimore.ie] >Sent: Tuesday, April 10, 2001 2:26 AM >To: Gregor Karlinger >Cc: Joseph M. Reagle Jr.; Ed Simon; w3c-ietf-xmldsig@w3.org >Subject: Re: AW: Schema definition for <Transform> > > > >I'm with Gregor. I think that the text should be something along >the lines of: > >The normative specification for XSL Transformations is [XSLT]. >The XSL transformation is encoded within a namespace-qualified ><code>stylesheet</code> element which MUST be the sole transform >parameter child element. > >I.e: > ><Transform xmlns="&dsig;" Algorithm="&xslt;"> > <xsl:stylesheet xmlns:xsl="&xslt;" ...> > ... > </xsl:stylesheet> ></Transform> > >Next paragraph, typo "covert" -> "convert". > >Next paragraph, typo "to perform canonicalize" -> "to c10e". > >Merlin > >r/gregor.karlinger@iaik.at/2001.04.10/10:35:58 >>Joseph, >> >>> Ok, the actual element type in the dsig namespace has now been >>> removed from >>> the spec, dtd, and xsd, though the text still reads: >>> >>> >http://www.w3.org/Signature/Drafts/xmldsig-core/Overview.html#sec-XSLT >>> The normative specification for XSL Transformations is [XSLT]. >>> The XSL style >>> sheet or transform to be evaluated appears as the character content >of a >>> transform parameter child element named XSLT. >> >>What does "character content" mean? Should the XSL stylesheet markup be >>encoded in some fashion in order that it can be inserted as text? >Otherwise >>appearance as character content of a "XSLT" Element is invalid. >> >>What is the namespace for the "XSLT" element? >> >>> The root element of a XSLT >>> style sheet within a Transform element should SHOULD be a namespace >>> qualified <stylesheet> element. >> >>Liebe Gruesse/Regards, >>--------------------------------------------------------------- >>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 >>--------------------------------------------------------------- >> >> >> > > >----------------------------------------------------------------------- - >----- >Baltimore Technologies plc will not be liable for direct, special, >indirect >or consequential damages arising from alteration of the contents of >this >message by a third party or as a result of any virus being passed on. > >In addition, certain Marketing collateral may be added from time to time >to >promote Baltimore Technologies products, services, Global e-Security or >appearance at trade shows and conferences. > >This footnote confirms that this email message has been swept by >Baltimore MIMEsweeper for Content Security threats, including >computer viruses. > http://www.baltimore.com > > >
Received on Wednesday, 11 April 2001 12:26:33 UTC