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] Common Word Processing Format

[ Lists Home | Date Index | Thread Index ]


On 2 Dec 2005, at 09:20, Michael Kay wrote:

>> <div class="monty">
>>   <span class="python"/>
>> </div class"monty">

> I've recently seen people trying to use the latter approach for adding
> extensibility to financial messages, in the apparent belief that  
> writing
> xs:any in a schema was somehow against the spirit of things.

Something I'm seeing more and more are examples of XML documents that  
are
effectively name-value pairs because they want to describe their data in
Schema but can't put a minOccurs="0" ahead of the slurping vortex
that is xs:any. And then there is the adverse effect that xs:any has in
a number of databinding tools..

<person>
    <value name="title">Mr</value>
    <value name="first">Monty</value>
    <value name="last">Python</value>
</person>

seems to be a typical work-round - and the worst of both worlds.

Paul
--
http://blog.whatfettle.com




 

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

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