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

RE: Collapsing run-on tag chains not working in saxon

Subject: RE: Collapsing run-on tag chains not working in saxon or xalan
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Tue, 2 Nov 2004 13:07:38 -0000
om tree
The processor API is outside the control of the XSLT specification. If
Microsoft want to define a method called transform() whose semantics are

1. parse the XML and build a DOM tree
2. strip spaces from the DOM tree
3. convert the DOM tree to an XPath OM tree
4. run an XSLT transformation on the XPath OM tree

then (regrettably) there is nothing you or I can do to stop them.

Michael Kay
http://www.saxonica.com/
 

> -----Original Message-----
> From: Colin Paul Adams [mailto:colin@xxxxxxxxxxxxxxxxxx] 
> Sent: 02 November 2004 10:12
> To: Michael Kay
> Cc: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re:  Collapsing run-on tag chains not working 
> in saxon or xalan
> 
> >>>>> "Michael" == Michael Kay <mike@xxxxxxxxxxxx> writes:
> 
>     >>  XSLT 1.0 is 100% clear on this.
>     >> 
>     >> Microsoft are in violation of the standard.
> 
>     Michael> Sorry, but that's not 100% clear.
> 
> It is to me.
> 
>     Michael> in any particular way. There is specific mention in the
>     Michael> XSLT 1.0 spec of the possibility of starting from a DOM,
>     Michael> and the question of whether or not the DOM retains
>     Michael> whitespace that was in the original XML source (if there
>     Michael> was an original XML source) is completely outside the
>     Michael> scope of the XSLT spec.
> 
> But if there WAS an original XML source, then you have NOT started
> with a DOM. 
> Starting with a DOM means building your DOM with calls like
> createDocument and createNode (if I remember the names correctly).
> 
> English cannot bear the interpretation that starting with B means
> starting with A and then creating B from it.
> -- 
> Colin Paul Adams
> Preston Lancashire

Current Thread

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
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.