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] Random thoughts on reflection

[ Lists Home | Date Index | Thread Index ]

On Sat, 2003-08-09 at 22:15, David Megginson wrote:
> Eric van der Vlist writes:
> 
>  > If we take a document such as:
>  > 
>  > <foo bar="valbar">
>  >  <baz>valbaz</baz>
>  > </foo>
>  > 
>  > The syntax proposed for the XML infoset exposed as a reflexion of the
>  > document is something such as:
>  > 
>  > <element namespaceName="" localName="foo">
>  >  <attributes>
>  >   <attribute namespaceName="" localName="bar" normalizedValue="valbar"/>
>  >  </attributes>
>  >  <children>
>  >   <element namespaceName="" localName="baz">
>  >    <attributes/>
>  >     <children>
>  >      <textNode value="valbaz"/>
>  >     </children>
>  >   </element>
>  >  </children>
>  > </element>
> 
> We must be careful not to let the Ghost of Reification come to haunt
> XML the way that it haunted RDF.  If we start putting stuff this
> esoteric into specs, we scare away people who want to use XML to do
> things, however interesting the esoteric stuff may seem to us
> tag-heads.

David,

I should have presented Henry's proposal with more context, but the
advantage of this syntax is that it can be extended to add annotations
(for the PSVI for instance), solving another issue I have raised a
couple of time which is that the XML syntax and infoset are not
extensible.

And the XSLT extension which has been proposed to access to this
reflection of the XML document is very concrete and far from esoteric.

Sorry if I have made all this more confused than it should be, but I
have the feeling that with XPath, XML schema languages and now this XML
serialisation of the infoset we are looping over variants of the same
issue and reinvent a different wheel at each iteration and that it could
be worth to spend some time to think about all this.

Eric

-- 
Lisez-moi sur XMLfr.
                       http://xmlfr.org/index/person/eric+van+der+vlist/
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------





 

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

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