You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Dan Becker (JIRA)" <de...@tuscany.apache.org> on 2009/02/25 15:41:02 UTC

[jira] Reopened: (TUSCANY-2856) 'property' validation conflicts with osoa spec

     [ https://issues.apache.org/jira/browse/TUSCANY-2856?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Becker reopened TUSCANY-2856:
---------------------------------


I see when running itest-jms PolicyHeadersTestCase the following error:
Feb 25, 2009 8:26:37 AM org.apache.tuscany.sca.contribution.processor.ValidatingXMLStreamReader
SEVERE: XMLSchema validation error occured in: null ,line = 25, column = 19, Message = cvc-type.3.1.1: Element 'property' is a simple type, so it cannot have attributes, excepting those whose namespace name is identical to 'http://www.w3.org/2001/XMLSchema-instance' and whose [local name] is one of 'type', 'nil', 'schemaLocation' or 'noNamespaceSchemaLocation'. However, the attribute, 'name' was found.

This appears to be the same error as reported by Christopher. I will look into this.

> 'property' validation conflicts with osoa spec
> ----------------------------------------------
>
>                 Key: TUSCANY-2856
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2856
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA JMS Binding Extension
>    Affects Versions: Java-SCA-1.4
>         Environment: Java JMS Binding extention
>            Reporter: Christopher N. Ortiz
>            Assignee: Dan Becker
>
> The validation of 'property' element like this <property name="propName" type="string">myvalue</property> produced this error:
> Element 'property' is a simple type, so it cannot have attributes, excepting those whose namespace name is identical to 'http://www.w3.org/2001/XMLSchema-instance' and whose [local name] is one of 'type', 'nil', 'schemaLocation' or 'noNamespaceSchemaLocation'. However, the attribute, 'name' was found. XMLSchema validation error occured in: null ,line = -1, column = -1, Message = cvc-type.3.1.1:
> But the OSOA SCA JMS spec defines property in header element like this:
> <property name="NMTOKEN" type="NMTOKEN">*

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.