redhat-developer / vscode-xml

Editing XML in Visual Studio Code made easy
Eclipse Public License 2.0
262 stars 82 forks source link

"use" attribute not allowed on Attibute #1013

Closed NigelDawson closed 5 months ago

NigelDawson commented 5 months ago

Hi, thanks for providing this extension.

Just a query regarding the "use" attribute on xs:attribute elements. Is this no longer allowed or is it not supported ?

s4s-att-not-allowed: Attribute 'use' cannot appear in element 'attribute'.xsd(s4s-att-not-allowed

use | Optional. Specifies how the attribute is used. Can be one of the following values: optional - the attribute is optional (this is default) prohibited - the attribute cannot be used required - the attribute is required

ctrl+space and the attribute is missing

image

image

NigelDawson commented 5 months ago

ignore - i'm a numpty...