[osis-core] Element Review: <div>

Harry Plantinga osis-core@bibletechnologieswg.org
Tue, 18 Jun 2002 11:40:53 -0400



> Why do we care about omit-endtag in XML, you ask? I'm glad you 
> asked.  We care because we are hoping to edit these documents with 
> a non-XML application such as OpenOffice Writer. With the proposed
> <div> content model, you can use the built-in Table of Contents
> facility -- or paragraphs of style "div" -- to identify the 
> start of each div. With the current content model, you'd also 
> have to insert indicators for the the end of each div, which would
> be less intuitive and more difficult.

And more importantly, you would be able to make errors in the way
you insert start/end div indicators.  That means there would have to
be some kind of error checking or validation process before you could
save the file. You'd have to train users about properly nested divs,
etc.

-Harry