You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xmlbeans-dev@xml.apache.org by ji...@apache.org on 2004/05/20 23:38:07 UTC

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

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/XMLBEANS-36

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XMLBEANS-36
    Summary: "redefine" problem, ClassCastException trying to scomp voice xml schemas
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: XMLBeans
 Components: 
             Compiler

   Assignee: 
   Reporter: geoff hendrey

    Created: Thu, 20 May 2004 2:36 PM
    Updated: Thu, 20 May 2004 2:36 PM

Description:


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)





---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


- ---------------------------------------------------------------------
To unsubscribe, e-mail:   xmlbeans-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-dev-help@xml.apache.org
Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/


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

Posted by xm...@xml.apache.org.
Message:

   The following issue has been resolved as FIXED.

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/XMLBEANS-36

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XMLBEANS-36
    Summary: "redefine" problem, ClassCastException trying to scomp voice xml schemas
       Type: Bug

     Status: Resolved
   Priority: Major
 Resolution: FIXED

    Project: XMLBeans
 Components: 
             Compiler
   Fix Fors:
             Version 1
             Version 2

   Assignee: Kevin Krouse
   Reporter: geoff hendrey

    Created: Thu, 20 May 2004 2:36 PM
    Updated: Fri, 1 Oct 2004 4:50 PM

Description:


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)





---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report 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


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

Posted by "Jacob Danner (JIRA)" <xm...@xml.apache.org>.
     [ 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