Re: Missing Schema Docs in VoiceXML 2.1

Hi Kazuyuki,

Thanks for solving the quoted problem.
Now its referencing the correct xsd.
But there seems to be an ambiguity in the definitions.

I am sending you the errors that i got while validating my vxml file
using stylus studio 2007.
Note:The errors occur while using the parser xerces as well as MSXML
I am also sending u the file which caused the problem
File:neil1.vxml

<?xml version="1.0" encoding="UTF-8"?>
<vxml xmlns="http://www.w3.org/2001/vxml" 
  version="2.1"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
  xsi:schemaLocation="http://www.w3.org/2001/vxml 
  http://www.w3.org/TR/2007/REC-voicexml21-20070619/vxml.xsd">

  <form id="get_address">
    <field name="country">
      <grammar type="application/srgs+xml" src="country.grxml"/>
      <prompt>Say a country.</prompt>
    </field>

    <field name="city">
      <grammar type="application/srgs+xml" srcexpr="country +
'/cities.grxml'"/>
      <prompt>What city in <value expr="country"/>.</prompt>
    </field>

    <field name="street">
      <grammar type="application/srgs+xml" srcexpr="country + '/' + city +
'/streets.grxml'"/>
      <prompt> What street in <value expr="city"/> are you looking for?
</prompt>
    </field>

    <filled>
      <prompt> 
       You chose 
       <value expr="street"/> 
       in 
       <value expr="city"/> 
       <value expr="country"/>
      </prompt>
      <exit/>
    </filled>
  </form>
</vxml>

Errors while parsing using stylus studio 2007
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Validating Neil1.xml...
http://www.w3.org/TR/2007/REC-voicexml21-20070619/vxml-synthesis-restriction.xsd:30,53:
Could not find a declaration in the schema to be redefined corresponding to
'say-as'
http://www.w3.org/TR/2007/REC-voicexml21-20070619/vxml-synthesis-restriction.xsd:43,52:
Could not find a declaration in the schema to be redefined corresponding to
'audio'
http://www.w3.org/TR/2007/REC-voicexml21-20070619/vxml-synthesis-restriction.xsd:55,38:
Could not find a declaration in the schema to be redefined corresponding to
'mark'
http://www.w3.org/TR/2007/REC-voicexml21-20070619/vxml-synthesis-extension.xsd:30,53:
Global complexType:'say-as' declared more than once or also declared as
simpleType
http://www.w3.org/TR/2007/REC-voicexml21-20070619/vxml-synthesis-extension.xsd:43,52:
Global complexType:'audio' declared more than once or also declared as
simpleType
http://www.w3.org/TR/2007/REC-voicexml21-20070619/vxml-synthesis-extension.xsd:55,38:
Global complexType:'mark' declared more than once or also declared as
simpleType

The XML document Neil1.xml is NOT valid (6 errors)
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Thanks in advance
~Neil

-- 
View this message in context: http://www.nabble.com/Missing-Schema-Docs-in-VoiceXML-2.1-tf4115123.html#a11824302
Sent from the w3.org - www-voice mailing list archive at Nabble.com.

Received on Friday, 27 July 2007 07:28:40 UTC