[oXygen-user] validation failure with version 6.1

George Cristian Bina
Tue Aug 16 11:15:59 CDT 2005


Dear Gary Gapinski,

Thank you for contacting us.
oXygen uses Xerces for XML Schema validation. In the past Xerces used a 
one schema per namespace rule and with version 2.7.0 Xerces added 
support also for allowing multiple schemas for a namespace and oXygen 
added that as an option. By default that option was enabled in oXygen 
6.1 and you have xml.xsd schema imported from more than one location 
thus the duplicate definitions of the attributes. Please go to 
Options->Preferences dialog on the XML / XML Parser Options page and 
disable the http://apache.org/xml/features/honour-all=schemaLocations 
option in the XML Parser Features group. That will switch to one schema 
per namespace and your documents will be valid.

Best Regards,
George
---------------------------------------------------------------------
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com


Gary Gapinski wrote:
> Version 6.1 (build 2005071905) of <oXygen/> appears to have broken
> validation. The attachment contains some files from NIST, one of which -
> ios-sample-1.0.xccdf.xml - has been slightly modified from the original
> (original files are available from
> http://csrc.nist.gov/checklists/xccdf.html).
> 
> This file validates successfully in <oXygen/> v6.0, but not with
> <oXygen/> v6.1. v6.1 posts the following errors, which appear to be
> spurious:
> 
> SystemID: null
> Location: 88:47
> Description: E sch-props-correct.2: A schema cannot contain two global
> components with the same name; this schema contains two occurrences of
> 'http://www.w3.org/XML/1998/namespace,lang'.
> URL: http://www.w3.org/TR/xmlschema-1/#sch-props-correct
> 
> SystemID: null
> Location: 95:48
> Description: E sch-props-correct.2: A schema cannot contain two global
> components with the same name; this schema contains two occurrences of
> 'http://www.w3.org/XML/1998/namespace,space'.
> URL: http://www.w3.org/TR/xmlschema-1/#sch-props-correct
> 
> SystemID: null
> Location: 104:45
> Description: E sch-props-correct.2: A schema cannot contain two global
> components with the same name; this schema contains two occurrences of
> 'http://www.w3.org/XML/1998/namespace,base'.
> URL: http://www.w3.org/TR/xmlschema-1/#sch-props-correct
> 
> SystemID: null
> Location: 111:41
> Description: E sch-props-correct.2: A schema cannot contain two global
> components with the same name; this schema contains two occurrences of
> 'http://www.w3.org/XML/1998/namespace,specialAttrs'.
> URL: http://www.w3.org/TR/xmlschema-1/#sch-props-correct
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> oXygen-user mailing list
> 
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user



More information about the oXygen-user mailing list