W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > February 2008

Naming of p:declare-step

From: Jeni Tennison <jeni@jenitennison.com>
Date: Thu, 14 Feb 2008 12:51:59 +0000
Message-ID: <47B4396F.8080302@jenitennison.com>
To: public-xml-processing-model-wg@w3.org


I'm really sorry to bring this up, and if people shout at me I'll go 
away, but it just struck me that now that p:declare-step has such 
prominence now we really ought to give it a better name.

In XSLT, we don't have <xsl:declare-template> or 
<xsl:declare-decimal-format>, we have <xsl:template> and 
<xsl:decimal-format>. In XSD, we don't have <xs:defineComplexType> or 
<xs:declareElement>, we have <xs:complexType> and <xs:element>.

So let's rename <p:declare-step> as p:step or p:step-type or p:step-kind 
-- the important thing is what we're declaring, not the fact that we're 
declaring it.


Jeni Tennison
Received on Thursday, 14 February 2008 12:52:11 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:32:45 UTC