[oXygen-user] XML Schema validation and XInclude

Robert Koberg
Mon Nov 14 06:16:22 CST 2005

George Cristian Bina wrote:
> Hi Rob,
> We are not able to reproduce that, please make sure both files are saved 
> on disk. If you still have problems it may help if you send your files 
> attached.
> In any case it is recommended to upgrade to the latest oXygen 6 release, 
> version 6.2.
> For the schema for XML please use the official schema, eventually you 
> can refer to it using its remote location and resolve that to a local 
> copy through an XML Catalog file.
> http://www.w3.org/2005/08/xml.xsd

Thanks George. I can get a valid schema if I use the URL above (but not 
copying down to my local filesystem). And after upgrading to 6.2 the 
test schema from the previous post works. But if I use the attached 
schema with my modified xml.xsd it cannot find the xml.xsd (both files 
live in the same directory):

<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
   <xsd:attribute name="base"/>

As I am only using the xml.xsd because XInclude places the xml:base 
attribute on the included root element, I want it as small as possible 
(and no network effect or catalog resolver in my runtime).


-------------- next part --------------
A non-text attachment was scrubbed...
Name: interactions.xsd
Type: text/xml
Size: 2868 bytes
Desc: not available
Url : http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20051114/6170a596/attachment.xml 

More information about the oXygen-user mailing list