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

Editor: not all pattern restrictions of the metadata schema are properly reflected in the editor #683

Open
cspurk opened this issue Oct 22, 2012 · 1 comment · Fixed by #685
Labels
Milestone

Comments

@cspurk
Copy link
Member

cspurk commented Oct 22, 2012

The xs:pattern restrictions of the metadata schema for at least httpURI and emailAddress (cf. https://github.com/metashare/META-SHARE/blob/6b4e179accc4b64d86ad9e2bbc5605231a224f48/misc/schema/v3.0/META-SHARE-SimpleTypes.xsd#L13-26) are not properly reflected in the editor. For example, the editor allows newline characters at the end of corresponding values.

@cspurk
Copy link
Member Author

cspurk commented Oct 22, 2012

Repoening this issue as it is actually only partly fixed: it is still the case that our Django validator for httpURI values does not make sure that corresponding values match the xs:anyURI type’s value space.

It may make sense to wait with fixing this until #640 is fixed because currently our httpURI in the schema is not very elaborate either.

@cspurk cspurk reopened this Oct 22, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant