You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Raymond Feng <en...@gmail.com> on 2009/08/10 23:38:59 UTC
Re: XMLSchema validation error Attribute 'value' is not allowed to appear in element 'property'
In sca-core-1.1-cd04.xsd, property under <component> is typed by
"PropertyValue". But the property under <composite> or <componentType> are
typed by "Property" which doesn't have an @value attribute. It seems to be
bug in the SCA XSD.
Thanks,
Raymond
--------------------------------------------------
From: "ant elder" <an...@gmail.com>
Sent: Monday, August 10, 2009 2:10 PM
To: <de...@tuscany.apache.org>
Subject: Re: XMLSchema validation error Attribute 'value' is not allowed to
appear in element 'property'
> On Mon, Aug 10, 2009 at 9:47 PM, Mike
> Edwards<mi...@gmail.com> wrote:
>> Ant,
>>
>>
>> ant elder wrote:
>>>
>>> I'm still getting property xsd schema validation errors when running
>>> the otests in eclipse even though that problem is fixed now and it
>>> runs fine when i run the tests with mvn. Does anyone else see get this
>>> problem? Is there something unusual going on with the otest eclipse
>>> setup that could cause it to pick up some previously built jar?
>>>
>>> ...ant
>>>
>>
>> What are your Eclipse settings? Have you got Eclipse configured to
>> resolve
>> the SCA XSDs to a fixed location that you have not changed? Note that we
>> had to move from sca-1.1-cd03.xsd to sca-1.1-cd04.xsd for the fix and
>> that
>> if your Eclipse setup is still pointing to cd03, then you would see the
>> error still.
>>
>>
>> Yours, Mike.
>>
>
> I've been getting this also on a fresh checkout of the otests and a
> clean eclipse workspace. On IRC Luciano suggested changing the
> Property complex type in sca-core-1.1-cd04.xsd from <anyAttribute
> namespace="##other" processContents="lax"/> to <anyAttribute
> namespace="##any" processContents="lax"/> trying that does get passed
> all the failures.
>
> ...ant