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

non-compliant restriction pattern in v3.3 nuspec.xsd #9

Open
ghost opened this issue Jun 5, 2019 · 0 comments
Open

non-compliant restriction pattern in v3.3 nuspec.xsd #9

ghost opened this issue Jun 5, 2019 · 0 comments

Comments

@ghost
Copy link

ghost commented Jun 5, 2019

There seems to be a non-compliant pattern in v3.3 nuspec.xsd

In reference to the fragment beginning on line 258 of v3.3 nuspec.xsd :
<xs:simpleType name="folder_type">
<xs:restriction base="xs:string">
<xs:pattern value="^vb|fs|cs/[^/]+/.+"/>
</xs:restriction>
</xs:simpleType>

XML-SPY 2019 throws the following error:
Value '^vb|fs|cs/[^/]+/.+' is not a valid XML regular expression.
Error location: xs:schema / xs:simpleType / xs:restriction / xs:pattern / @value
Details
invalid-escape: The given character escape is not recognized.
dt-pattern: Value '^vb|fs|cs/[^/]+/.+' is not a valid XML regular expression.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants