Page 1 of 1

can't validate

Posted: Wed Nov 13, 2013 6:25 pm
by lorebiga
Dear all,

using Oxygen XML v14.2 and validating this document:
https://dl.dropboxusercontent.com/u/286 ... output.xml

I get the error:
"Attribute 'xlink:href' is not allowed to appear in element 'gmd:metadataExtensionInfo'".

And similar ones.
However, for what I can see, the schema is actually allowing that attribute to be there.
Any help is appreciated, thanks,
LB

Re: can't validate

Posted: Thu Nov 14, 2013 10:44 pm
by adrian
Hi,

I tested this in v14.2 and v15.1 but didn't encounter any validation errors.
If you have an XML catalog that is resolving the remote URIs to a local copy of the schemas, make sure that the local copy is up to date. Otherwise, you may be validating the XML against an outdated copy of the remote schemas.
Look in Options > Preferences, XML > XML Catalog for catalogs. If you want to debug this angle, set catalog verbosity to All, validate once and check the Catalog log output.

Regards,
Adrian