Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » XML Schema Definition (XSD) » Preferences: XML Catalog - problem with relative schemaLocation's
Preferences: XML Catalog - problem with relative schemaLocation's [message #594449] Thu, 10 March 2005 23:54
Eclipse UserFriend
Originally posted by: ushakov.int.com.ru

Hi,

I am trying to make the local schema cache work for me, and got a trouble
with resolution of relative references to imported schemas.

Namely, I try to get xhtml-basic10.xsd into the local cache.

I start with making three entries in the "Preferences: XML Catalog" section,
with "External schema sources" being a name of a local project:

1:
External schema
sources/www.w3.org/TR/2004/WD-xhtml-modularization-20040218/ SCHEMA/xhtml-bas
ic10.xsd
Schema Location
http://www.w3.org/TR/2004/WD-xhtml-modularization-20040218/S CHEMA/xhtml-basic10.xsd

2:
External schema
sources/www.w3.org/TR/2004/WD-xhtml-modularization-20040218/ SCHEMA/xhtml-bas
ic10-model-1.xsd
Schema Location
http://www.w3.org/TR/2004/WD-xhtml-modularization-20040218/S CHEMA/xhtml-basic10-model-1.xsd

3:
External schema
sources/www.w3.org/TR/2004/WD-xhtml-modularization-20040218/ SCHEMA/xhtml-bas
ic10-modules-1.xsd
Schema Location
http://www.w3.org/TR/2004/WD-xhtml-modularization-20040218/S CHEMA/xhtml-basic10-modules-1.xsd

The result is a number of validation errors that originate to the problem
that xhtml-basic10-model-1.xsd and xhtml-basic10-modules-1.xsd were not
found.

If I remove the first cache entry (for xhtml-basic10.xsd), then
xhtml-basic10-model-1.xsd and xhtml-basic10-modules-1.xsd are resolved ok
(evidently, from the cache), and the errors move to the nested xsd's
referenced from these two files.

All the imported schema references in this W3C schema are relative. So it
looks like some problem in resolving relative references for schemas in the
local XML Catalog.

Is it the real state of the art or am I doing anything wrong?

Regards,
Sergey
Previous Topic:Multiple inheritance in EMF -> XSD
Next Topic:Multiple inheritance in EMF -> XSD
Goto Forum:
  


Current Time: Thu Apr 25 21:17:04 GMT 2024

Powered by FUDForum. Page generated in 0.03467 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top