[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: RE: Namespaces Best Practice

  • From: Joe English <jenglish@f...>
  • To: xml-dev@l...
  • Date: Fri, 21 Sep 2001 11:49:09 -0700

Re:  RE: Namespaces Best Practice

PaulT wrote:

> 1. no-side-effects allows future parallelizm.
> ( hence future XSLT engine expected to
> be a combination of threads, running in parallel ).
> "By design".
>
> 2. xsl:attribute should reside in the appropriate
> place to allow streaming output. "By design".
>
> Maybe you can. Or maybe somebody else can. Sofar
> nobody (?) have implemented even (simple, standalone)
> part 2.

Both SAXON and XT stream the output, in the sense that
they don't construct the entire result tree in memory
before spitting it out.  I suspect other engines do
as well.

The "no side-effects" rule doesn't help any with parallelism --
indeed, it's hard to conceive of an effective way to parallelize
XSLT transforms -- but it does help a *lot* when it comes
to lazy evaluation.  Lazy evaluation is critical for
getting good performance out of XSLT; if side effects
were allowed this would be much harder to implement
in a coherent way. [*]

([*] Mike Kay did manage to add side-effects to SAXON  -- <saxon:assign> --
in a way that was  both efficiently implementable and semantically sound.
However, when the result-tree fragment restrictions are eliminated you
have to either sacrifice laziness (and hence some efficiency) or allow
ambiguous semantics.)


--Joe English

  jenglish@f...

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.