Re: scxml.xsd fails with xmllint tool

Sounds good, thank you Jim.

Jake

On Wed, Feb 22, 2012 at 12:36 PM, Jim Barnett
<Jim.Barnett@genesyslab.com> wrote:
> Jake,
>  It looks to me like they have been updated, since the file modified date is ' 26-Jan-2012' for the relevant files.  Just to be sure,  I'm attaching my local copies of the schema files.  I have used these with Xerces without problems.
>
> - Jim
>
> -----Original Message-----
> From: Jacob Beard [mailto:jbeard4@cs.mcgill.ca]
> Sent: Wednesday, February 22, 2012 12:21 PM
> To: www-voice
> Subject: Re: scxml.xsd fails with xmllint tool
>
> 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.sc
>>> xml
>>>
>

Received on Wednesday, 22 February 2012 17:47:55 UTC