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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   XML Schema simpleType restriction

[ Lists Home | Date Index | Thread Index ]


Hi,

I have a simple type that restrict user data to a set of predefined
selections:

<xs:simpleType name="colorList">
       <xs:restriction base="xs:string">
	<xs:enumeration value="Red"/>
<xs:enumeration value="Red"/>
       </xs:restriction>
</xs:simpleType>

> -----Original Message-----
> From: Mukul Gandhi [mailto:mukul_gandhi@yahoo.com]
> Sent: Monday, September 26, 2005 11:21 AM
> To: Yves Langisch; xml-dev@lists.xml.org
> Subject: Re: [xml-dev] Semantic equivalence of xml documents
> 
> 
> Hi Yves,
>   Sometime back, I tried to write a XSLT stylesheet as
> a tool to compare two XML documents for equality. Its
> available at http://gandhimukul.tripod.com/misc.html
> (item no 3). Probably you could modify this to suit
> your needs..
> 
> Regards,
> Mukul
> 
> --- Yves Langisch <lists@langisch.ch> wrote:
> 
> > Hi
> > 
> > We have defined a pretty large xml schema document.
> > Based on this
> > schema, our customers build instance documents. What
> > we would like to do
> > now is to compare two of them at a time to their
> > semantic equality. Is
> > there any tool which can handle such requirements?
> > As the input it
> > should take the schema docs and two instance
> > documents. The only url I
> > found to this topic is
> >
> http://www-128.ibm.com/developerworks/library/x-diff/index.html
> > . What
> > we also tried is XmlUnit but our documents seem to
> > be too complex/nested
> > for the tool.
> > 
> > Any help is appreciated.
> > 
> > Thanks
> > Yves
> > 
> > 
> >
> -----------------------------------------------------------------
> > 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>
> > 
> > 
> 
> 
> 
> 		
> __________________________________ 
> Yahoo! Mail - PC Magazine Editors' Choice 2005 
> http://mail.yahoo.com
> 
> -----------------------------------------------------------------
> 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