-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix error range for cvc-pattern-valid
Signed-off-by: David Kwon <dakwon@redhat.com>
- Loading branch information
1 parent
85bf167
commit fee5859
Showing
3 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" | ||
elementFormDefault="qualified" attributeFormDefault="unqualified"> | ||
|
||
<xs:element name="Annotation"> | ||
<xs:complexType> | ||
<xs:attribute name="Term" type="TQualifiedName" | ||
use="required" /> | ||
</xs:complexType> | ||
</xs:element> | ||
|
||
|
||
<xs:simpleType name="TQualifiedName"> | ||
<xs:restriction base="xs:NCName"> | ||
<xs:pattern | ||
value="[\p{L}\p{Nl}_][\p{L}\p{Nl}\p{Nd}\p{Mn}\p{Mc}\p{Pc}\p{Cf}]{0,}(\.[\p{L}\p{Nl}_][\p{L}\p{Nl}\p{Nd}\p{Mn}\p{Mc}\p{Pc}\p{Cf}]{0,}){1,}" /> | ||
</xs:restriction> | ||
</xs:simpleType> | ||
|
||
</xs:schema> |