You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by "Jacob Danner (JIRA)" <xm...@xml.apache.org> on 2005/04/19 23:02:36 UTC

[jira] Closed: (XMLBEANS-36) "redefine" problem, ClassCastException trying to scomp voice xml schemas

     [ http://issues.apache.org/jira/browse/XMLBEANS-36?page=all ]
     
Jacob Danner closed XMLBEANS-36:
--------------------------------

    Assign To:     (was: Kevin Krouse)

voice XML schemas now compile properly

> "redefine" problem, ClassCastException trying to scomp voice xml schemas
> ------------------------------------------------------------------------
>
>          Key: XMLBEANS-36
>          URL: http://issues.apache.org/jira/browse/XMLBEANS-36
>      Project: XMLBeans
>         Type: Bug
>   Components: Compiler
>     Reporter: geoff hendrey
>      Fix For: Version 1, Version 2

>
> Looks like a bug in the XMLBeans Schema compiler (due to the
> redefinition of already redefined types).
> Can you log a jira bug against this?
> Radu
> -----Original Message-----
> From: Geoff Hendrey [mailto:ghendrey@telcontar.com] 
> Sent: Tuesday, May 18, 2004 3:55 PM
> To: xmlbeans-user@xml.apache.org
> Subject: voice xml, VXML
> I am trying to compile the Voice XML schemas. This would seem to be a
> fairly big brag if only I could get it to work. I gave up trying to do
> it with JAXB. The VXML schemas are available from
> http://www.w3c.org/TR/voicexml20/vxml-schema.zip
> The problem appears to be with xsd:redefine, so I tried to use
> -allowmdef but the ClassCastException is still thrown.
> C:\temp>scomp -compiler C:\j2sdk1.4.2_01\bin\javac -jar
> C:\j2sdk1.4.2_01\bin\jar
>  -allowmdef http://www.w3.org/2001/vxml -out vxml.jar vxml-schema
> Exception in thread "main" java.lang.ClassCastException:
> java.lang.String
>         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)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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