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