Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » User-definable schema file resolver?
User-definable schema file resolver? [message #86637] Thu, 24 March 2005 01: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 05:03 Go to previous messageGo to next message
Keith Chong is currently offline Keith ChongFriend
Messages: 64
Registered: July 2009
Member
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] Fri, 25 March 2005 00: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 22:03 Go to previous message
Craig Salter is currently offline Craig SalterFriend
Messages: 169
Registered: July 2009
Senior Member
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: Thu Nov 14 09:00:11 GMT 2024

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

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

Back to the top