[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Extension from another namespace
I have a schema proced.xsd that I redefine in this schema: <?xml version="1.0"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:aGivenExtension="http://aGivenExtension" targetNamespace="http://aGivenExtension" elementFormDefault="qualified" attributeFormDefault="qualified"> <xs:redefine schemaLocation="proced.xsd"> <xs:complexType name="supportEquipDescrElemType"> <xs:complexContent> <xs:extension base="supportEquipDescrElemType"> <xs:sequence> <xs:element ref="aGivenExtension:supportEquipMaterialSetRef"/> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> </xs:redefine> <xs:complexType name="materialSetRefType"> <xs:sequence/> <xs:anyAttribute processContents="lax"/> </xs:complexType> <xs:element name="supportEquipMaterialSetRef" type="aGivenExtension:materialSetRefType"/> </xs:schema> But I get this error in XmlSpy: "Redefining type definition 'aGivenExtension:supportEquipDescrElemType' must be an extension or restriction of itself." which is unclear to me. I want to redefine the "supportEquipDescrElemType" from proced.xsd. proced.xsd has no namespace in it. What is the correct process to extend it with some elements from the "aGivenExtension:" namespace? [Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|