I don’t think so, no.
A couple of examples:
<?xml version="1.0" encoding="UTF-8"?>
<http:address location="http://tempuri.org"
"></http:address>
<?xml version="1.0" encoding="UTF-8"?>
<j2ee:application version="1.4"
">
<j2ee:module>
<j2ee:connector>token</j2ee:connector>
</j2ee:module>
</j2ee:application>
<?xml version="1.0" encoding="UTF-8"?>
<javaee:faces-config version="2.0"
"></javaee:faces-config>
-Martin
On 11. 6. 2014, at 1:41, Max Rydahl Andersen <manderse(a)redhat.com> wrote:
Before I go digg deeper - does this also happen for xsd's
provided by
eclipse or wtp itself ?
/max
> Hi All:
>
> So I recently (few months back?) moved all xsd files out into a
> standalone plugin for contributing catalog entries. This has overall
> proven ok, but there's an issue and I'm not sure how to fix it.
>
> A typical xsd entry in my catalog.xml file looks like this:
>
> <public publicId="urn:jboss:deployment-structure:1.2"
> uri="xsd/jboss-deployment-structure-1_2.xsd"/>
>
>
> The problem is when, in eclipse, you try to make a new xml file, and
> use
> this catalog entry, the generated xml file looks like this:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <p:jboss-deployment-structure
> xmlns:p="urn:jboss:deployment-structure:1.2"
>
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="urn:jboss:deployment-structure:1.2
>
file:///home/rob/code/jbtools/github/jbosstools-server/as/plugins/org.jboss.tools.as.catalog/schema/xsd/jboss-deployment-structure-1_2.xsd
> "></p:jboss-deployment-structure>
>
>
> The part here that's clearly wrong is:
> xsi:schemaLocation="urn:jboss:deployment-structure:1.2
>
file:///home/rob/code/jbtools/github/jbosstools-server/as/plugins/org.jboss.tools.as.catalog/schema/xsd/jboss-deployment-structure-1_2.xsd
> "
>
> This is bad because these files can't really be saved in a shared
> repository if it includes full paths to the schema file.
>
> Does anyone know how I should modify my catalog entries so that the
> generated xml does not include absolute filesystem urls?
>
> This was realized by Martin in a comment on JBIDE-16358
>
> Any help is greatly appreciated.
>
> - Rob Stryker
> _______________________________________________
> jbosstools-dev mailing list
> jbosstools-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/jbosstools-dev
/max
http://about.me/maxandersen
_______________________________________________
jbosstools-dev mailing list
jbosstools-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbosstools-dev