[jbosstools-issues] [JBoss JIRA] (JBDS-3119) XML Schema validation fails when importing external schema

Rob Stryker (JIRA) issues at jboss.org
Thu Jul 30 17:48:02 EDT 2015


    [ https://issues.jboss.org/browse/JBDS-3119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13094441#comment-13094441 ] 

Rob Stryker commented on JBDS-3119:
-----------------------------------

I'm not sure this is related either, but it's possing me off, so I'm grouping it with the other xml schema validation stuff. 

The following XML successfully validates:

{code}
<?xml version="1.0" encoding="UTF-8"?>
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" 
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
       xsi:schemaLocation="
       http://camel.apache.org/schema/blueprint  http://camel.apache.org/schema/blueprint/camel-blueprint.xsd">
</blueprint>
{code}

The following fails to validate:
{code}
<?xml version="1.0" encoding="UTF-8"?>
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" 
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
       xsi:schemaLocation="
       http://www.osgi.org/xmlns/blueprint/v1.0.0  http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd 
       http://camel.apache.org/schema/blueprint  http://camel.apache.org/schema/blueprint/camel-blueprint.xsd">
       
</blueprint>
{code}

The only difference is the addition of        http://www.osgi.org/xmlns/blueprint/v1.0.0  http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd   in the schemaLocation field. 

> XML Schema validation fails when importing external schema
> ----------------------------------------------------------
>
>                 Key: JBDS-3119
>                 URL: https://issues.jboss.org/browse/JBDS-3119
>             Project: Developer Studio (JBoss Developer Studio)
>          Issue Type: Bug
>          Components: 3rd-party-dependencies, server
>    Affects Versions: 8.0.0.Beta3
>            Reporter: Mustafa Musaji
>            Assignee: Rob Stryker
>         Attachments: bean-service-quickstart.zip, simplerSYexample.zip
>
>
> Product JIRA for upstream bug - https://bugs.eclipse.org/bugs/show_bug.cgi?id=315741
> This is to track the upstream bug in Eclipse that we need to pull in to JBDS at some point.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jbosstools-issues mailing list