-
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 DTD
#233
Comments
textDocument/definition
for DTD
Fixes #233 Signed-off-by: azerr <azerr@redhat.com>
To play with this PR, open the DTD https://github.com/angelozerr/lsp4xml/blob/master/org.eclipse.lsp4xml/src/test/resources/dtd/svg.dtd and do like the following demo: It shoud work too when DOCTYPE inside XML is defined. With this XML file: <?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE note [
<!ELEMENT note (to,from,heading,body)>
<!ELEMENT to (#PCDATA)>
<!ELEMENT from (#PCDATA)>
<!ELEMENT heading (#PCDATA)>
<!ELEMENT body (#PCDATA)>
]>
<note>
<to>Tove</to>
<from>Jani</from>
<heading>Reminder</heading>
<body>Don't forget me this weekend!</body>
</note> Ctrl+Click on the first |
Fixes #233 Signed-off-by: azerr <azerr@redhat.com>
Fixes #233 Signed-off-by: azerr <azerr@redhat.com>
Fixes #233 Signed-off-by: azerr <azerr@redhat.com>
Fixes #233 Signed-off-by: azerr <azerr@redhat.com>
Support for hyperlink between DTD elements.
The text was updated successfully, but these errors were encountered: