W3C home > Mailing lists > Public > public-qt-comments@w3.org > October 2016

[Bug 29957] [XSLT30] Non-schema-aware processors and schema-attribute and schema-element node tests: error or not?

From: <bugzilla@jessica.w3.org>
Date: Mon, 24 Oct 2016 09:36:19 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-29957-523-baRWvPajLM@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=29957

--- Comment #2 from Abel Braaksma <abel.braaksma@xs4all.nl> ---
Somehow I came to the conclusion that if you use that type that it
automatically exists (in that "give me an element X with type annotation Y").

But now I think that my reasoning took a shortcut. Using schema-element
*requires* a declaration in a schema to be present for that element. That all
elements are considered to be of type xs:untyped is irrelevant.

(conversely, if my argument were correct in any sense, using schema-element(x)
would have little effect if it meant that any element existed automatically as
xs:untyped element)

So, bottom line, schema-element() and schema-attribute() cannot possibly select
anything for non-schema-aware processors and will always raise one of these two
errors.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Monday, 24 October 2016 09:36:28 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:58:02 UTC