You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@tuscany.apache.org by "Sacauskis, Mike" <Mi...@gdit.com> on 2009/03/06 21:59:08 UTC
XMLSchema validation problem in: null, line: 5, column: 3
Anybody have any idea what causes this?
Mar 6, 2009 12:54:52 PM
org.apache.tuscany.sca.contribution.processor.ValidatingXMLStreamReader$
1 error
WARNING: XMLSchema validation problem in: null, line: 5, column: 3
cvc-complex-type.2.4.a: Invalid content was found starting with element
'operation'. One of '{WC[##other:"http://www.osoa.org/xmlns/sca/1.0"]}'
is expected.
I assume it's caused by the composite file below.
<?xml version="1.0" encoding="UTF-8"?>
<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
targetNamespace="http://helloworld"
xmlns:hw="http://helloworld.gdit.com."
xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.0"
name="helloworld">
<component name="HelloWorldServiceComponent">
<implementation.java
class="helloworld.HelloWorldImpl">
<operation name="sayWorld"
requires="tuscany:logging"/>
</implementation.java>
<service name="HelloWorld">
<interface.java interface="helloworld.HelloWorld"></interface.java>
<binding.ws/>
</service>
<reference name="helloService" target="HelloComponent" />
<reference name="worldService" target="WorldComponent" />
</component>
<component name="HelloComponent">
<implementation.java class="helloworld.HelloServiceImpl"/>
</component>
<component name="WorldComponent">
<implementation.java class="helloworld.WorldServiceImpl">
</implementation.java>
</component>
Mike Sacauskis
Senior Software Engineer
General Dynamics Information Technology
8989 Rio San Diego Dr. Suite 330
San Diego, CA 92108
619.542.0240 x154
Mike.Sacauskis@gdit.com
RE: XMLSchema validation problem in: null, line: 5, column: 3
Posted by "Sacauskis, Mike" <Mi...@gdit.com>.
I see it, how do I add something to it?
-----Original Message-----
From: Luciano Resende [mailto:luckbr1975@gmail.com]
Sent: Friday, March 06, 2009 3:15 PM
To: user@tuscany.apache.org
Subject: Re: XMLSchema validation problem in: null, line: 5, column: 3
Just leave it blank and I can pick it up from the notification e-mail.
On Fri, Mar 6, 2009 at 2:46 PM, Sacauskis, Mike <Mi...@gdit.com> wrote:
> I don't see it ... yet(?)
>
> -----Original Message-----
> From: Luciano Resende [mailto:luckbr1975@gmail.com]
> Sent: Friday, March 06, 2009 2:33 PM
> To: user@tuscany.apache.org
> Subject: Re: XMLSchema validation problem in: null, line: 5, column: 3
>
> I just created the new component "Java SCA Policy", please feel free to use it.
>
> On Fri, Mar 6, 2009 at 2:24 PM, Sacauskis, Mike <Mi...@gdit.com> wrote:
>> Is there any particular category in the Jira I should put it under.
>>
>> -----Original Message-----
>> From: Luciano Resende [mailto:luckbr1975@gmail.com]
>> Sent: Friday, March 06, 2009 2:22 PM
>> To: user@tuscany.apache.org
>> Subject: Re: XMLSchema validation problem in: null, line: 5, column: 3
>>
>> Thanks, that would help me reproduce the problems easily.
>>
>> On Fri, Mar 6, 2009 at 2:16 PM, Sacauskis, Mike <Mi...@gdit.com> wrote:
>>> I'm not sure they are show stoppers. Especially the one below. I'm able to run through completion, but the logging doesn't occur (as I mentioned in an earlier post). I'll upload my test driver to jira.
>>>
>>> -----Original Message-----
>>> From: Luciano Resende [mailto:luckbr1975@gmail.com]
>>> Sent: Friday, March 06, 2009 2:11 PM
>>> To: user@tuscany.apache.org
>>> Subject: Re: XMLSchema validation problem in: null, line: 5, column: 3
>>>
>>> Mike, It looks like you are finding couple issues around your policy
>>> scenario. I was going to try to look into couple of them, but wanted
>>> to ask if you have unit test or sample apps that allow me to easily
>>> reproduce them, so I can concentrate on fixing the issues, rather then
>>> trying to reproduce them first. If you do have, I'd suggest you create
>>> a jira and provide them as patches so I could reuse, otherwise I'll
>>> create some and make it available in trunk 1.x.
>>>
>>> On Fri, Mar 6, 2009 at 12:59 PM, Sacauskis, Mike
>>> <Mi...@gdit.com> wrote:
>>>> Anybody have any idea what causes this?
>>>>
>>>>
>>>>
>>>> Mar 6, 2009 12:54:52 PM
>>>> org.apache.tuscany.sca.contribution.processor.ValidatingXMLStreamReader$1
>>>> error
>>>>
>>>> WARNING: XMLSchema validation problem in: null, line: 5, column: 3
>>>>
>>>> cvc-complex-type.2.4.a: Invalid content was found starting with element
>>>> 'operation'. One of '{WC[##other:"http://www.osoa.org/xmlns/sca/1.0"]}' is
>>>> expected.
>>>>
>>>>
>>>>
>>>> I assume it's caused by the composite file below.
>>>>
>>>>
>>>>
>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>
>>>> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
>>>>
>>>> targetNamespace="http://helloworld"
>>>>
>>>> xmlns:hw="http://helloworld.gdit.com."
>>>>
>>>> xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.0"
>>>>
>>>> name="helloworld">
>>>>
>>>>
>>>>
>>>> <component name="HelloWorldServiceComponent">
>>>>
>>>> <implementation.java class="helloworld.HelloWorldImpl">
>>>>
>>>> <operation name="sayWorld"
>>>> requires="tuscany:logging"/>
>>>>
>>>> </implementation.java>
>>>>
>>>> <service name="HelloWorld">
>>>>
>>>> <interface.java interface="helloworld.HelloWorld"></interface.java>
>>>>
>>>> <binding.ws/>
>>>>
>>>> </service>
>>>>
>>>> <reference name="helloService" target="HelloComponent" />
>>>>
>>>> <reference name="worldService" target="WorldComponent" />
>>>>
>>>> </component>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> <component name="HelloComponent">
>>>>
>>>> <implementation.java class="helloworld.HelloServiceImpl"/>
>>>>
>>>> </component>
>>>>
>>>>
>>>>
>>>> <component name="WorldComponent">
>>>>
>>>> <implementation.java class="helloworld.WorldServiceImpl">
>>>>
>>>> </implementation.java>
>>>>
>>>>
>>>>
>>>> </component>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Mike Sacauskis
>>>>
>>>> Senior Software Engineer
>>>>
>>>> General Dynamics Information Technology
>>>>
>>>>
>>>>
>>>> 8989 Rio San Diego Dr. Suite 330
>>>>
>>>> San Diego, CA 92108
>>>>
>>>> 619.542.0240 x154
>>>>
>>>> Mike.Sacauskis@gdit.com
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Luciano Resende
>>> Apache Tuscany, Apache PhotArk
>>> http://people.apache.org/~lresende
>>> http://lresende.blogspot.com/
>>>
>>
>>
>>
>> --
>> Luciano Resende
>> Apache Tuscany, Apache PhotArk
>> http://people.apache.org/~lresende
>> http://lresende.blogspot.com/
>>
>
>
>
> --
> Luciano Resende
> Apache Tuscany, Apache PhotArk
> http://people.apache.org/~lresende
> http://lresende.blogspot.com/
>
--
Luciano Resende
Apache Tuscany, Apache PhotArk
http://people.apache.org/~lresende
http://lresende.blogspot.com/
Re: XMLSchema validation problem in: null, line: 5, column: 3
Posted by Luciano Resende <lu...@gmail.com>.
Just leave it blank and I can pick it up from the notification e-mail.
On Fri, Mar 6, 2009 at 2:46 PM, Sacauskis, Mike <Mi...@gdit.com> wrote:
> I don't see it ... yet(?)
>
> -----Original Message-----
> From: Luciano Resende [mailto:luckbr1975@gmail.com]
> Sent: Friday, March 06, 2009 2:33 PM
> To: user@tuscany.apache.org
> Subject: Re: XMLSchema validation problem in: null, line: 5, column: 3
>
> I just created the new component "Java SCA Policy", please feel free to use it.
>
> On Fri, Mar 6, 2009 at 2:24 PM, Sacauskis, Mike <Mi...@gdit.com> wrote:
>> Is there any particular category in the Jira I should put it under.
>>
>> -----Original Message-----
>> From: Luciano Resende [mailto:luckbr1975@gmail.com]
>> Sent: Friday, March 06, 2009 2:22 PM
>> To: user@tuscany.apache.org
>> Subject: Re: XMLSchema validation problem in: null, line: 5, column: 3
>>
>> Thanks, that would help me reproduce the problems easily.
>>
>> On Fri, Mar 6, 2009 at 2:16 PM, Sacauskis, Mike <Mi...@gdit.com> wrote:
>>> I'm not sure they are show stoppers. Especially the one below. I'm able to run through completion, but the logging doesn't occur (as I mentioned in an earlier post). I'll upload my test driver to jira.
>>>
>>> -----Original Message-----
>>> From: Luciano Resende [mailto:luckbr1975@gmail.com]
>>> Sent: Friday, March 06, 2009 2:11 PM
>>> To: user@tuscany.apache.org
>>> Subject: Re: XMLSchema validation problem in: null, line: 5, column: 3
>>>
>>> Mike, It looks like you are finding couple issues around your policy
>>> scenario. I was going to try to look into couple of them, but wanted
>>> to ask if you have unit test or sample apps that allow me to easily
>>> reproduce them, so I can concentrate on fixing the issues, rather then
>>> trying to reproduce them first. If you do have, I'd suggest you create
>>> a jira and provide them as patches so I could reuse, otherwise I'll
>>> create some and make it available in trunk 1.x.
>>>
>>> On Fri, Mar 6, 2009 at 12:59 PM, Sacauskis, Mike
>>> <Mi...@gdit.com> wrote:
>>>> Anybody have any idea what causes this?
>>>>
>>>>
>>>>
>>>> Mar 6, 2009 12:54:52 PM
>>>> org.apache.tuscany.sca.contribution.processor.ValidatingXMLStreamReader$1
>>>> error
>>>>
>>>> WARNING: XMLSchema validation problem in: null, line: 5, column: 3
>>>>
>>>> cvc-complex-type.2.4.a: Invalid content was found starting with element
>>>> 'operation'. One of '{WC[##other:"http://www.osoa.org/xmlns/sca/1.0"]}' is
>>>> expected.
>>>>
>>>>
>>>>
>>>> I assume it's caused by the composite file below.
>>>>
>>>>
>>>>
>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>
>>>> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
>>>>
>>>> targetNamespace="http://helloworld"
>>>>
>>>> xmlns:hw="http://helloworld.gdit.com."
>>>>
>>>> xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.0"
>>>>
>>>> name="helloworld">
>>>>
>>>>
>>>>
>>>> <component name="HelloWorldServiceComponent">
>>>>
>>>> <implementation.java class="helloworld.HelloWorldImpl">
>>>>
>>>> <operation name="sayWorld"
>>>> requires="tuscany:logging"/>
>>>>
>>>> </implementation.java>
>>>>
>>>> <service name="HelloWorld">
>>>>
>>>> <interface.java interface="helloworld.HelloWorld"></interface.java>
>>>>
>>>> <binding.ws/>
>>>>
>>>> </service>
>>>>
>>>> <reference name="helloService" target="HelloComponent" />
>>>>
>>>> <reference name="worldService" target="WorldComponent" />
>>>>
>>>> </component>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> <component name="HelloComponent">
>>>>
>>>> <implementation.java class="helloworld.HelloServiceImpl"/>
>>>>
>>>> </component>
>>>>
>>>>
>>>>
>>>> <component name="WorldComponent">
>>>>
>>>> <implementation.java class="helloworld.WorldServiceImpl">
>>>>
>>>> </implementation.java>
>>>>
>>>>
>>>>
>>>> </component>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Mike Sacauskis
>>>>
>>>> Senior Software Engineer
>>>>
>>>> General Dynamics Information Technology
>>>>
>>>>
>>>>
>>>> 8989 Rio San Diego Dr. Suite 330
>>>>
>>>> San Diego, CA 92108
>>>>
>>>> 619.542.0240 x154
>>>>
>>>> Mike.Sacauskis@gdit.com
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Luciano Resende
>>> Apache Tuscany, Apache PhotArk
>>> http://people.apache.org/~lresende
>>> http://lresende.blogspot.com/
>>>
>>
>>
>>
>> --
>> Luciano Resende
>> Apache Tuscany, Apache PhotArk
>> http://people.apache.org/~lresende
>> http://lresende.blogspot.com/
>>
>
>
>
> --
> Luciano Resende
> Apache Tuscany, Apache PhotArk
> http://people.apache.org/~lresende
> http://lresende.blogspot.com/
>
--
Luciano Resende
Apache Tuscany, Apache PhotArk
http://people.apache.org/~lresende
http://lresende.blogspot.com/
RE: XMLSchema validation problem in: null, line: 5, column: 3
Posted by "Sacauskis, Mike" <Mi...@gdit.com>.
I don't see it ... yet(?)
-----Original Message-----
From: Luciano Resende [mailto:luckbr1975@gmail.com]
Sent: Friday, March 06, 2009 2:33 PM
To: user@tuscany.apache.org
Subject: Re: XMLSchema validation problem in: null, line: 5, column: 3
I just created the new component "Java SCA Policy", please feel free to use it.
On Fri, Mar 6, 2009 at 2:24 PM, Sacauskis, Mike <Mi...@gdit.com> wrote:
> Is there any particular category in the Jira I should put it under.
>
> -----Original Message-----
> From: Luciano Resende [mailto:luckbr1975@gmail.com]
> Sent: Friday, March 06, 2009 2:22 PM
> To: user@tuscany.apache.org
> Subject: Re: XMLSchema validation problem in: null, line: 5, column: 3
>
> Thanks, that would help me reproduce the problems easily.
>
> On Fri, Mar 6, 2009 at 2:16 PM, Sacauskis, Mike <Mi...@gdit.com> wrote:
>> I'm not sure they are show stoppers. Especially the one below. I'm able to run through completion, but the logging doesn't occur (as I mentioned in an earlier post). I'll upload my test driver to jira.
>>
>> -----Original Message-----
>> From: Luciano Resende [mailto:luckbr1975@gmail.com]
>> Sent: Friday, March 06, 2009 2:11 PM
>> To: user@tuscany.apache.org
>> Subject: Re: XMLSchema validation problem in: null, line: 5, column: 3
>>
>> Mike, It looks like you are finding couple issues around your policy
>> scenario. I was going to try to look into couple of them, but wanted
>> to ask if you have unit test or sample apps that allow me to easily
>> reproduce them, so I can concentrate on fixing the issues, rather then
>> trying to reproduce them first. If you do have, I'd suggest you create
>> a jira and provide them as patches so I could reuse, otherwise I'll
>> create some and make it available in trunk 1.x.
>>
>> On Fri, Mar 6, 2009 at 12:59 PM, Sacauskis, Mike
>> <Mi...@gdit.com> wrote:
>>> Anybody have any idea what causes this?
>>>
>>>
>>>
>>> Mar 6, 2009 12:54:52 PM
>>> org.apache.tuscany.sca.contribution.processor.ValidatingXMLStreamReader$1
>>> error
>>>
>>> WARNING: XMLSchema validation problem in: null, line: 5, column: 3
>>>
>>> cvc-complex-type.2.4.a: Invalid content was found starting with element
>>> 'operation'. One of '{WC[##other:"http://www.osoa.org/xmlns/sca/1.0"]}' is
>>> expected.
>>>
>>>
>>>
>>> I assume it's caused by the composite file below.
>>>
>>>
>>>
>>> <?xml version="1.0" encoding="UTF-8"?>
>>>
>>> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
>>>
>>> targetNamespace="http://helloworld"
>>>
>>> xmlns:hw="http://helloworld.gdit.com."
>>>
>>> xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.0"
>>>
>>> name="helloworld">
>>>
>>>
>>>
>>> <component name="HelloWorldServiceComponent">
>>>
>>> <implementation.java class="helloworld.HelloWorldImpl">
>>>
>>> <operation name="sayWorld"
>>> requires="tuscany:logging"/>
>>>
>>> </implementation.java>
>>>
>>> <service name="HelloWorld">
>>>
>>> <interface.java interface="helloworld.HelloWorld"></interface.java>
>>>
>>> <binding.ws/>
>>>
>>> </service>
>>>
>>> <reference name="helloService" target="HelloComponent" />
>>>
>>> <reference name="worldService" target="WorldComponent" />
>>>
>>> </component>
>>>
>>>
>>>
>>>
>>>
>>> <component name="HelloComponent">
>>>
>>> <implementation.java class="helloworld.HelloServiceImpl"/>
>>>
>>> </component>
>>>
>>>
>>>
>>> <component name="WorldComponent">
>>>
>>> <implementation.java class="helloworld.WorldServiceImpl">
>>>
>>> </implementation.java>
>>>
>>>
>>>
>>> </component>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> Mike Sacauskis
>>>
>>> Senior Software Engineer
>>>
>>> General Dynamics Information Technology
>>>
>>>
>>>
>>> 8989 Rio San Diego Dr. Suite 330
>>>
>>> San Diego, CA 92108
>>>
>>> 619.542.0240 x154
>>>
>>> Mike.Sacauskis@gdit.com
>>>
>>>
>>
>>
>>
>> --
>> Luciano Resende
>> Apache Tuscany, Apache PhotArk
>> http://people.apache.org/~lresende
>> http://lresende.blogspot.com/
>>
>
>
>
> --
> Luciano Resende
> Apache Tuscany, Apache PhotArk
> http://people.apache.org/~lresende
> http://lresende.blogspot.com/
>
--
Luciano Resende
Apache Tuscany, Apache PhotArk
http://people.apache.org/~lresende
http://lresende.blogspot.com/
Re: XMLSchema validation problem in: null, line: 5, column: 3
Posted by Luciano Resende <lu...@gmail.com>.
I just created the new component "Java SCA Policy", please feel free to use it.
On Fri, Mar 6, 2009 at 2:24 PM, Sacauskis, Mike <Mi...@gdit.com> wrote:
> Is there any particular category in the Jira I should put it under.
>
> -----Original Message-----
> From: Luciano Resende [mailto:luckbr1975@gmail.com]
> Sent: Friday, March 06, 2009 2:22 PM
> To: user@tuscany.apache.org
> Subject: Re: XMLSchema validation problem in: null, line: 5, column: 3
>
> Thanks, that would help me reproduce the problems easily.
>
> On Fri, Mar 6, 2009 at 2:16 PM, Sacauskis, Mike <Mi...@gdit.com> wrote:
>> I'm not sure they are show stoppers. Especially the one below. I'm able to run through completion, but the logging doesn't occur (as I mentioned in an earlier post). I'll upload my test driver to jira.
>>
>> -----Original Message-----
>> From: Luciano Resende [mailto:luckbr1975@gmail.com]
>> Sent: Friday, March 06, 2009 2:11 PM
>> To: user@tuscany.apache.org
>> Subject: Re: XMLSchema validation problem in: null, line: 5, column: 3
>>
>> Mike, It looks like you are finding couple issues around your policy
>> scenario. I was going to try to look into couple of them, but wanted
>> to ask if you have unit test or sample apps that allow me to easily
>> reproduce them, so I can concentrate on fixing the issues, rather then
>> trying to reproduce them first. If you do have, I'd suggest you create
>> a jira and provide them as patches so I could reuse, otherwise I'll
>> create some and make it available in trunk 1.x.
>>
>> On Fri, Mar 6, 2009 at 12:59 PM, Sacauskis, Mike
>> <Mi...@gdit.com> wrote:
>>> Anybody have any idea what causes this?
>>>
>>>
>>>
>>> Mar 6, 2009 12:54:52 PM
>>> org.apache.tuscany.sca.contribution.processor.ValidatingXMLStreamReader$1
>>> error
>>>
>>> WARNING: XMLSchema validation problem in: null, line: 5, column: 3
>>>
>>> cvc-complex-type.2.4.a: Invalid content was found starting with element
>>> 'operation'. One of '{WC[##other:"http://www.osoa.org/xmlns/sca/1.0"]}' is
>>> expected.
>>>
>>>
>>>
>>> I assume it's caused by the composite file below.
>>>
>>>
>>>
>>> <?xml version="1.0" encoding="UTF-8"?>
>>>
>>> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
>>>
>>> targetNamespace="http://helloworld"
>>>
>>> xmlns:hw="http://helloworld.gdit.com."
>>>
>>> xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.0"
>>>
>>> name="helloworld">
>>>
>>>
>>>
>>> <component name="HelloWorldServiceComponent">
>>>
>>> <implementation.java class="helloworld.HelloWorldImpl">
>>>
>>> <operation name="sayWorld"
>>> requires="tuscany:logging"/>
>>>
>>> </implementation.java>
>>>
>>> <service name="HelloWorld">
>>>
>>> <interface.java interface="helloworld.HelloWorld"></interface.java>
>>>
>>> <binding.ws/>
>>>
>>> </service>
>>>
>>> <reference name="helloService" target="HelloComponent" />
>>>
>>> <reference name="worldService" target="WorldComponent" />
>>>
>>> </component>
>>>
>>>
>>>
>>>
>>>
>>> <component name="HelloComponent">
>>>
>>> <implementation.java class="helloworld.HelloServiceImpl"/>
>>>
>>> </component>
>>>
>>>
>>>
>>> <component name="WorldComponent">
>>>
>>> <implementation.java class="helloworld.WorldServiceImpl">
>>>
>>> </implementation.java>
>>>
>>>
>>>
>>> </component>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> Mike Sacauskis
>>>
>>> Senior Software Engineer
>>>
>>> General Dynamics Information Technology
>>>
>>>
>>>
>>> 8989 Rio San Diego Dr. Suite 330
>>>
>>> San Diego, CA 92108
>>>
>>> 619.542.0240 x154
>>>
>>> Mike.Sacauskis@gdit.com
>>>
>>>
>>
>>
>>
>> --
>> Luciano Resende
>> Apache Tuscany, Apache PhotArk
>> http://people.apache.org/~lresende
>> http://lresende.blogspot.com/
>>
>
>
>
> --
> Luciano Resende
> Apache Tuscany, Apache PhotArk
> http://people.apache.org/~lresende
> http://lresende.blogspot.com/
>
--
Luciano Resende
Apache Tuscany, Apache PhotArk
http://people.apache.org/~lresende
http://lresende.blogspot.com/
RE: XMLSchema validation problem in: null, line: 5, column: 3
Posted by "Sacauskis, Mike" <Mi...@gdit.com>.
Is there any particular category in the Jira I should put it under.
-----Original Message-----
From: Luciano Resende [mailto:luckbr1975@gmail.com]
Sent: Friday, March 06, 2009 2:22 PM
To: user@tuscany.apache.org
Subject: Re: XMLSchema validation problem in: null, line: 5, column: 3
Thanks, that would help me reproduce the problems easily.
On Fri, Mar 6, 2009 at 2:16 PM, Sacauskis, Mike <Mi...@gdit.com> wrote:
> I'm not sure they are show stoppers. Especially the one below. I'm able to run through completion, but the logging doesn't occur (as I mentioned in an earlier post). I'll upload my test driver to jira.
>
> -----Original Message-----
> From: Luciano Resende [mailto:luckbr1975@gmail.com]
> Sent: Friday, March 06, 2009 2:11 PM
> To: user@tuscany.apache.org
> Subject: Re: XMLSchema validation problem in: null, line: 5, column: 3
>
> Mike, It looks like you are finding couple issues around your policy
> scenario. I was going to try to look into couple of them, but wanted
> to ask if you have unit test or sample apps that allow me to easily
> reproduce them, so I can concentrate on fixing the issues, rather then
> trying to reproduce them first. If you do have, I'd suggest you create
> a jira and provide them as patches so I could reuse, otherwise I'll
> create some and make it available in trunk 1.x.
>
> On Fri, Mar 6, 2009 at 12:59 PM, Sacauskis, Mike
> <Mi...@gdit.com> wrote:
>> Anybody have any idea what causes this?
>>
>>
>>
>> Mar 6, 2009 12:54:52 PM
>> org.apache.tuscany.sca.contribution.processor.ValidatingXMLStreamReader$1
>> error
>>
>> WARNING: XMLSchema validation problem in: null, line: 5, column: 3
>>
>> cvc-complex-type.2.4.a: Invalid content was found starting with element
>> 'operation'. One of '{WC[##other:"http://www.osoa.org/xmlns/sca/1.0"]}' is
>> expected.
>>
>>
>>
>> I assume it's caused by the composite file below.
>>
>>
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>>
>> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
>>
>> targetNamespace="http://helloworld"
>>
>> xmlns:hw="http://helloworld.gdit.com."
>>
>> xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.0"
>>
>> name="helloworld">
>>
>>
>>
>> <component name="HelloWorldServiceComponent">
>>
>> <implementation.java class="helloworld.HelloWorldImpl">
>>
>> <operation name="sayWorld"
>> requires="tuscany:logging"/>
>>
>> </implementation.java>
>>
>> <service name="HelloWorld">
>>
>> <interface.java interface="helloworld.HelloWorld"></interface.java>
>>
>> <binding.ws/>
>>
>> </service>
>>
>> <reference name="helloService" target="HelloComponent" />
>>
>> <reference name="worldService" target="WorldComponent" />
>>
>> </component>
>>
>>
>>
>>
>>
>> <component name="HelloComponent">
>>
>> <implementation.java class="helloworld.HelloServiceImpl"/>
>>
>> </component>
>>
>>
>>
>> <component name="WorldComponent">
>>
>> <implementation.java class="helloworld.WorldServiceImpl">
>>
>> </implementation.java>
>>
>>
>>
>> </component>
>>
>>
>>
>>
>>
>>
>>
>> Mike Sacauskis
>>
>> Senior Software Engineer
>>
>> General Dynamics Information Technology
>>
>>
>>
>> 8989 Rio San Diego Dr. Suite 330
>>
>> San Diego, CA 92108
>>
>> 619.542.0240 x154
>>
>> Mike.Sacauskis@gdit.com
>>
>>
>
>
>
> --
> Luciano Resende
> Apache Tuscany, Apache PhotArk
> http://people.apache.org/~lresende
> http://lresende.blogspot.com/
>
--
Luciano Resende
Apache Tuscany, Apache PhotArk
http://people.apache.org/~lresende
http://lresende.blogspot.com/
Re: XMLSchema validation problem in: null, line: 5, column: 3
Posted by Luciano Resende <lu...@gmail.com>.
Thanks, that would help me reproduce the problems easily.
On Fri, Mar 6, 2009 at 2:16 PM, Sacauskis, Mike <Mi...@gdit.com> wrote:
> I'm not sure they are show stoppers. Especially the one below. I'm able to run through completion, but the logging doesn't occur (as I mentioned in an earlier post). I'll upload my test driver to jira.
>
> -----Original Message-----
> From: Luciano Resende [mailto:luckbr1975@gmail.com]
> Sent: Friday, March 06, 2009 2:11 PM
> To: user@tuscany.apache.org
> Subject: Re: XMLSchema validation problem in: null, line: 5, column: 3
>
> Mike, It looks like you are finding couple issues around your policy
> scenario. I was going to try to look into couple of them, but wanted
> to ask if you have unit test or sample apps that allow me to easily
> reproduce them, so I can concentrate on fixing the issues, rather then
> trying to reproduce them first. If you do have, I'd suggest you create
> a jira and provide them as patches so I could reuse, otherwise I'll
> create some and make it available in trunk 1.x.
>
> On Fri, Mar 6, 2009 at 12:59 PM, Sacauskis, Mike
> <Mi...@gdit.com> wrote:
>> Anybody have any idea what causes this?
>>
>>
>>
>> Mar 6, 2009 12:54:52 PM
>> org.apache.tuscany.sca.contribution.processor.ValidatingXMLStreamReader$1
>> error
>>
>> WARNING: XMLSchema validation problem in: null, line: 5, column: 3
>>
>> cvc-complex-type.2.4.a: Invalid content was found starting with element
>> 'operation'. One of '{WC[##other:"http://www.osoa.org/xmlns/sca/1.0"]}' is
>> expected.
>>
>>
>>
>> I assume it's caused by the composite file below.
>>
>>
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>>
>> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
>>
>> targetNamespace="http://helloworld"
>>
>> xmlns:hw="http://helloworld.gdit.com."
>>
>> xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.0"
>>
>> name="helloworld">
>>
>>
>>
>> <component name="HelloWorldServiceComponent">
>>
>> <implementation.java class="helloworld.HelloWorldImpl">
>>
>> <operation name="sayWorld"
>> requires="tuscany:logging"/>
>>
>> </implementation.java>
>>
>> <service name="HelloWorld">
>>
>> <interface.java interface="helloworld.HelloWorld"></interface.java>
>>
>> <binding.ws/>
>>
>> </service>
>>
>> <reference name="helloService" target="HelloComponent" />
>>
>> <reference name="worldService" target="WorldComponent" />
>>
>> </component>
>>
>>
>>
>>
>>
>> <component name="HelloComponent">
>>
>> <implementation.java class="helloworld.HelloServiceImpl"/>
>>
>> </component>
>>
>>
>>
>> <component name="WorldComponent">
>>
>> <implementation.java class="helloworld.WorldServiceImpl">
>>
>> </implementation.java>
>>
>>
>>
>> </component>
>>
>>
>>
>>
>>
>>
>>
>> Mike Sacauskis
>>
>> Senior Software Engineer
>>
>> General Dynamics Information Technology
>>
>>
>>
>> 8989 Rio San Diego Dr. Suite 330
>>
>> San Diego, CA 92108
>>
>> 619.542.0240 x154
>>
>> Mike.Sacauskis@gdit.com
>>
>>
>
>
>
> --
> Luciano Resende
> Apache Tuscany, Apache PhotArk
> http://people.apache.org/~lresende
> http://lresende.blogspot.com/
>
--
Luciano Resende
Apache Tuscany, Apache PhotArk
http://people.apache.org/~lresende
http://lresende.blogspot.com/
RE: XMLSchema validation problem in: null, line: 5, column: 3
Posted by "Sacauskis, Mike" <Mi...@gdit.com>.
I'm not sure they are show stoppers. Especially the one below. I'm able to run through completion, but the logging doesn't occur (as I mentioned in an earlier post). I'll upload my test driver to jira.
-----Original Message-----
From: Luciano Resende [mailto:luckbr1975@gmail.com]
Sent: Friday, March 06, 2009 2:11 PM
To: user@tuscany.apache.org
Subject: Re: XMLSchema validation problem in: null, line: 5, column: 3
Mike, It looks like you are finding couple issues around your policy
scenario. I was going to try to look into couple of them, but wanted
to ask if you have unit test or sample apps that allow me to easily
reproduce them, so I can concentrate on fixing the issues, rather then
trying to reproduce them first. If you do have, I'd suggest you create
a jira and provide them as patches so I could reuse, otherwise I'll
create some and make it available in trunk 1.x.
On Fri, Mar 6, 2009 at 12:59 PM, Sacauskis, Mike
<Mi...@gdit.com> wrote:
> Anybody have any idea what causes this?
>
>
>
> Mar 6, 2009 12:54:52 PM
> org.apache.tuscany.sca.contribution.processor.ValidatingXMLStreamReader$1
> error
>
> WARNING: XMLSchema validation problem in: null, line: 5, column: 3
>
> cvc-complex-type.2.4.a: Invalid content was found starting with element
> 'operation'. One of '{WC[##other:"http://www.osoa.org/xmlns/sca/1.0"]}' is
> expected.
>
>
>
> I assume it's caused by the composite file below.
>
>
>
> <?xml version="1.0" encoding="UTF-8"?>
>
> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
>
> targetNamespace="http://helloworld"
>
> xmlns:hw="http://helloworld.gdit.com."
>
> xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.0"
>
> name="helloworld">
>
>
>
> <component name="HelloWorldServiceComponent">
>
> <implementation.java class="helloworld.HelloWorldImpl">
>
> <operation name="sayWorld"
> requires="tuscany:logging"/>
>
> </implementation.java>
>
> <service name="HelloWorld">
>
> <interface.java interface="helloworld.HelloWorld"></interface.java>
>
> <binding.ws/>
>
> </service>
>
> <reference name="helloService" target="HelloComponent" />
>
> <reference name="worldService" target="WorldComponent" />
>
> </component>
>
>
>
>
>
> <component name="HelloComponent">
>
> <implementation.java class="helloworld.HelloServiceImpl"/>
>
> </component>
>
>
>
> <component name="WorldComponent">
>
> <implementation.java class="helloworld.WorldServiceImpl">
>
> </implementation.java>
>
>
>
> </component>
>
>
>
>
>
>
>
> Mike Sacauskis
>
> Senior Software Engineer
>
> General Dynamics Information Technology
>
>
>
> 8989 Rio San Diego Dr. Suite 330
>
> San Diego, CA 92108
>
> 619.542.0240 x154
>
> Mike.Sacauskis@gdit.com
>
>
--
Luciano Resende
Apache Tuscany, Apache PhotArk
http://people.apache.org/~lresende
http://lresende.blogspot.com/
Re: XMLSchema validation problem in: null, line: 5, column: 3
Posted by Luciano Resende <lu...@gmail.com>.
Mike, It looks like you are finding couple issues around your policy
scenario. I was going to try to look into couple of them, but wanted
to ask if you have unit test or sample apps that allow me to easily
reproduce them, so I can concentrate on fixing the issues, rather then
trying to reproduce them first. If you do have, I'd suggest you create
a jira and provide them as patches so I could reuse, otherwise I'll
create some and make it available in trunk 1.x.
On Fri, Mar 6, 2009 at 12:59 PM, Sacauskis, Mike
<Mi...@gdit.com> wrote:
> Anybody have any idea what causes this?
>
>
>
> Mar 6, 2009 12:54:52 PM
> org.apache.tuscany.sca.contribution.processor.ValidatingXMLStreamReader$1
> error
>
> WARNING: XMLSchema validation problem in: null, line: 5, column: 3
>
> cvc-complex-type.2.4.a: Invalid content was found starting with element
> 'operation'. One of '{WC[##other:"http://www.osoa.org/xmlns/sca/1.0"]}' is
> expected.
>
>
>
> I assume it’s caused by the composite file below.
>
>
>
> <?xml version="1.0" encoding="UTF-8"?>
>
> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
>
> targetNamespace="http://helloworld"
>
> xmlns:hw="http://helloworld.gdit.com."
>
> xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.0"
>
> name="helloworld">
>
>
>
> <component name="HelloWorldServiceComponent">
>
> <implementation.java class="helloworld.HelloWorldImpl">
>
> <operation name="sayWorld"
> requires="tuscany:logging"/>
>
> </implementation.java>
>
> <service name="HelloWorld">
>
> <interface.java interface="helloworld.HelloWorld"></interface.java>
>
> <binding.ws/>
>
> </service>
>
> <reference name="helloService" target="HelloComponent" />
>
> <reference name="worldService" target="WorldComponent" />
>
> </component>
>
>
>
>
>
> <component name="HelloComponent">
>
> <implementation.java class="helloworld.HelloServiceImpl"/>
>
> </component>
>
>
>
> <component name="WorldComponent">
>
> <implementation.java class="helloworld.WorldServiceImpl">
>
> </implementation.java>
>
>
>
> </component>
>
>
>
>
>
>
>
> Mike Sacauskis
>
> Senior Software Engineer
>
> General Dynamics Information Technology
>
>
>
> 8989 Rio San Diego Dr. Suite 330
>
> San Diego, CA 92108
>
> 619.542.0240 x154
>
> Mike.Sacauskis@gdit.com
>
>
--
Luciano Resende
Apache Tuscany, Apache PhotArk
http://people.apache.org/~lresende
http://lresende.blogspot.com/