W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2000

"ignorable white space"

From: Kevin Regan <kevinr@valicert.com>
Date: Sun, 11 Jun 2000 19:17:27 -0700 (PDT)
To: www-dom@w3.org
Message-id: <Pine.SOL.4.21.0006111911100.14293-100000@bugs.valicert.com>

DOM Level 3 calls for:

     whitespace in element content (aka "ignorable
     whitespace"). Does this Text node only contain
     whitespace in element content? 

How will this be accomplished?  Will the Text class have
an "ignorable()" method, or will the interface hierarchy
change:

           CharacterData
        ________|________
        |               |
     Comment           Text
                        |
                   CDATASection

going to something like:

           CharacterData
        ________|________
        |               |
     Comment           Text
               _________|_________
               |                 |
         IgnorableText       CDATASection

Sincerely,
Kevin Regan
kevinr@valicert.com

p.s. Can CDATA sections be located in "ignorable" areas?
Received on Sunday, 11 June 2000 22:17:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:47 GMT