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

/x:y style constructs flag declared namespaces as unused #143

Closed
rhdunn opened this Issue Nov 19, 2015 · 2 comments

Comments

Projects
None yet
2 participants
@rhdunn

rhdunn commented Nov 19, 2015

Using the latest code:

xquery version "3.0";
declare namespace html = "http://www.w3.org/1999/xhtml";
/html:p

Flags the namespace as unused. This is a case not covered in the fix for issue #135.

@rhdunn

This comment has been minimized.

Show comment
Hide comment
@rhdunn

rhdunn Nov 19, 2015

The same applies to element(x:y) constructs:

xquery version "3.0";
declare namespace html = "http://www.w3.org/1999/xhtml";
let $x as element(html:p)? := ()
return $x

rhdunn commented Nov 19, 2015

The same applies to element(x:y) constructs:

xquery version "3.0";
declare namespace html = "http://www.w3.org/1999/xhtml";
let $x as element(html:p)? := ()
return $x

@ligasgr ligasgr added the enhancement label Nov 19, 2015

@ligasgr

This comment has been minimized.

Show comment
Hide comment
@ligasgr

ligasgr Nov 19, 2015

Owner

Thanks for valuable feedback! I probably wouldn't have found those so quickly!

Owner

ligasgr commented Nov 19, 2015

Thanks for valuable feedback! I probably wouldn't have found those so quickly!

@ligasgr ligasgr closed this in 15adf67 Nov 19, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment