472,973 Members | 2,312 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,973 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 2228
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
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
3
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

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.