RE: Compatibility: no empty non-empty elements

Bjoern Hoehrmann wrote:
> 
> * "Randy Waki" <rwaki@flipdog.com> wrote:
> | Strange.  I use Tidy's -asxml command line option all the time, and it
> | has output <title></title> for as long as I remember.  I just tried it
> | with the latest 4-Aug-2000 Tidy using -asxml with no other command line
> | options and no config file, and it still works for me.
> |
> | What Tidy options are you using?  Are you sure it's Tidy that's doing
> | this?
> 
> Tidy does this, when it gets
> 
> <title/>
> 
> Im using tidy to pretty print the output of XSLT processors to get compatible
> XHTML pages, and their output is like above.
> 
> If tidy gets <title></title> it will output it that way.

Oh.  Yes, I'm seeing it now.  I guess I haven't encountered this before
because we use Tidy on HTML and "backwards-compatible" XHTML, but not
"plain" XML/XHTML.

--Randy

Received on Sunday, 27 August 2000 20:51:46 UTC