Stefan Klatt wrote:
> 
> on our way to develop a medical guideline language we started with some
> XSDs in XML Spy.
> 
>  
> 
> Fixing the „base“ attribute issue in the referenced document while
> validating the structure, we included the
> 

Which „base“ attribute issue?



> 
> <xs:import namespace="http://www.w3.org/2001/XInclude";
> schemaLocation="http://www.w3.org/2001/XInclude.xsd"/>
> 
> <xs:import namespace="http://www.w3.org/XML/1998/namespace";
> 
>  
> 
> into the schema (according to XML Mind Documentaition) and allowed the
> „base“-attribute in the referenced element.  

Which referenced element?

I'm sorry but I don't understand what you are trying to do. Please
explain why and where you need to declare the xml:base attribute (in
your custom schema? in a local copy of XInclude.xsd?). Do not hesitate
to send us a copy of all your schema files so we can tell you what to do.



> Now, in XML Spy anything
> works fine.
> 
>  
> 
> XXE asks for the complete
> 
>  
> 
> <xs:import namespace=http://www.w3.org/XML/1998/namespace
> schemaLocation=“……“ /> tag within the schema.
> 
>  
> 
> <xs:import namespace="http://www.w3.org/XML/1998/namespace";
> schemaLocation="http://www.w3.org/XML/1998/namespace.xsd"/>
> 
>  
> 
> now generates an validation error within the sequence, that contains the
> xinc:include
> 
>  
> 
> <xs:import namespace="http://www.w3.org/XML/1998/namespace";
> schemaLocation="http://www.w3.org/2001/xml.xsd"/>
> 
>  
> 
> does the same.
> 
>  
> 
> Surely I have problems understanding the dependencies between the schema
> versions and the specials needs of XXE.
> 

XXE has no special needs. It has some limitations and some specificities
related to the support of W3C XML Schema which are all documented here:

The xmltool command-line utility, Implementation limits, Limitations
related to XML Schema Structures,
http://www.xmlmind.com/xmleditor/_distrib/doc/xmltool/apas02.html

Excerpts from this document:
---
A import construct must almost always specify a schemaLocation
[x-src-import].

However, the validation engine supports xs:import elements without a
schemaLocation attribute, if an xs:import element for the same namespace
but this time having a schemaLocation attribute has previously been
processed.
---






 
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to