[prev in list] [next in list] [prev in thread] [next in thread]
List: xmlbeans-dev
Subject: [jira] Created: (XMLBEANS-36) "redefine" problem, ClassCastException trying to scomp voice xml schem
From: jira () apache ! org
Date: 2004-05-20 21:38:07
Message-ID: 1601118541.1085089087578.JavaMail.apache () nagoya
[Download RAW message or body]
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/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic