commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rahul Akolkar <>
Subject Re: Which XSD file can I use to validate my SCXML before I try to use it?
Date Fri, 05 Feb 2010 03:38:00 GMT
On Thu, Feb 4, 2010 at 10:01 PM, Michael McCarthy
<> wrote:
> I have a need to validate my XML file prior to trying to create an instance of it.
> So, I took the latest schema files provided by w3c and make some tweaks so that it would
> syntax supported by Commons SCXML.
> It currently passes validation for XML supported by Commons SCXML, but it may not be
strict enough
> and may still pass validation for unsupported elements & syntax.
> I would be happy to post it to this mailing list if there are folks who could review
and perhaps refine it.

Cool :-) Please attach it to a new JIRA [1] ticket and I'll take a
look within a few days. This will be a good fit for the Commons SCXML
extras [2] and we can post it there once ready.



> -Mike
> -----Original Message-----
> From: Rahul Akolkar
> Sent: Thursday, February 04, 2010 3:30 PM
> To: Commons Users List
> Subject: Re: Which XSD file can I use to validate my SCXML before I try to use it?
> On Thu, Feb 4, 2010 at 6:15 PM, Michael McCarthy
> <> wrote:
>> Hello,
>> I am looking for a way to validate my SCXML document before I try to
>> instantiate a state machine from it using Commons SCXML.
>> I have tried to use various versions of the XSD provided in the W3C
>> SCXML spec (including the latest version at:
>> but I am finding discrepancies in that schema as compared to what
>> Commons SCXML supports.
>> Could someone please point me to the definitive SCXML XSD profile that I
>> should be using to validate Commons SCXML documents?
> <snip/>
> We don't have such an XSD ATM. It'd be good to have one ofcourse -- an
> interesting exercise if someone wants to come up with the XSD for the
> subset we support then I imagine it'd be easy to maintain going
> forward.
> -Rahul
>> Thank you for any help you can provide.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message