Skip to content
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

No validation on xsi:nil values #246

Open
fbricon opened this issue Dec 2, 2018 · 1 comment
Open

No validation on xsi:nil values #246

fbricon opened this issue Dec 2, 2018 · 1 comment
Labels
bug Something isn't working validation

Comments

@fbricon
Copy link
Contributor

fbricon commented Dec 2, 2018

screen shot 2018-12-02 at 1 21 46 pm

Given the following snippet (I'm not sure it's actually valid or makes any sense at all):
<?xml version="1.0" ?>
<foo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 
    <bar xsi:nil="foo">Fred</bar> 
</foo>

xsi:nil valid values are true/false, yet there's no validation error here

@fbricon fbricon added bug Something isn't working validation labels Dec 2, 2018
@fbricon
Copy link
Contributor Author

fbricon commented Dec 4, 2018

Now that I think of it, we should add an actual schema for xsi, under the hood, so that'd provide completion, hover and validation support for xsi without having to hard-code anything

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working validation
Projects
None yet
Development

No branches or pull requests

1 participant