You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by xm...@xml.apache.org on 2004/10/02 01:50:36 UTC
[jira] Resolved: (XMLBEANS-36) "redefine" problem, ClassCastException trying to scomp voice xml schemas
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