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
Reminiscent of #177, it appears that on versions 0.26.1 (stable) and 0.26.2023080404 (pre-release), schema-based completion is broken when an xs:any element is encountered. Instead of showing explicitly-defined elements, it only shows the root tag as an option.
Summary
For a visual demonstration and a reproduction case, skip this header and continue to the detail/summary blocks.
When an xs:any schema element is present, the following is true:
The following features are working:
Validation
Documentation On Hover
Attribute Suggestion
The following feature is NOT working:
Tag Suggestion
Demo & Minimal Reproduction XSD
<?xml version="1.0" encoding="UTF-8" ?>
<xs:schemaxmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:elementname="root">
<xs:annotation><xs:documentation>Some documentation for the ROOT ELEMENT</xs:documentation></xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:anyminOccurs="0"processContents="skip" />
<xs:elementname="Name"minOccurs="0"maxOccurs="1"type="xs:string">
<xs:annotation><xs:documentation>Some documentation for the NAME ELEMENT</xs:documentation></xs:annotation>
</xs:element>
<xs:elementname="Id"minOccurs="0"maxOccurs="1">
<xs:annotation><xs:documentation>Some documentation for the ID ELEMENT</xs:documentation></xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:extensionbase="xs:integer">
<xs:attributename="type"type="xs:string" />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
Scope of Issue (w/ Images) Using Above XSD
Documentation works on root eement
IntelliSense only shows root element for completion
Created element uses type for root element
Explicitly-defined elements still have their types applied
Validation is working
🔴🎩
The text was updated successfully, but these errors were encountered:
Reminiscent of #177, it appears that on versions
0.26.1
(stable) and0.26.2023080404
(pre-release), schema-based completion is broken when anxs:any
element is encountered. Instead of showing explicitly-defined elements, it only shows the root tag as an option.Summary
For a visual demonstration and a reproduction case, skip this header and continue to the detail/summary blocks.
When an
xs:any
schema element is present, the following is true:The following features are working:
The following feature is NOT working:
Demo & Minimal Reproduction XSD
Scope of Issue (w/ Images) Using Above XSD
Documentation works on root eement
IntelliSense only shows root element for completion
Created element uses type for root element
Explicitly-defined elements still have their types applied
Validation is working
🔴🎩
The text was updated successfully, but these errors were encountered: