By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,626 Members | 2,202 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,626 IT Pros & Developers. It's quick & easy.

Problem validating against Vxml 2.0 schema

P: n/a
Hello,

I am trying to validate a VXML document against the new vxml 2.0
schema, and I am getting the following errors (and a lot more like
these):

Reference to undeclared substitution group affiliation. An error
occurred at http://www.w3.org/TR/voicexml20/synthesis-core.xsd, (372,
3).

Reference to undeclared substitution group affiliation. An error
occurred at http://www.w3.org/TR/voicexml20/synthesis-core.xsd, (329,
3).

The source xml file is (taken form the vxml spec)

<?xml version="1.0" encoding="UTF-8"?>
<vxml xmlns="http://www.w3.org/2001/vxml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2001/vxml
http://www.w3.org/TR/voicexml20/vxml.xsd"
version="2.0">
<form>
<field name="drink">
<prompt>Would you like coffee, tea, milk, or nothing?</prompt>
<grammar src="drink.grxml" type="application/srgs+xml"/>
</field>
<block>
<submit next="http://www.drink.example.com/drink2.asp"/>
</block>
</form>
</vxml>

I am using a ValidatingReader to validate the document.

Any ideas on how to solve this?

Thank you very much.

Blas Croche Solana
Nov 12 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
The Voice XML schema does not compile using XmlSchemaCollection in .Net
framework 1.1 due to known issues.

"Blas Croche Solana" <bl*********@gmail.com> wrote in message
news:47*************************@posting.google.co m...
Hello,

I am trying to validate a VXML document against the new vxml 2.0
schema, and I am getting the following errors (and a lot more like
these):

Reference to undeclared substitution group affiliation. An error
occurred at http://www.w3.org/TR/voicexml20/synthesis-core.xsd, (372,
3).

Reference to undeclared substitution group affiliation. An error
occurred at http://www.w3.org/TR/voicexml20/synthesis-core.xsd, (329,
3).

The source xml file is (taken form the vxml spec)

<?xml version="1.0" encoding="UTF-8"?>
<vxml xmlns="http://www.w3.org/2001/vxml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2001/vxml
http://www.w3.org/TR/voicexml20/vxml.xsd"
version="2.0">
<form>
<field name="drink">
<prompt>Would you like coffee, tea, milk, or nothing?</prompt>
<grammar src="drink.grxml" type="application/srgs+xml"/>
</field>
<block>
<submit next="http://www.drink.example.com/drink2.asp"/>
</block>
</form>
</vxml>

I am using a ValidatingReader to validate the document.

Any ideas on how to solve this?

Thank you very much.

Blas Croche Solana

Nov 12 '05 #2

P: n/a
Are these issues going to be solved in .Net frawork 2.0, or maybe the
problem is in the VoiceXML schemas itself?
Thank you.

"Zafar Abbas [MSFT]" <za****@microsoft.com> wrote in message news:<eK**************@TK2MSFTNGP09.phx.gbl>...
The Voice XML schema does not compile using XmlSchemaCollection in .Net
framework 1.1 due to known issues.

Nov 12 '05 #3

P: n/a
The issues in the .net framework will be resolved in version 2.0

Thanks.

"Blas Croche Solana" <bl*********@gmail.com> wrote in message
news:47**************************@posting.google.c om...
Are these issues going to be solved in .Net frawork 2.0, or maybe the
problem is in the VoiceXML schemas itself?
Thank you.

"Zafar Abbas [MSFT]" <za****@microsoft.com> wrote in message

news:<eK**************@TK2MSFTNGP09.phx.gbl>...
The Voice XML schema does not compile using XmlSchemaCollection in .Net
framework 1.1 due to known issues.

Nov 12 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.