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] Mixed content in data-binding (Was: Re:[xml-dev] Interesti

[ Lists Home | Date Index | Thread Index ]

On Fri, 2005-07-22 at 22:15 -0700, Ronald Bourret wrote:
> Uche Ogbuji wrote:
> > On Fri, 2005-07-15 at 21:29 -0700, Ronald Bourret wrote:
> > 
> >>The obvious case is the ability to edit documents (such as XHTML 
> >>documents) using a schema-specific set of objects. The problem is that 
> >>current OO languages don't support constructs that would make this easy 
> >>to do. Not that I'm saying I know what those would be, either...
> > 
> > Heterogeneous arrays.  Yes that simple.
> > 
> > The excessive limitations of C++, Java and friends really do serve to
> > obscure the obvious, too often :-(
> Ah, yes. I looked at the description of Amara (which uses heterogenous 
> arrays for mixed content) on my list of XML data binding products [1] 
> just before reading this mail and thought, "Oh. That's obvious."

I do wonder whether Java 5 generics would address this problem (I'm not
all that familiar with the implementation).  And is this a problem for
C#?  I thought I remembered that it has a system for heterogeneous
arrays.  Or am I thinking Cw?

> [1] http://www.rpbourret.com/xml/XMLDataBinding.htm

Wow.  Nice description.  Thanks.  I'm curious: did you glean it from the
manual?  Did you try out the code?

Uche Ogbuji                               Fourthought, Inc.
http://uche.ogbuji.net                    http://fourthought.com
http://copia.ogbuji.net                   http://4Suite.org
Use CSS to display XML, part 2 - http://www-128.ibm.com/developerworks/edu/x-dw-x-xmlcss2-i.html
XML Output with 4Suite & Amara - http://www.xml.com/pub/a/2005/04/20/py-xml.html
Use XSLT to prepare XML for import into OpenOffice Calc - http://www.ibm.com/developerworks/xml/library/x-oocalc/
Schema standardization for top-down semantic transparency - http://www-128.ibm.com/developerworks/xml/library/x-think31.html


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

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