|
|
|
Re: XML Catalog question [message #218980 is a reply to message #218965] |
Tue, 05 August 2008 16:42 |
Eclipse User |
|
|
|
Originally posted by: dcarver.starstandard.org
Make sure that your URI is using the file:/// indicator if it isn't already.
Dave
Patrick Podenski wrote:
> Nitin asked:
>
> Are you certain that it is the '.' and not the '~'?
>
> Sorry I misled you by using this compact Unix notation [ ~./.m2 ]. That
> was just to avoid typing out the entire pathname. The actual item in
> question which is causing the error in the Eclipse XML Catalog
> preferences tool is the fully specified form.
>
> For example, using the File System ... menu option in the Add XML
> Catalog Entry dialog, the following actual Location from my local Maven
> repository is selected:
>
>
> [ C:\Documents and
> Settings\my-username\.m2\repository\org\jvnet\jaxb2\maven2\m aven-jaxb2-plugin-sample-episode-a-maven\0.6.1\maven-jaxb2-p lugin-sample-episode-a-maven-0.6.1.jar
> ]
>
> This location yields the following error:
>
> URI must not be included '.' or '..'
>
> Modifying the location to remove the '.' in front of m2 eliminates the
> above error, but is not the correct location of the xsd file which then
> yields this error:
>
> The specified resource can't be located: C:\Documents and
> Settings\my-username\m2\....
>
>
> I also tried adding jar:file: in front of the location but this didn't
> eliminate the original error.
>
> Please advise how I can use the XML Catalog feature in Eclipse to map an
> XSD contained in a jar file in the Maven repository. Is this a bug? Or
> is there another way to handle this?
>
> As a separate issue, I don't seem to be able to use the XML Catalog
> feature in Eclipse where the purpose is to get a valid edit of another
> schema in the XML Schema Editor which resolves an import statement which
> depends on an XML Catalog entry for the referenced schema file.
>
> Is there a limitation with the XML Catalog feature? The online Eclipse
> help seems to only give examples where the focus is to resolve an XSD
> for an XML instance, rather than for an XML Schema that references the
> mapped XSD file. Should the XML Catalog feature work with XML Schemas
> import statement as well as for XML instances?
>
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03017 seconds