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

Re: determining an xproc extension attributes

From: Norman Walsh <ndw@nwalsh.com>
Date: Tue, 02 Sep 2008 07:41:38 -0400
To: public-xml-processing-model-comments@w3.org
Message-ID: <m2fxoi7p1p.fsf@nwalsh.com>
"James Fuller" <james.fuller.2007@gmail.com> writes:

> in section 3.9 Syntax Summaries it states;
> 'It is a static error (err:XS0008) if any element in the XProc
> namespace has attributes not defined by this specification unless they
> are extension attributes.
> '
> then in section 3.8 Extension attributes it says;
> 'A processor which encounters an extension attribute that it does not
> recognize must behave as if the attribute was not present.'
> Both of these statements seem to create a contradiction.
> How can a processor 'know' it is not recognizing an unknown extension
> attribute ?

Section 3.8, Extension Attributes, says:

[Definition: An element from the XProc namespace may have any
attribute not from the XProc namespace, provided that the
expanded-QName of the attribute has a non-null namespace URI. Such an
attribute is called an extension attribute.]

Attributes in a namespace are extension attributes.

                                        Be seeing you,

Norman Walsh <ndw@nwalsh.com> | All the labors of the ages, all the
http://nwalsh.com/            | devotion, all the inspiration, all the
                              | noonday brightness of human genius, are
                              | destined to extinction.--Bertrand
                              | Russell

Received on Tuesday, 2 September 2008 11:42:26 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:41:08 UTC