Hi Simon,

Yeah this one is from the calculator-distributed sample, I just noticed this
one, also seen in 1.4RC1.
Though the sample is running successfully, these messages are thrown. I am
yet to investigate as what has changed?

On Fri, Dec 12, 2008 at 6:30 PM, Simon Laws <[email protected]>wrote:

>
>
> On Fri, Dec 12, 2008 at 12:29 PM, Ramkumar R <[email protected]>wrote:
>
>> I am noticing the following error messages....
>>
>> SEVERE: XMLSchema validation error occured in: null ,line = 1, column =
>> 776, Message = cvc-datatype-valid.1.2.1:
>> 'addService#AddServiceComponentB/AddService' is not a valid value for
>> 'QName'.
>> Dec 12, 2008 5:49:08 PM
>> org.apache.tuscany.sca.contribution.processor.ValidatingXMLStreamReader
>> SEVERE: XMLSchema validation error occured in: null ,line = 1, column =
>> 776, Message = cvc-attribute.3: The value
>> 'addService#AddServiceComponentB/AddService' of attribute 'name' on element
>> 'binding.sca' is not valid with respect to its typ
>> e, 'QName'.
>> Dec 12, 2008 5:49:08 PM
>> org.apache.tuscany.sca.contribution.processor.ValidatingXMLStreamReader
>> SEVERE: XMLSchema validation error occured in: null ,line = 1, column =
>> 1,002, Message = cvc-datatype-valid.1.2.1:
>> 'subtractService#SubtractServiceComponentC/SubtractService' is not a valid
>> value for 'QName'.
>> Dec 12, 2008 5:49:08 PM
>> org.apache.tuscany.sca.contribution.processor.ValidatingXMLStreamReader
>> SEVERE: XMLSchema validation error occured in: null ,line = 1, column =
>> 1,002, Message = cvc-attribute.3: The value
>> 'subtractService#SubtractServiceComponentC/SubtractService' of attribute
>> 'name' on element 'binding.sca' is not valid with r
>> espect to its type, 'QName'.
>> Dec 12, 2008 5:49:08 PM
>> org.apache.tuscany.sca.contribution.processor.ValidatingXMLStreamReader
>> SEVERE: XMLSchema validation error occured in: null ,line = 1, column =
>> 1,248, Message = cvc-datatype-valid.1.2.1:
>> 'multiplyService#MultiplyServiceComponentA/MultiplyServiceImpl' is not a
>> valid value for 'QName'.
>> Dec 12, 2008 5:49:08 PM
>> org.apache.tuscany.sca.contribution.processor.ValidatingXMLStreamReader
>> SEVERE: XMLSchema validation error occured in: null ,line = 1, column =
>> 1,248, Message = cvc-attribute.3: The value
>> 'multiplyService#MultiplyServiceComponentA/MultiplyServiceImpl' of attribute
>> 'name' on element 'binding.sca' is not valid wi
>> th respect to its type, 'QName'.
>> Dec 12, 2008 5:49:08 PM
>> org.apache.tuscany.sca.contribution.processor.ValidatingXMLStreamReader
>> SEVERE: XMLSchema validation error occured in: null ,line = 1, column =
>> 1,494, Message = cvc-datatype-valid.1.2.1:
>> 'divideService#DivideServiceComponentA/DivideServiceImpl' is not a valid
>> value for 'QName'.
>> Dec 12, 2008 5:49:08 PM
>> org.apache.tuscany.sca.contribution.processor.ValidatingXMLStreamReader
>> SEVERE: XMLSchema validation error occured in: null ,line = 1, column =
>> 1,494, Message = cvc-attribute.3: The value
>> 'divideService#DivideServiceComponentA/DivideServiceImpl' of attribute
>> 'name' on element 'binding.sca' is not valid with res
>> pect to its type, 'QName'.
>>
>> for the composite that looks like this.....
>>
>> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0";
>>            targetNamespace="http://sample";
>>            xmlns:sample="http://sample";
>>            name="CalculatorA">
>>
>>     <component name="CalculatorServiceComponentA">
>>         <implementation.java class="calculator.CalculatorServiceImpl"/>
>>         <reference name="addService" target="AddServiceComponentB" />
>>         <reference name="subtractService"
>> target="SubtractServiceComponentC" />
>>         <reference name="multiplyService"
>> target="MultiplyServiceComponentA"/>
>>         <reference name="divideService" target="DivideServiceComponentA"
>> />
>>     </component>
>>
>>     <component name="MultiplyServiceComponentA">
>>         <implementation.java class="calculator.MultiplyServiceImpl" />
>>     </component>
>>
>>     <component name="DivideServiceComponentA">
>>         <implementation.java class="calculator.DivideServiceImpl" />
>>     </component>
>>
>> </composite>
>>
>> Looks like the name of the binding calculated automatically for a default
>> binding scenario, seems have issues.
>>
>> --
>> Thanks & Regards,
>> Ramkumar Ramalingam
>>
>
> So this is calculator-distributed right? Has this just started or have you
> only just noticed it? What has changed around binding name generation or
> validation?
>
> Simon
>



-- 
Thanks & Regards,
Ramkumar Ramalingam

Reply via email to