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/19 21:10:01 UTC

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

    [ https://issues.apache.org/jira/browse/TUSCANY-2856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12675112#action_12675112 ] 

Dan Becker commented on TUSCANY-2856:
-------------------------------------

Christopher,
On which element of the JMS binding did you specify this property? I tried the following property and found no validation error:
   <binding.jms uri="jms:testQueue" >
      <headers>
         <property name="propName" type="string">myvalue</property>
      </headers>
   </binding.jms>

I will test other locations for properties in binding.jms to see if Tuscany has different validations. I will report back here if I find a specific location that has a problem.

If you have a sample that demonstrates the validation issue, please comment here.


> '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.