Andy Clark wrote:<<<
So how about the following ID?

  http://apache.org/xml/features/dom/include-ignorable-whitespace

It's getting a little verbose but that's probably erring on
the side of understandability.>>>

This is a definite improvement over the original name (which gave no clue to
the sense of the operation).  Personally though I'd prefer to reverse the
sense of the name and call it something like strip-ignorable-whitespace.  I
also feel that the default should be "keep it".  (Assaf Arkin obvously has a
very different view of things.)

More importantly I'm not too happy about this concept of "ignoreable
whitespace".  What's the definition of "ignoreable"?  Will it suit
everybody?  Is there a danger that it will be not quite right for anybody?

My instinct is to classify things in a bit more detail.  I haven't applied
XML to a wide-enough range of applications to be confident but I suspect
that these three white-space handling options make sense:
        1) prune text nodes that consist only of white space
        2) trim leading/trailing space
        3) normalize sequences of white-space characters to a single space.

-- jP --

This message is for the named person's use only.  It may contain
confidential, proprietary or legally privileged information.  No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please immediately delete it and all
copies of it from your system, destroy any hard copies of it and notify the
sender.  You must not, directly or indirectly, use, disclose, distribute, 
print, or copy any part of this message if you are not the intended 
recipient. CREDIT SUISSE GROUP, CREDIT SUISSE FIRST BOSTON, and each of
their subsidiaries each reserve  the right to monitor all e-mail 
communications through its networks.  Any views expressed in this message
are those of the individual sender, except where the message states 
otherwise and the sender is authorised to state them to be the views of 
any such entity.



Reply via email to