Re: [vxml21] Voice XML schema can't be parsed by some validators (was Re: Missing Schema Docs in VoiceXML 2.1)

Dear Indranil Sen,

I have got a response from Henry, and it seems the latest version of
Xerces accepts the VoiceXML 2.1 schema as OK.

So may I ask you what Xerces version you are using?

Sincerely,

Kazuyuki


Kazuyuki Ashimura wrote:
>
> Dear Indranil Sen,
>
> Sorry for the delay.
>
> I have just tried the XSV online schema validator [1] and MSV
> validator [2], and no error was reported with the VoiceXML 2.1 schema
> file [3].
>
> So it might be a problem with Xerces or MSXML.
>
> I am checking with Henry Thompson, the maintainer of the XSV validator,
> to make sure.
>
> [1]
> http://www.w3.org/2001/03/webdata/xsv?docAddrs=http%3A%2F%2Fwww.w3.org%2FTR%2F2007%2FREC-voicexml21-20070619%2Fvxml.xsd&style=xsl# 
>
> [2] https://msv.dev.java.net/
> [3] http://www.w3.org/TR/2007/REC-voicexml21-20070619/vxml.xsd
>
> Sincerely,
>
> Kazuyuki
>
>
>
> NeilSen wrote:
>>
>> 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
>>
>
>


-- 
Kazuyuki Ashimura / W3C MMI & Voice Activity Lead
mailto: ashimura@w3.org
voice: +81.466.49.1170 / fax: +81.466.49.1171

Received on Wednesday, 8 August 2007 18:31:55 UTC