Re: Test case document formatting request

On 2008-01-07 11:00:16 -0500, Frederick Hirsch wrote:

> This is essentially illegible to read, requires horizontal scrolling in 
> browser and will not print properly.

I agree.

> (1) is there a tool or technique to process the XInclude so that the content 
> included is pretty-printed upon inclusion so it flows properly?

> (2) would it make sense to add spaces to the examples?

I don't think we'd really want to have pretty-printing of the XML,
as that would create a result that is materially different from the
*real* canonical XML.  There seem to be some style sheet tricks
which are probably not portable.

The best idea I can come up with (though I don't like it) is to do
some perl or sed based postprocessing on the xhtml output.  I'll
commit something later tonight.

> (3) is it acceptable to have badly formatted document as a  W3C Note?

Not really.

-- 
Thomas Roessler, W3C  <tlr@w3.org>

Received on Monday, 7 January 2008 20:53:49 UTC