-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fn:has-attributes #964
Comments
The The functionality of |
Wouldn’t that be a typical task for an optimizer (rewriting The specification states that the function has “general utility as a convenience function”. I think the argument would also be valid for an attribute function. After all, it probably takes more time to talk about the function than just adding or ignoring it, so… I have no strong opinion. |
We made a decision (rightly or wrongly) that XSLT streamability shouldn't depend on optimization rewrites, in order to make the rules fully interoperable. The statement that "the function has general utility as a convenience function" clearly indicates, to someone experienced in reading standards documents, that the WG knew the justification was weak; features don't attempt to justify themselves otherwise. |
I don't think this function adds much value and I propose we turn down the suggestion. |
The CG agreed to close this issue without action at meeting 064 |
Trivial (motivated by a user request):
As there is an
fn:has-children
function, it seems surprising that there is nofn:has-attributes
function.I would suggest…
fn:has-children
) why this function is missing.The text was updated successfully, but these errors were encountered: