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

Re: Import precedence/Overriding pipelines

From: Norman Walsh <Norman.Walsh@Sun.COM>
Date: Wed, 21 Mar 2007 08:42:07 -0400
To: public-xml-processing-model-wg@w3.org
Message-ID: <87tzwe4vkw.fsf@nwalsh.com>
/ ht@inf.ed.ac.uk (Henry S. Thompson) was heard to say:
| Mmphh.  I suppose the use case you have in mind is where you have a
| library you mostly like, but there's something in it you need/want to
| change.


| This seems much more plausible for pipelines than for step
| definitions, but it's probably easier to adopt a uniform approach.
| So I have _some_ sympathy with defining a story about precedence,
| following the SGML/XML external/internal subset story.

That's what I was thinking too, but I've sort of changed my mind.

For declared-steps, ones who's definition is implementation-defined,
how could changing the signature ever succeed?

What if one of the pipelines in the library uses the declared-step?
What does that mean? Does it use the local definition or the redeclared

The same is true of pipelines within the library. If one (can and does)
make a call to another, which definition does it get?

I think it might be simpler in V1 to just say, all attempts at
redefinition are an error.

If we are going to allow redefinition, for the use case where you really
like a library but you want to change one pipeline or component, I think
I could live with a rule that says:

1. The signatures must be identical
2. The redefined step/pipeline completely masks the other definition.
   In other words, the space of declared steps/pipelines is completely

                                        Be seeing you,

Norman Walsh
XML Standards Architect
Sun Microsystems, Inc.

Received on Wednesday, 21 March 2007 12:42:19 UTC

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