You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@xmlbeans.apache.org by Patrick Zeits <Pa...@mobeon.com> on 2004/11/09 13:08:15 UTC

Problem with VoiceXML

I tried to compile W3Cs voiceXML 2.0 schemas to beans but all I got was
the following error:

----------------------------8<------------------------------------------
-----

Loading schema file vxml.xsd
Loading referenced file vxml-datatypes.xsd
Loading referenced file vxml-attribs.xsd
Loading referenced file vxml-grammar-extension.xsd
Loading referenced file vxml-synthesis-extension.xsd
Loading referenced file vxml-grammar-restriction.xsd
Loading referenced file vxml-synthesis-restriction.xsd
Loading referenced file grammar-core.xsd
Loading referenced file synthesis-core.xsd
Exception in thread "main" java.lang.ClassCastException
        at
org.apache.xmlbeans.impl.schema.StscTranslator$RedefinitionHolder.com
plainAboutMissingDefinitions(StscTranslator.java:264)
        at
org.apache.xmlbeans.impl.schema.StscTranslator.addAllDefinitions(Stsc
Translator.java:144)
        at
org.apache.xmlbeans.impl.schema.StscTranslator.addAllDefinitions(Stsc
Translator.java:60)
        at
org.apache.xmlbeans.impl.schema.SchemaTypeSystemCompiler.compileImpl(
SchemaTypeSystemCompiler.java:194)
        at
org.apache.xmlbeans.impl.schema.SchemaTypeSystemCompiler.compile(Sche
maTypeSystemCompiler.java:144)
        at
org.apache.xmlbeans.impl.tool.SchemaCompiler.loadTypeSystem(SchemaCom
piler.java:732)
        at
org.apache.xmlbeans.impl.tool.SchemaCompiler.compile(SchemaCompiler.j
ava:784)
        at
org.apache.xmlbeans.impl.tool.SchemaCompiler.main(SchemaCompiler.java
:264)
----------------------------->8-----------------------------------------
------

I thought that XML Beans had a full XML schema support and assume that
W3Cs schemas are correct? 
Have anyone successfully done this or did I stumble over a bug?

// Patrick

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