W3C home > Mailing lists > Public > xmlschema-dev@w3.org > April 2003

RE: xs:redefine of a imported namespace group

From: Robert Koberg <rob@koberg.com>
Date: Sat, 19 Apr 2003 12:18:30 -0700
Message-Id: <200304191918.MAA28514@s5.servlets.net>
To: "'Henry S. Thompson'" <ht@cogsci.ed.ac.uk>
Cc: <xmlschema-dev@w3.org>

Arrggghh.. another correction

Instead of using restriction it should be using extension.

> For example this redefine does not work (in content.xsd):
> <xs:redefine
> schemaLocation="http://livestoryboard.com/lsb/Schemas/xhtml_modfd.xsd">
>     <xs:complexType name="Block">
>       <xs:complexContent>
>         <xs:restriction base="x:Block">
>           <xs:choice minOccurs="0" maxOccurs="unbounded">
>             <xs:group ref="c:lsb_core_blocks"/>
>           </xs:choice>
>         </xs:restriction>
>       </xs:complexContent>
>     </xs:complexType>
>   </xs:redefine>

Should be:

<xs:extension base="x:Block">
...
</xs:extension>

Sorry,
-Rob
..time for a break...
Received on Saturday, 19 April 2003 15:18:44 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:36 GMT