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

Re: foreign namespaces

From: Florent Georges <fgeorges@fgeorges.org>
Date: Wed, 27 Aug 2008 13:23:33 +0200
Message-ID: <ebaca5bf0808270423i143a57a4x189b29e9d7aac378@mail.gmail.com>
To: "James Fuller" <james.fuller.2007@gmail.com>
Cc: mozer <xmlizer@gmail.com>, "Norman Walsh" <ndw@nwalsh.com>, public-xml-processing-model-comments@w3.org

2008/8/27 James Fuller wrote:

> yes, but isnt that what declarations are for ?

> e.g. that foreign element *needs* a declaration before it is be used
> as as step

  Yes, but the point is to enable the processor to differentiate a
processor call when the developer forgot the declaration (bug in the
code) from something like a "throw-away-and-forget-foreign-element."

  If you just say: "if it is declared, then that is a call, else that
is a ignorable foreign element," the processor can't make the
difference anymore.  Unless... you require to identify extension
processor namespaces (like @extension-element-prefixes in XSLT.)

  Regards,

-- 
Florent Georges
http://www.fgeorges.org/
Received on Wednesday, 27 August 2008 11:24:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 August 2008 11:24:08 GMT