[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Whitespace rules (v2)
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@i... the following message; unsubscribe xml-dev List coordinator, Henry Rzepa (rzepa@i...)
|
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
|