Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » User-definable schema file resolver?
User-definable schema file resolver? [message #86637] Wed, 23 March 2005 20:58 Go to next message
Eclipse UserFriend
Originally posted by: mbdavis.vividsolutions.com

Something that I always seem to need during schema & document debugging is
to override the schemaLocation attribute in a document file, to point at a
schema
of my choosing (for instance, a dev version of a broken schema). It would
be very nice if I could define a namespace-schema file mapping in my
project, and have the validator use that mapping rather than the one that
is actually in the document. Is this capability currently in WST? Or
would it be something for the to-do list?

(Other than that, congratulations on an excellent tool for working with
XML)

Martin
Re: User-definable schema file resolver? [message #86672 is a reply to message #86637] Thu, 24 March 2005 00:03 Go to previous messageGo to next message
Eclipse UserFriend
Hi Martin, thanks for the positive comments.

You can use the XML Catalog for this purpose. Go to:

Window->Preferences->Web and XML->XML Catalog

Add a New catalog entry, by clicking the New... button.
Click Browse... and select your "dev" schema. Then check
that the key type is Namespace Name and the Key is your
desired namespace as specified in your schemaLocation
in your instance document.

Click Ok.

Validate your XML file.
Re: User-definable schema file resolver? [message #87145 is a reply to message #86672] Thu, 24 March 2005 19:56 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mbdavis.vividsolutions.com

Great, thanks. I think that will do what I want (although it might be
nice to be able to define catalogs on a per-project basis).
Re: User-definable schema file resolver? [message #87416 is a reply to message #87145] Fri, 25 March 2005 17:03 Go to previous message
Eclipse UserFriend
Martin Davis wrote:

> Great, thanks. I think that will do what I want (although it might be
> nice to be able to define catalogs on a per-project basis).

I've heard a few folks asking for catalogs per-project. Please open a
bugzilla bug to request this enhancement.

thanks for your interest
Previous Topic:Error whilst creating a web service - ClassNotFoundException: javax.activation.DataSource
Next Topic:install just the sse bits
Goto Forum:
  


Current Time: Wed May 14 07:17:55 EDT 2025

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

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

Back to the top