-
Notifications
You must be signed in to change notification settings - Fork 93
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/definition
for XML Schema
#148
Comments
I love this idea, but I'm afraid that it's an hard work. @ifedorenko is there any chance that you could work on this feature? If yes, tell me and I will initialize support extension for definition, that you will able to implement it in |
no, I do not currently plan to work on this enhancement. |
Ok thanks for your answer. I have initialized the definition participant. |
I would like to try to manage those defintion type with XPath with #168. The idea is just to declare references with Xpath between type, ex :
If we take this sample <xs:element name="employee" type="fullpersoninfo"/>
<xs:complexType name="personinfo">
<xs:sequence>
<xs:element name="firstname" type="xs:string"/>
<xs:element name="lastname" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="fullpersoninfo">
<xs:complexContent>
<xs:extension base="personinfo">
<xs:sequence>
<xs:element name="address" type="xs:string"/>
<xs:element name="city" type="xs:string"/>
<xs:element name="country" type="xs:string"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType> the below XPath from/to declaration will manage
|
textDocument/definition
textDocument/definition
for XML Schema
Fix #148 Signed-off-by: azerr <azerr@redhat.com>
Thank's @NikolasKomonen for your review! |
So that you can navigate from an element to its type definition in a schema.
Suggested by @ifedorenko.
The text was updated successfully, but these errors were encountered: