You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@xmlbeans.apache.org by Gene Holmerud <ge...@cox.net> on 2005/05/05 07:36:52 UTC
Still pretty nubie
What do Schema Compiler error messages like the following indicate? I've
done a number of Google searches with little success:
error: Expected annotation@http://www.w3c.org/2001/XMLSchema
all@http://www.w3c.org/2001/XMLSchema
simpleContent@http://www.w3c.org/2001/XMLSchema
complexContent@http://www.w3c.org/2001/XMLSchema
etc.?
Appreciations,
Gene
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: user-help@xmlbeans.apache.org
Re: Still pretty nubie
Posted by Gene Holmerud <ge...@cox.net>.
Thanks David. V2 added the following phrase between "error:" and
"Expected" (but no line #'s):
cvc-complex-type.2.4a
Yes, it's very likely I have a syntax error. As I mentioned to Zare, I'm
going to a small subset of my .xml and .xsd to get moving again.
Gene
On Thu, 5 May 2005 07:18:44 -0700, David Jencks <dj...@apache.org> wrote:
> It looks to me as if your schema is invalid according to the schema
> schema. IIUC the xmlbeans parser/validator got to a place in your
> schema where the next allowed element is one of the reported ones but
> found something else. IIRC xmlbeans v2 reports line numbers which are
> very helpful to me in locating the problem.
>
> thanks
> david jencks
>
> On May 4, 2005, at 10:36 PM, Gene Holmerud wrote:
>
>> What do Schema Compiler error messages like the following indicate?
>> I've done a number of Google searches with little success:
>>
>> error: Expected annotation@http://www.w3c.org/2001/XMLSchema
>> all@http://www.w3c.org/2001/XMLSchema
>> simpleContent@http://www.w3c.org/2001/XMLSchema
>> complexContent@http://www.w3c.org/2001/XMLSchema
>> etc.?
>>
>> Appreciations,
>> Gene
>>
>> -- Using M2, Opera's revolutionary e-mail client:
>> http://www.opera.com/m2/
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
>> For additional commands, e-mail: user-help@xmlbeans.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
> For additional commands, e-mail: user-help@xmlbeans.apache.org
>
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: user-help@xmlbeans.apache.org
Re: Still pretty nubie
Posted by David Jencks <dj...@apache.org>.
It looks to me as if your schema is invalid according to the schema
schema. IIUC the xmlbeans parser/validator got to a place in your
schema where the next allowed element is one of the reported ones but
found something else. IIRC xmlbeans v2 reports line numbers which are
very helpful to me in locating the problem.
thanks
david jencks
On May 4, 2005, at 10:36 PM, Gene Holmerud wrote:
> What do Schema Compiler error messages like the following indicate?
> I've done a number of Google searches with little success:
>
> error: Expected annotation@http://www.w3c.org/2001/XMLSchema
> all@http://www.w3c.org/2001/XMLSchema
> simpleContent@http://www.w3c.org/2001/XMLSchema
> complexContent@http://www.w3c.org/2001/XMLSchema
> etc.?
>
> Appreciations,
> Gene
>
> --
> Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
> For additional commands, e-mail: user-help@xmlbeans.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: user-help@xmlbeans.apache.org