You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created an XML schema containing a complexElement with two attributes. The first one is just a simple string, the second one has a custom simpleType inheriting from string but having an additional minLength=1 restriction.
When trying this schema, the first attribute is wrongly associated to the second's custom type.
You can easily reproduce this issue with the linked ZIP archive. It contains a simple schema and an XML file using it and having the described issue.
Issue Type: Bug
I created an XML schema containing a complexElement with two attributes. The first one is just a simple string, the second one has a custom simpleType inheriting from string but having an additional minLength=1 restriction.
When trying this schema, the first attribute is wrongly associated to the second's custom type.
You can easily reproduce this issue with the linked ZIP archive. It contains a simple schema and an XML file using it and having the described issue.
VSCode_XSD_Bug.zip
In
test.xml
you'll see that two errors are highlighted where only one should exist, on theSome_Restricted_Value
attribute.The helper popup even tells the wrong type.
When writing a value in the restricted attribute, both of the errors disappear.
VS Code version: Code 1.57.1 (507ce72, 2021-06-17T13:28:07.755Z)
OS version: Windows_NT x64 10.0.19043
Restricted Mode: No
System Info
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
A/B Experiments
The text was updated successfully, but these errors were encountered: