We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
cvc-pattern-valid
Take the pattern.xsd XML Schema file:
pattern.xsd
<?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>
The XML file bound to this XML pattern.xsd:
<Annotation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="pattern.xsd" Term="X" > </Annotation>
should highlight "X" as error.
"X"
The text was updated successfully, but these errors were encountered:
xorye
Successfully merging a pull request may close this issue.
Take the
pattern.xsd
XML Schema file:The XML file bound to this XML pattern.xsd:
should highlight
"X"
as error.The text was updated successfully, but these errors were encountered: