[jbosstools-issues] [JBoss JIRA] (JBIDE-21685) wildfly-helloworld-ws indicates arquillian xsd is incorrect

Aslak Knutsen (JIRA) issues at jboss.org
Tue Feb 16 10:23:01 EST 2016


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

Aslak Knutsen commented on JBIDE-21685:
---------------------------------------

It seems to validate perfectly fine here.

Our xsd define the XMLSchema as the default namespace (xmlns=http...) and not under the xs namespace (xmlns:xs=http..).

[code]
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
[code}

vs 

[code]
<schema xmlns="http://www.w3.org/2001/XMLSchema">
[code]

So unless I have completely forgotten how XML work I believe our XSD is correct as it is.

> wildfly-helloworld-ws indicates arquillian xsd is incorrect
> -----------------------------------------------------------
>
>                 Key: JBIDE-21685
>                 URL: https://issues.jboss.org/browse/JBIDE-21685
>             Project: Tools (JBoss Tools)
>          Issue Type: Sub-task
>          Components: server, upstream
>    Affects Versions: 4.3.1.Beta2
>            Reporter: Rob Stryker
>             Fix For: 4.3.1.CR1, 4.4.0.Alpha1
>
>
> The following error is presented on the wildfly quickstarts 10.x branch for the wildfly-helloworld-ws project:
> Multiple annotations found at this line:
> 	- schema_reference.4: Failed to read schema document 'http://jboss.org/schema/arquillian/arquillian_1_0.xsd', because 1) could not 
> 	 find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
> 	- cvc-elt.1: Cannot find the declaration of element 'arquillian'.
> After viewing the xsd at http://jboss.org/schema/arquillian/arquillian_1_0.xsd, it's shown that the root element is `schema` rather than `xsd:schema`



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list