can't validate

This should cover W3C XML Schema, Relax NG and DTD related problems.
lorebiga
Posts: 1
Joined: Wed Nov 13, 2013 6:18 pm

can't validate

Post 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
adrian
Posts: 2855
Joined: Tue May 17, 2005 4:01 pm

Re: can't validate

Post 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
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Post Reply