- From: Jeni Tennison <jeni@jenitennison.com>
- Date: Wed, 21 Mar 2007 13:46:11 +0000
- To: public-xml-processing-model-wg@w3.org
Norman Walsh wrote: > Is this legal: > > <p:pipeline-library namespace="http://example.org/" > xmlns:ex="http://example.org/"> > <p:pipeline name="bar"> > ... > </p:pipeline> > > <p:pipeline name="foo"> > <ex:bar/> > </p:pipeline> > </p:pipeline-library> Yes, this is legal. > Even if it is, do we agree that this is not? > > <p:pipeline-library namespace="http://example.org/" > xmlns:ex="http://example.org/"> > <p:pipeline name="bar"> > <ex:foo/> > </p:pipeline> > > <p:pipeline name="foo"> > ... > </p:pipeline> > </p:pipeline-library> No, we don't agree. This should be legal too. Order doesn't matter when I write templates in XSLT, element declarations in XML Schema, definitions in RELAX NG, functions or methods in virtually any other programming language you care to mention. It shouldn't here. Jeni -- Jeni Tennison http://www.jenitennison.com
Received on Wednesday, 21 March 2007 13:47:21 UTC