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

undeclared namespace in the SCXML document example

From: <spam.spam.spam.spam@free.fr>
Date: Tue, 12 Feb 2013 09:21:49 +0100 (CET)
To: www-voice@w3.org
Message-ID: <295532416.272853980.1360657309785.JavaMail.root@zimbra41-e7.priv.proxad.net>
Hello,

In section G.1 [1] I can read:
'<xi:include href="SCXMLExamples/Test2Sub1.xml" parse="text"/>'

But you have forgotten the namespace declaration:
'<scxml xmlns="http://www.w3.org/2005/07/scxml"
       version="1.0"
       initial="Main"
       datamodel="ecmascript">'

I suggest to replace the previous line by this:
'<scxml xmlns="http://www.w3.org/2005/07/scxml"
       xmlns:xi="http://www.w3.org/2001/XInclude"
       version="1.0"
       initial="Main"
       datamodel="ecmascript">'

Thank you.
Regards.

[1] http://www.w3.org/TR/2012/WD-scxml-20121206/#N1179B
Received on Tuesday, 12 February 2013 08:22:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 12 February 2013 08:22:20 GMT