Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Derivation by restriction from complexType/simpleContent

From: <Simon.Cox@-----.-->
To: <xmlschema-dev@--.--->
Date: 12/3/2004 2:37:00 AM
What is the correct syntax for derivation from complexType/simpleContent
types?
For example, if I write

<complexType name="MeasureType">
	<simpleContent>
		<extension base="double">
			<attribute name="uom" type="token"
use="required"/>
		</extension>
	</simpleContent>
</complexType>

<complexType name="LengthType">
	<simpleContent>
		<restriction base="gml:MeasureType"/>
	</simpleContent>
</complexType>

1. Is the "double" simpleContent preserved or not?
2. Is there any way I can restrict the value of uom?

Simon Cox
______
Simon.Cox@c...  CSIRO Exploration & Mining
26 Dick Perry Avenue, Kensington WA 6151
PO Box 1130, Bentley WA 6102  AUSTRALIA
T: +61(8) 6436 8639  F: +61(8) 6436 8555  
C: +61(4) 0330 2672 callto://dr_shorthair 
http://www.em.csiro.au 
  

From george@o... Thu Dec 02 12:17:32 2004
Received: from bart.


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent