xsl-list
[Top] [All Lists]

RE: Result still indented despite indent="no"

2005-02-20 15:22:32
The behavior of the Microsoft processor is not due to a different
interpretation of the semantics of xsl:strip-space and xsl:preserve-space.
Microsoft's XSLT processor is behaving the same as the other processors. The
difference is that their XML parser (by default) removes the whitespace
before the XSLT processor gets to see it, and before the XSLT rules come
into play.

Since the conformance rules for XSLT talk only about transforming source
trees into result trees, anything that happens to the data before it is
turned into an XSLT source tree is outside the scope of the XSLT
specification, so legalistically, Microsoft's product is not non-conformant.
It's just different from all the others.

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

-----Original Message-----
From: Mukul Gandhi [mailto:mukul_gandhi(_at_)yahoo(_dot_)com] 
Sent: 20 February 2005 19:20
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] Result still indented despite indent="no"

Hi Colin,
  I appreciate your ideas..

I am requesting more clarity  for the rules of
stripping "white space only text nodes".. You are
saying, there is consensus. Do all XSL WG members have
an agreement to how Mr. Kay is explaining rules for
this to us? If WG members have agreement on this
point(rules for stripping white space text nodes), its
great! Then there should be no problem, providing more
clarity to this point.

If the agreement is not there, then there is a
problem! I know XSL WG members comprises of people
from Microsoft, Oracle, Sun, IBM and Mr. Kay himself.
So its Microsoft vs. all others! MS has already
implemented a default stripping behaviour for white
space text nodes in MSXML4(which Mr. Ken Holman, David
Carlisle and Mr. Kay are calling non-conformant). 

While Mr. Kay (in Saxon) and IBM people (in Xalan)
have implemented a preserving behaviour..

Both camps are seeming abiding by their old stand. And
the ambiguity is still there!

Regards,
Mukul

--- Colin Paul Adams <colin(_at_)colina(_dot_)demon(_dot_)co(_dot_)uk> wrote:

"Mukul" == Mukul Gandhi
<mukul_gandhi(_at_)yahoo(_dot_)com> writes:

    Mukul> Hi Colin, This Schema fragment says that
declarations are
    Mukul> optional (which means that
xsl:strip-space and
    Mukul> xsl:preserve-space are also optional). It
does not says
    Mukul> anything about rules for stripping white
space text
    Mukul> nodes(which is the topic of discussion).

We have already established the rule. I was simply
answering your last
objection, quoted here:

    >> 
    Mukul> It gives an impression, xsl:strip-space
    >> and
    Mukul> xsl:preserve-space declarations are
    >> required..
    >> 
-- 
Colin Paul Adams
Preston Lancashire



              
__________________________________ 
Do you Yahoo!? 
Take Yahoo! Mail with you! Get it on your mobile phone. 
http://mobile.yahoo.com/maildemo 

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--





--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--