Skip to content

Completion for xsd:enumeration inside of text node #218

@arkceajin

Description

@arkceajin

xsd: https://github.com/redhat-developer/vscode-xml/files/4029276/AUTOSAR_00048.zip
xml:

<?xml version="1.0" encoding="UTF-8"?>
<AUTOSAR xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://autosar.org/schema/r4.0" xsi:schemaLocation="http://autosar.org/schema/r4.0 AUTOSAR_00048.xsd">
	<AR-PACKAGES>
		<AR-PACKAGE>
			<SHORT-NAME>aubist</SHORT-NAME>
			<AR-PACKAGES>
				<AR-PACKAGE>
					<SHORT-NAME>ara</SHORT-NAME>
					<ELEMENTS>
						<SOFTWARE-PACKAGE>
							<SHORT-NAME>test</SHORT-NAME>
							<ACTION-TYPE></ACTION-TYPE>
						</SOFTWARE-PACKAGE>
					</ELEMENTS>
				</AR-PACKAGE>
			</AR-PACKAGES>
		</AR-PACKAGE>
	</AR-PACKAGES>
</AUTOSAR>

For tag <ACTION-TYPE> suppose allow these values

  • INSTALL
  • REMOVE
  • UPDATE

But now gives nothing, suggest show the autocomplete as above.
image

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions