Yes, but not all XML editors participate in this sort of thing -- in particular, try to get one to look inside a JAR file.
In my rather quirky opinion, if you use a URL, it should be a working URL. The stuff in the JAR is an optimization. If you don't want to have a working URL, use a URI instead. In particular, I've has some bad experiences with Java tools that give very mysterious errors when they try to touch a URL and get an error code. > -----Original Message----- > From: Willem Jiang [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 01, 2007 10:44 PM > To: [email protected] > Subject: Re: Should schema location URLs be valid? > > In CXF we have the spring.schemas file in the jars META-INF. > > Its content is > > http\://cxf.apache.org/schemas/jaxws.xsd=schemas/jaxws.xsd > Maybe you need to do the same mapping thing in the IDE's configuration. > > Willem. > > Benson Margulies wrote: > > http://cxf.apache.org/schemas/jaxws.xsd > > > > > > > > This isn't a valid URL. Now, I appreciate that in the spring universe > > itself this is set up to pull from classpath. But what about someone > > editing a bean file with an ordinary validating XML editor? > > > > > > > > > > > > > >
