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

Add support for textDocument/documentHighlight for XML Schema types #470

Closed
angelozerr opened this issue Jun 26, 2019 · 0 comments · Fixed by #473
Closed

Add support for textDocument/documentHighlight for XML Schema types #470

angelozerr opened this issue Jun 26, 2019 · 0 comments · Fixed by #473
Assignees
Labels
enhancement New feature or request highlights XSD
Milestone

Comments

@angelozerr
Copy link
Contributor

angelozerr commented Jun 26, 2019

Here a demo with this XML file:

<?xml version="1.1" ?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.w3.org/2001/XMLSchema">
	<xs:element name="elt" />
	<xs:complexType name="aComplexType" >
		<xs:sequence>
			<xs:element ref="xs:elt" />
			<xs:group ref="xs:elt"></xs:group>
		</xs:sequence>
	</xs:complexType>
	<xs:element name="elt2" substitutionGroup="xs:elt" />

	<xs:group name="elt" >
		<xs:sequence></xs:sequence>
	</xs:group>
	
	
</xs:schema>

XSDHighlightDemo

@angelozerr angelozerr self-assigned this Jun 26, 2019
@angelozerr angelozerr added this to the v0.8.0 milestone Jun 26, 2019
angelozerr pushed a commit that referenced this issue Jun 26, 2019
Fix #470


Signed-off-by: azerr <azerr@redhat.com>
angelozerr pushed a commit that referenced this issue Jun 26, 2019
Fix #470


Signed-off-by: azerr <azerr@redhat.com>
angelozerr pushed a commit that referenced this issue Jun 26, 2019
Fix #470

Signed-off-by: azerr <azerr@redhat.com>
angelozerr pushed a commit that referenced this issue Jun 26, 2019
Fix #470

Signed-off-by: azerr <azerr@redhat.com>
angelozerr pushed a commit that referenced this issue Jun 26, 2019
@angelozerr angelozerr added the enhancement New feature or request label Jul 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request highlights XSD
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant