- From: <bugzilla@jessica.w3.org>
- Date: Tue, 30 Sep 2014 22:52:08 +0000
- To: public-qt-comments@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=26788
Michael Dyck <jmdyck@ibiblio.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jmdyck@ibiblio.org
--- Comment #4 from Michael Dyck <jmdyck@ibiblio.org> ---
(In reply to Jonathan Robie from comment #3)
>
> <quote>
> If the axis name is omitted from an axis step, the default axis is child,
> with two exceptions: if [...] then the default axis is attribute; in an
> implementation that does not support the namespace axis, an error is raised
> [err:XQST0134].
> </quote>
No, if the second exception omits the syntactic constraint on the NodeTest,
you're saying that, with an implementation that doesn't support 'namespace',
you can only omit the axis name when it's 'attribute'.
I think the text should be something like:
<quote>
If the axis name is omitted from an axis step, the default axis is 'child',
with two exceptions: if [...] then the default axis is 'attribute';
if the NodeTest in an axis step is a NamespaceNodeTest then
<xquery>
a static error is raised [err:XQST0134],
because XQuery does not support the namespace axis.
</xquery>
<xpath>
in an implementation that supports the namespace axis, the default axis is
'namespace'; in an implementation that does not support the namespace axis,
a static error is raised [err:XQST0134].
</xpath>
</quote>
(This might be more comprehensible if the two exceptions were formatted as
bullet points. You could also start the bullets after "axis step", and add a
third bullet: "Otherwise, the default axis is 'child'".)
(In any case, I think you could omit the Note that follows.)
--
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Tuesday, 30 September 2014 22:52:09 UTC