OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: Whitespace rules (v2)

[ Lists Home | Date Index | Thread Index ]
  • From: Paul Grosso <paul@arbortext.com>
  • To: xml-dev@ic.ac.uk
  • Date: Mon, 11 Aug 1997 09:52:09 -0500

At 22:48 1997 08 10 +0000, Neil Bradley wrote:
>----------
>RULE 2. All whitespace preceding the start-tag and following the end-tag 
>of a 'block enclosing' element is discarded.
>---
>Note: a non-validating applications must refer to a style sheet or
>configuration file to identify 'block enclosing' elements (perhaps by 
>applying this rule to elements not specified as in-line elements).
>As a validating application cannot easily determine this rule from the
>content model (the first mixed content element in the hierarchy is 
>block enclosing, as well as all outer layers), it may choose the same approach. 
>
>Note:
>
> <chapter>[SP]<note>[SP][TAB]<p>This is a[SP]<em>para</em>...
>
>becomes:
>
> <chapter><note><p>This is a[SP]<em>para</em>
>
>and:
>
> <p>Para 1.</p>[CR]
> <p>Para 2.</p>
>
>becomes:
>
> <p>Para 1.</p><p>Para 2.</p>

What if a block enclosing element is contained within a block enclosing
element?  You appear to be trying to use different terms to describe
what is effectively the issue of element content versus mixed content.

How is requiring a style sheet or configuration file to indicate which
elements are "block enclosing" different from having a DTD or partial
set of declarations to indicate which elements have element content?

paul

xml-dev: A list for W3C XML Developers
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To unsubscribe, send to majordomo@ic.ac.uk the following message;
unsubscribe xml-dev
List coordinator, Henry Rzepa (rzepa@ic.ac.uk)





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS