XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Adam Van den HovenSubject: Problems validating Schema with circular includes.
Author: Adam Van den Hoven
Date: 18 Nov 2002 09:59 PM
I'm trying to create a useable XML Schema for Qualified Dublin Core (no easy task). I'm running into a problem when I try to create a circular imports.

I can't really explain it. I'm going to attach 3 files.

dcmes-dc.xsd is an XSD for the basic dublin core elements. It imports dcmes-rdf.xsd which is provided only to ensure everything validates. dcterms.xsd is the xsd for the dublin core qualifiers and encoding schemes.

If you validate dcterms, you have no problems (probably becuase dcmes-dc does not yet have any dependancies on dcterms). However, if you validate dcmes-dc, you get two errors basically saying that the relevant pieces from dcmes-dc cannot be found in dcterms.

Its really annoying since circular imports should be possible.

Adam


Documentdcmes-dc.xsd
This one fails to validate

Documentdcterms.xsd
This one validates

Documentdcmes-rdf.xsd
This one is along for the ride.

Postnext
Alberto MassariSubject: Re: Problems validating Schema with circular includes.
Author: Alberto Massari
Date: 19 Nov 2002 04:27 PM
Hi Adam,
it looks like this is a problem in the Xerces validator; we are forwarding
your testcase to them.

Thanks for the report,
Alberto

Postnext
Adam Van den HovenSubject: Re: Problems validating Schema with circular includes.
Author: Adam Van den Hoven
Date: 20 Nov 2002 04:06 PM
If this is in the bugzilla, can you post the URL to the issue so we/I can track it.

Also, if this is a xerces issue, will we be able to take and replace those classes our selves or will we have to wait until you release it.

Adam

Postnext
Alberto MassariSubject: Re: Problems validating Schema with circular includes.
Author: Alberto Massari
Date: 20 Nov 2002 07:02 PM
Hi Adam,

At 16.22 20/11/2002 -0500, you wrote:
>From: "Adam Van den Hoven"
>
>If this is in the bugzilla, can you post the URL to the issue so we/I can
>track it.

I haven't submitted the bug yet; while I was working on the testcase to
submit, I found out that Xerces could validate the schemas, if it is able
to recognize that a circular import is happening by matching the file names
(they don't match now because we use temporary files).
In short, there is the possibility that we can workaround this bug (or
intended behavior) inside Stylus in the next days.


>Also, if this is a xerces issue, will we be able to take and replace those
>classes our selves or will we have to wait until you release it.

Unfortunately this is not possible (in general); the version of Xerces we
ship is not the official release (for Stylus 4.5, the official release
would be Xerces 2.1). It has a number of customizations (like ICU 2.0),
patches coming from the "live" CVS repository, and patches that we
submitted but that haven't been committed yet. So, we cannot guarantee that
a renamed xerces-c_2_1_0.dll is binary compatible with the xmlengine.dll
you can find in the Stylus installation (that's why we have to give it a
custom name).

Hope this helps,
Alberto

Posttop
Alberto MassariSubject: Re: Problems validating Schema with circular includes.
Author: Alberto Massari
Date: 21 Nov 2002 12:30 PM
This issue has been addressed in BL103l, now available for download from:
http://www.stylusstudio.com/update (4.x section)

Alberto

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.