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

gpt1.2.5 - error using schema validation #121

Closed
Yuanjie0913 opened this issue Nov 26, 2014 · 2 comments
Closed

gpt1.2.5 - error using schema validation #121

Yuanjie0913 opened this issue Nov 26, 2014 · 2 comments

Comments

@Yuanjie0913
Copy link
Contributor

We modified the iso-19115-2-definition.xml to use only the schema validation for any ISO19115-2 metadata.
a. Added the schema uri in the namespace
b. Turned all the validation off
But geoportal gives error "datestamp is invalid" when we tried to publish metadata. The metadata shows valid when we open it through xmlspy using the same schema.

Any advice is appreciated!
Li

@mhogeweg
Copy link
Member

can you share the XML?

@smrgeoinfo
Copy link

I wonder if its a difference in how the XML spy validation engine handles xs:Date and xs:DateTime data types--some engines are more lax than others. What does your date formatting look like? Maybe try a different validation engine in Spy (what does GEoportal use Marten?) -- I think you can set it to use different engines.

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

3 participants