Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XML Schema Definition (XSD) » Redefine does give the resolved schema
Redefine does give the resolved schema [message #596367] Wed, 14 September 2005 23:09
Eclipse UserFriend
Originally posted by:

The main schema attached below points to the 2nd schema which redefines
the 3rd schema. The XSDComplexTypeDefintion corresponding to “ClaimType”
points to the 2rd schema. The content of the CompleType is instanceof
XSDRedefine and I can call redefine.getResolvedSchema() or
redefine.getIncorporatedSchema() to get the 3rd schema. How can I resolve
the ComplexType so that it includes the elements from schema 2 and schema


<xsd:schema xmlns:xsd="">
<xsd:include schemaLocation="ClaimType.xsd"/>
<xsd:element name="Claim" type="ClaimType"/>

<xsd:schema xmlns:xsd="">
<xsd:redefine schemaLocation="../../../bom/Claim/ClaimType.xsd">
<xsd:complexType name="ClaimType">
<xsd:extension base="ClaimType">
<xsd:element name="EncounterFlag" type="xsd:boolean" minOccurs="0"/>

<xsd:schema xmlns:xsd="">
<xsd:complexType name="ClaimType">
<xsd:element name="AccidentCountryCode" type="xsd:string"
<xsd:element name="AccidentDateTime" type="xsd:dateTime" minOccurs="0"/>
<xsd:element name="AccidentStateCode" type="xsd:string" minOccurs="0"/>
Previous Topic:Redefine with extension does not pick up the
Next Topic:xs:redefine
Goto Forum:

Current Time: Mon Jan 18 11:48:36 GMT 2021

Powered by FUDForum. Page generated in 0.01405 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top