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, 15 Feb 2012 14:46:09 -0500
Message-ID: <CADywnFgHLoKabuTU1vkZVG3zGYx+BDTt-H24Kh3Vq9Q6Reck=w@mail.gmail.com>
To: Jim Barnett <Jim.Barnett@genesyslab.com>
Cc: www-voice <www-voice@w3.org>
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, 15 February 2012 19:46:55 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 15 February 2012 19:47:04 GMT