can't validate

This should cover W3C XML Schema, Relax NG and DTD related problems.
lorebiga
Posts: 1

can't validate

Wed Nov 13, 2013 6:25 pm

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: 2336

Re: can't validate

Thu Nov 14, 2013 10:44 pm

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

Return to “XML Schemas”

Who is online

Users browsing this forum: No registered users and 1 guest