YML: A Grand Unification of SAX and DOM? (fwd)

Paul Tchistopolskii paul at qub.com
Sat Dec 4 09:09:45 GMT 1999


There is also *very*  elegant
'reverse-polish-notation'  approach
proposed by Robert ( process
element  when Grove is in place,
providing the execution stack ).

Not sure he was talking about the
execution stack, it was my attempt to
understand how could it work.

The only drawback of such a view
is that the  execution stack constantly
grows and we need to clean it up
sometimes.

However.

Because mutithreading approach should
have the same drawback, I think that the
workaround should already exist in the
source code of SP ( thanks to Sean for
pointing that  SP is  an existing implementation
of multithreading approach ).

No namespaces, no extra markup  -
just smart cleanup ( could be easier
than look-ahead, because the information
to make a descision is already 'in place',
right?  )

Rgds.Paul.

> Clark,
>
> What is the advantage of YML over these
> solutions?
>
> 1. Pockets
>
> <element>
>   <pocket:attributes>
>     <att>
>       <ch>val</ch>
>     </att>
>   </pocket:attributes>
>   <pocket:children>
>     <foo>
>       <pocket:text>bar</pocket:text>
>     </foo>
>   </pocket:children>
> </element>
>
> 2. Parental Guidence
>
> <element>
>   <sax:cache>
>     <foo>bar</foo>
>   </sax:cache>
> </element>
>
> 3. Road Signs
>
> <element>
>   <sax:cache>true</sax:cache>
>   <foo>bar</foo>
>   <sax:cache>false</sax:cache>
> </element>
>
> These are preliminary XML design patterns
> so pattern names are weird to say the least.
>
> Best,
>
> Don Park    -   mailto:donpark at docuverse.com
> Docuverse   -   http://www.docuverse.com
>
>
> xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
> Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN
981-02-3594-1
> To unsubscribe, mailto:majordomo at ic.ac.uk the following message;
> unsubscribe xml-dev
> To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
> subscribe xml-dev-digest
> List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
>


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo at ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)





More information about the Xml-dev mailing list