You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by Tosello Davide <Da...@LOQUENDO.COM> on 2002/08/07 16:54:54 UTC

preparsing grammars with includes

Hi all,

I'm also facing with the Aleksandar Milanovic's problem (dated 2002-06-27 22:58:41), related to schema inclusions ("If schema A includes B and B includes C, then the second include will not be resolved"). I'm trying to validate a VoiceXML document that use the W3C schema:

<?xml version="1.0" encoding="UTF-8"?>
<vxml version="2.0" 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">
 <form>
  <block>hello</block>
 </form>
</vxml>

but Xerces 2.0.1 (and also 2.0.2) exits from parse() method with the following errors:

[Warning] grammar-adapter.xsd:8:53: src-include.0: Failed to read included schema document 'grammar-core.xsd'.
[Error] grammar-adapter.xsd:12:53: src-redefine.0: Failed to read redefined schema document 'grammar-core.xsd'.
[Warning] synthesis-adapter.xsd:8:55: src-include.0: Failed to read included schema document 'synthesis-core.xsd'.
[Error] synthesis-adapter.xsd:12:55: src-redefine.0: Failed to read redefined schema document 'synthesis-core.xsd'.

vxml.xsd include two other schema (adapters); each of these include another one schema, respectively 'grammar-core.xsd' and 'synthesis-core.xsd'. 

Does anyone could help me?
David




====================================================================
CONFIDENTIALITY NOTICE
This message and its attachments are addressed solely to the persons
above and may contain confidential information. If you have received
the message in error, be informed that any use of the content hereof
is prohibited. Please return it immediately to the sender and delete
the message. Should you have any questions, please contact us by
replying to MailAdmin@tilab.com. Thank you
====================================================================

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org


RE: preparsing grammars with includes

Posted by Aleksandar Milanovic <am...@galdosinc.com>.
Hello,

I see that you mentioned my email :). I think this problem was solved in the
nightly build I retrieved at the time. So try using a nightly build or wait
for an official 2.0.3 build.

Good luck!
Alex

---------------------------------------------------------------------------
Aleksandar Milanovic     | Privileged or confidential information may be
Product Manager/Engineer | contained in this message. If this message was
Cartagena Project        | not intended for you,  destroy it and notify us
Galdos Systems Inc.      | immediately. Opinions, conclusions,
Tel: (604) 484-2750      | recommendations, and other information presented
Fax: (604) 484-2755      | in this message are not given or necessarily
amilanovic@galdosinc.com | endorsed by my employer or firm.

> -----Original Message-----
> From: Tosello Davide [mailto:Davide.Tosello@LOQUENDO.COM]
> Sent: Wednesday, August 07, 2002 7:55 AM
> To: xerces-j-user@xml.apache.org
> Subject: preparsing grammars with includes
>
>
> Hi all,
>
> I'm also facing with the Aleksandar Milanovic's problem (dated
> 2002-06-27 22:58:41), related to schema inclusions ("If schema A
> includes B and B includes C, then the second include will not be
> resolved"). I'm trying to validate a VoiceXML document that use
> the W3C schema:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <vxml version="2.0" 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">
>  <form>
>   <block>hello</block>
>  </form>
> </vxml>
>
> but Xerces 2.0.1 (and also 2.0.2) exits from parse() method with
> the following errors:
>
> [Warning] grammar-adapter.xsd:8:53: src-include.0: Failed to read
> included schema document 'grammar-core.xsd'.
> [Error] grammar-adapter.xsd:12:53: src-redefine.0: Failed to read
> redefined schema document 'grammar-core.xsd'.
> [Warning] synthesis-adapter.xsd:8:55: src-include.0: Failed to
> read included schema document 'synthesis-core.xsd'.
> [Error] synthesis-adapter.xsd:12:55: src-redefine.0: Failed to
> read redefined schema document 'synthesis-core.xsd'.
>
> vxml.xsd include two other schema (adapters); each of these
> include another one schema, respectively 'grammar-core.xsd' and
> 'synthesis-core.xsd'.
>
> Does anyone could help me?
> David
>
>
>
>
> ====================================================================
> CONFIDENTIALITY NOTICE
> This message and its attachments are addressed solely to the persons
> above and may contain confidential information. If you have received
> the message in error, be informed that any use of the content hereof
> is prohibited. Please return it immediately to the sender and delete
> the message. Should you have any questions, please contact us by
> replying to MailAdmin@tilab.com. Thank you
> ====================================================================
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-j-user-help@xml.apache.org
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org