Skip to content

Commit

Permalink
Fix relaxng links
Browse files Browse the repository at this point in the history
Signed-off-by: azerr <[email protected]>
  • Loading branch information
angelozerr authored and datho7561 committed Oct 19, 2022
1 parent 29457ac commit b0857f7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ This VS Code extension provides support for creating and editing XML documents,
| ------------------ | ------------------------------------------- |
| enabled by default | requires additional configuration to enable |

* [RelaxNG (experimental) support](https://github.com/redhat-developer/vscode-xml/blob/main/docs/Features/RelaxNGFeatures#relaxng-features) (since v0.22.0)
* [RelaxNG (experimental) support](https://github.com/redhat-developer/vscode-xml/blob/main/docs/Features/RelaxNGFeatures.md#relaxng-features) (since v0.22.0)
* Syntax error reporting
* General code completion
* [Auto-close tags](https://github.com/redhat-developer/vscode-xml/blob/main/docs/Features/XMLFeatures.md#xml-tag-auto-close)
Expand Down
6 changes: 3 additions & 3 deletions docs/Features/RelaxNGFeatures.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ You can associate your XML file with `RelaxNG grammar` (`file` or `URL`) using :
</addressBook>
```

* an `XML catalog` using the same method as [XSD](Validation#XML-catalog-with-XSD)
* a `file association` using the same method as [XSD](Validation#XML-file-association-with-xsd)
* an `XML catalog` using the same method as [XSD](Validation.md#XML-catalog-with-XSD)
* a `file association` using the same method as [XSD](Validation.md#XML-file-association-with-xsd)

## RelaxNG grammar

Expand Down Expand Up @@ -121,7 +121,7 @@ element addressBook {
```

The following file, `addressBook.xml`, references `addressBook.rng` using the `xml-model` processing instruction.
[vscode-xml](https://github.com/redhat-developer/vscode-xml) will provide the features based on the grammar shown in [the demo at the beginning of this page](#relaxng-support) when you open `addressBook.xml`.
[vscode-xml](https://github.com/redhat-developer/vscode-xml) will provide the features based on the grammar shown in [the demo at the beginning of this page](#relaxng-features) when you open `addressBook.xml`.

```xml
<?xml-model href="addressBook.rng" type="application/xml"?>
Expand Down
2 changes: 1 addition & 1 deletion docs/Validation.md
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ This feature is specific to the VSCode client.

## Validation with RelaxNG grammar

See [RelaxNG features](Features/RelaxNGFeatures#relaxng-features)
See [RelaxNG features](Features/RelaxNGFeatures.md#relaxng-features)

# Other Validation Settings

Expand Down

0 comments on commit b0857f7

Please sign in to comment.