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/typeDefinition from XML to XMLSchema/DTD #371

Closed
angelozerr opened this issue May 14, 2019 · 0 comments · Fixed by #510
Closed

Add support for textDocument/typeDefinition from XML to XMLSchema/DTD #371

angelozerr opened this issue May 14, 2019 · 0 comments · Fixed by #510
Assignees
Labels
CM Extension Content Model extension (XML Schema & DTD) enhancement New feature or request hyperlink XSD
Milestone

Comments

@angelozerr
Copy link
Contributor

When XML file is bound to an XML Schema or DTD it should be cool to manage type definition inside XML to open the XML Schema (element or attribute) / DTD element/attrlist which defines the XML element/attribute.

Take a sample with this xml:

<book isbn="0836217462" xmlns="http://example.org/ns/books/">
   <title>bla bla bla</title>
</book>

bound to this XML Schema:

<xsd:element name="book">
 <xsd:complexType>
  <xsd:sequence>
   <xsd:element name="title" type="xsd:string"/>
   <xsd:attribute name="isbn" type="xsd:string"/>
  </xsd:sequence>
 </xsd:complexType>
</xsd:element>
  • when type definition is done in the xml attribute book/@isbn it should open the XML Schema and select the value of @name of <xsd:attribute name="isbn" (isbn).

  • when type definition is done in the xml elementbook/title it should open the XML Schema and select the value of @name of <xsd:element name="title" (title).

Same thing should be done for XML bound to DTD

@angelozerr angelozerr added CM Extension Content Model extension (XML Schema & DTD) enhancement New feature or request hyperlink XSD labels May 14, 2019
@fbricon fbricon added the duplicate This issue or pull request already exists label Jun 12, 2019
@angelozerr angelozerr removed the duplicate This issue or pull request already exists label Jun 13, 2019
angelozerr pushed a commit that referenced this issue Jul 1, 2019
angelozerr pushed a commit that referenced this issue Jul 2, 2019
angelozerr pushed a commit that referenced this issue Jul 2, 2019
@angelozerr angelozerr self-assigned this Jul 3, 2019
angelozerr pushed a commit that referenced this issue Jul 3, 2019
angelozerr pushed a commit that referenced this issue Jul 10, 2019
angelozerr pushed a commit that referenced this issue Jul 10, 2019
angelozerr pushed a commit that referenced this issue Jul 12, 2019
angelozerr pushed a commit that referenced this issue Jul 12, 2019
angelozerr pushed a commit that referenced this issue Jul 12, 2019
angelozerr pushed a commit that referenced this issue Jul 12, 2019
angelozerr pushed a commit that referenced this issue Jul 12, 2019
angelozerr pushed a commit that referenced this issue Jul 15, 2019
angelozerr pushed a commit that referenced this issue Jul 15, 2019
angelozerr pushed a commit that referenced this issue Jul 15, 2019
@angelozerr angelozerr added this to the v0.8.0 milestone Jul 15, 2019
angelozerr pushed a commit that referenced this issue Jul 15, 2019
angelozerr pushed a commit that referenced this issue Jul 15, 2019
angelozerr pushed a commit that referenced this issue Jul 15, 2019
angelozerr pushed a commit that referenced this issue Jul 15, 2019
angelozerr pushed a commit that referenced this issue Jul 15, 2019
angelozerr pushed a commit that referenced this issue Jul 15, 2019
angelozerr pushed a commit that referenced this issue Jul 17, 2019
angelozerr pushed a commit that referenced this issue Jul 17, 2019
angelozerr pushed a commit that referenced this issue Jul 17, 2019
angelozerr pushed a commit that referenced this issue Jul 17, 2019
fbricon pushed a commit that referenced this issue Jul 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CM Extension Content Model extension (XML Schema & DTD) enhancement New feature or request hyperlink XSD
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants