OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] tool support schema for xs:extension or a way to replace i

[ Lists Home | Date Index | Thread Index ]

xs:extension is a standard feature of XML Schema (perhaps you are misled by
its name?) so every XML Schema processor should support it.

Michael Kay 

> -----Original Message-----
> From: CAUBEL, Hugues [mailto:hugues.caubel@airbus.com] 
> Sent: 26 July 2004 15:13
> To: xml-dev@lists.xml.org
> Subject: [xml-dev] tool support schema for xs:extension or a 
> way to replace it
> 
> Sorry, misclick.... i finish my previous post.
> 
> I would like to know if you have some feedback on the support 
> of tool (parser, editor) for schema that use xs:entension. It 
> seems fine with xmlSpy, Xerces and XSV, but may be it is not 
> always the case with other tool (specially wheen looking at 
> http://sdec.reach.ie/rigs/rig0004/html/)
> 
> In the beginning to avoid risk, i was looking for a way to 
> use xs:group to do the same kind of task - but i could not do 
> it, as i want something like 
> 
> <xs:group name="custGroup">
>  <xs:sequence>
>   <xs:element name="elt1" type="xs:string"/>
>   <xs:element name="elt2" type="xs:string"/>
>   <xs:element name="elt3" type="xs:string"/>
>  </xs:sequence>
>  <xs:attribute name="att1" type="xs:string"/>	
> </xs:group>
> 
> but it is not legal to mix attributes and elements. 
> 
> Any ideas (and sadly i could not use relaxNG) ?
> 
> Thanks, hugues
> 
> 
> 
> 
> 
> 
> This e-mail is intended only for the above addressee. It may contain
> privileged information. If you are not the addressee you must 
> not copy,
> distribute, disclose or use any of the information in it. If you have
> received it in error please delete it and immediately notify 
> the sender.
> Security Notice: all e-mail, sent to or from this address, may be
> accessed by someone other than the recipient, for system 
> management and
> security reasons. This access is controlled under Regulation of
> Investigatory Powers Act 2000, Lawful Business Practises.
> 
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
> 
> The list archives are at http://lists.xml.org/archives/xml-dev/
> 
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://www.oasis-open.org/mlmanage/index.php>
> 
> 





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS