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

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