[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Result still indented despite indent="no"
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@xxxxxxxxx] > Sent: 20 February 2005 19:20 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: Re: 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@xxxxxxxxxxxxxxxxxx> wrote: > > > >>>>> "Mukul" == Mukul Gandhi > > <mukul_gandhi@xxxxxxxxx> 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|