473,327 Members | 2,118 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

Problem validating against Vxml 2.0 schema

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
3 2242
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Will | last post by:
I have been having problems validating an XForms document against the XForms schema located at http://www.w3.org/MarkUp/Forms/2002/XForms-Schema.xsd. I have reduced the XForm to its bare bones...
4
by: billcoumbe | last post by:
any recommendations? I'm looking for something that will just run from the unix command line to validate large (20-50Mb) XML files against an XML DTD. Ideally something that is actively...
1
by: Christian | last post by:
Hi, I load an Xml-file "customers.xml" into a DataSet (works fine) but then how do I validate it against a schema (e.g. customers.xsd) ? my customers.xml: <?xml version="1.0"...
2
by: Joris Janssens | last post by:
I'm trying to write a program for validating XHTML 1.1-documents against the XHTML 1.1 DTD (which is actually the same as validating an XML-file) but I always get a "(404) Not found" error. This...
3
by: Shailendra Batham | last post by:
hi guys I need your suggestions / opinion for doing this the right way. I have a XML and a Schema for the same What I want is when its validated against the schema, it should give custom...
0
by: RJN | last post by:
Hi My web service receives an object of type say MyObject. I want to serialize this object,and then validate the xml against the main xsd. When validation happens, it should also validate...
2
by: srujana | last post by:
Hi I am validating an xml document against schema . when i am passing the xml file location as an input to the parse method String XmlDocumentUrl="E:/books.xml"; parser.parse(XmlDocumentUrl);...
7
by: =?Utf-8?B?Q29kZVJhem9y?= | last post by:
I wrote a method to validate and xml file against a schema. If the file does not conform to the schema, it throws an error. It works fine except for one curious thing. If I try to validate an...
4
by: agda.karlberg | last post by:
Hello, I need to remove the DTD reference from an xml document, the reason for this is that we want to validate against a schema instead (which we have locally). It takes up to a minute to fetch...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.