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

Our algorithm for anonymous step names doesn't work

From: Norman Walsh <ndw@nwalsh.com>
Date: Fri, 28 Nov 2008 14:30:21 -0500
To: public-xml-processing-model-comments@w3.org
Message-ID: <m2fxlby7g2.fsf@nwalsh.com>
Our algorithm for computing step names for anonymous steps doesn't
work. If you import two anonymous pipelines, they both have the same
anonymous name "!1". No doubt there are other ways to run afoul of the
fact that the naming is only unique in the context of a single
document.

We could say this doesn't matter, since the anonymous names can't be
used in any pipeline, but that seems like cheating. Also, it means
that the step name used in an error message might be ambiguous.

I suspect the cost effective answer is to punt and make the names of
anonymous steps implementation-defined.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | A rusty nail placed near a faithful
http://nwalsh.com/            | compass, will sway it from the truth,
                              | and wreck the argosy.--Sir Walter Scott

Received on Friday, 28 November 2008 19:31:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 28 November 2008 19:31:05 GMT