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:48:32 UTC
[jira] Commented: (XMLBEANS-55) resolving transitive 'd types...
The following comment has been added to this issue:
Author: Radu Preotiuc-Pietro
Created: Fri, 1 Oct 2004 4:47 PM
Body:
This works in the upcoming V2. Supporting redefines of redefines I think it is going to be a V2-only feature, unless is too painful for too many people.
---------------------------------------------------------------------
View this comment:
http://issues.apache.org/jira/browse/XMLBEANS-55?page=comments#action_53611
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/XMLBEANS-55
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XMLBEANS-55
Summary: resolving transitive <redefine>'d types...
Type: Improvement
Status: Open
Priority: Major
Project: XMLBeans
Components:
Compiler
Versions:
Version 2
Version 1.0.3
Assignee: Radu Preotiuc-Pietro
Reporter: John Francis
Created: Thu, 2 Sep 2004 12:49 PM
Updated: Fri, 1 Oct 2004 4:47 PM
Environment: JDK 1.4/JDK 1.5
Description:
Attempting to compile w3c voicexml 2.0 or 2.1 schema.
The voicexml schema borrows from speech synthesis schemas, extending/restricting types using lots of <xsd:include> and <xsd:redefine>...
vxml.xsd INCLUDES --> vxml-synthesis-extension.xsd REDEFINES --> vxml-synthesis-restriction.xsd REDEFINES --> synthesis-core.xsd
schema compiler reports...
[xmlbean] schemas/vxml-2.1/vxml-synthesis-extension.xsd:30: error: Redefined complex type say-as not found in vxml-synthesis-restriction.xsd
...intuitively correct, since vxml-synthesis-restriction.xsd doesn't explicitly refer to the "say-as" type. However...
<from http://www.w3.org/TR/xmlschema-0/#Redefine>
" The redefine element acts very much like the include element as it includes all the declarations and definitions from the address.xsd file."
...so the "say-as" type should be resolvable as it "propegates" with each <redefine> from synthesis-core.xsd to vxml-synthesis-extension.xsd (via vxml-synthesis-restriction.xsd).
...relevant schemas available at:
http://www.w3.org/TR/2004/WD-voicexml21-20040728/#sec-schema
thx, keep up the good work.
JF
---------------------------------------------------------------------
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