W3C home > Mailing lists > Public > www-voice@w3.org > January to March 2012

Re: scxml.xsd fails with xmllint tool

From: Jacob Beard <jbeard4@cs.mcgill.ca>
Date: Wed, 22 Feb 2012 12:21:14 -0500
Message-ID: <CADywnFgZBz+sb5B+1ObwbhmtUh80+39GsRhgQHYXuk5KkpHTOg@mail.gmail.com>
To: www-voice <www-voice@w3.org>
Hi,

I was just wondering if the SCXML schema was updated in the latest
draft? The current draft links here:
http://www.w3.org/2011/04/SCXML/scxml.xsd

This is the same URL as the one I was testing in my previous message,
and my libxml-based validator is failing with the same errors, so it's
not clear whether or not the schema has been revised.

I'd greatly appreciate it if you could let me know. Thanks,

Jake

On Wed, Feb 15, 2012 at 2:46 PM, Jacob Beard <jbeard4@cs.mcgill.ca> wrote:
> Sounds good. Thank you, Jim.
>
> Jake
>
> On Wed, Feb 15, 2012 at 2:14 PM, Jim Barnett <Jim.Barnett@genesyslab.com> wrote:
>> Jacob,
>>  We are about to publish a new draft (next day or two).  I have used
>> the schema in this upcoming draft with Xerces without problems (I did
>> get errors when I used the schema from the current public draft, but I
>> don't remember having as many as you report, so there may still be
>> differences between different validators.)  I would recommend waiting
>> for the new draft.
>>
>> - Jim
>>
>> -----Original Message-----
>> From: Jacob Beard [mailto:jbeard4@cs.mcgill.ca]
>> Sent: Wednesday, February 15, 2012 1:51 PM
>> To: www-voice
>> Subject: scxml.xsd fails with xmllint tool
>>
>> Hi,
>>
>> I'm trying to use the SCXML xsd [0] to validate a very basic SCXML file
>> [1] using the xmllint command line validation tool. xmllint reports the
>> following errors while attempting to parse the SCXML
>> schema:
>>
>> jbeard@jbeard-VirtualBox:~/workspace/scion/src/test/basic$ xmllint
>> --noout --schema http://www.w3.org/2011/04/SCXML/scxml.xsd
>> basic0.scxml
>> http://www.w3.org/2011/04/SCXML/scxml-module-external.xsd:69: element
>> complexType: Schemas parser error : complex type 'scxml.send.type':
>> The content model is not determinist.
>> http://www.w3.org/2011/04/SCXML/scxml-module-external.xsd:119: element
>> complexType: Schemas parser error : complex type
>> 'scxml.finalize.type': The content model is not determinist.
>> http://www.w3.org/2011/04/SCXML/scxml-module-core.xsd:89: element
>> complexType: Schemas parser error : complex type 'scxml.scxml.type':
>> The content model is not determinist.
>> http://www.w3.org/2011/04/SCXML/scxml-module-core.xsd:119: element
>> complexType: Schemas parser error : complex type 'scxml.state.type':
>> The content model is not determinist.
>> http://www.w3.org/2011/04/SCXML/scxml-module-core.xsd:153: element
>> complexType: Schemas parser error : complex type 'scxml.onentry.type':
>> The content model is not determinist.
>> http://www.w3.org/2011/04/SCXML/scxml-module-core.xsd:168: element
>> complexType: Schemas parser error : complex type 'scxml.onexit.type':
>> The content model is not determinist.
>> http://www.w3.org/2011/04/SCXML/scxml-module-core.xsd:187: element
>> complexType: Schemas parser error : complex type
>> 'scxml.transition.type': The content model is not determinist.
>> http://www.w3.org/2011/04/SCXML/scxml-module-core.xsd:214: element
>> complexType: Schemas parser error : complex type
>> 'scxml.parallel.type': The content model is not determinist.
>> http://www.w3.org/2011/04/SCXML/scxml-module-core.xsd:281: element
>> complexType: Schemas parser error : complex type 'scxml.if.type': The
>> content model is not determinist.
>> http://www.w3.org/2011/04/SCXML/scxml-module-core.xsd:340: element
>> complexType: Schemas parser error : complex type 'scxml.foreach.type':
>> The content model is not determinist.
>> WXS schema http://www.w3.org/2011/04/SCXML/scxml.xsd failed to compile
>>
>>
>> I was wondering if scxml.xsd is known to work, and if so, whether
>> someone could recommend a validator?
>>
>> Thanks,
>>
>> Jake
>>
>> [0] http://www.w3.org/2011/04/SCXML/scxml.xsd
>> [1]
>> https://github.com/jbeard4/SCION/blob/master/src/test/basic/basic0.scxml
>>
Received on Wednesday, 22 February 2012 17:22:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 22 February 2012 17:22:11 GMT