You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@httpd.apache.org by "William A. Rowe, Jr." <wr...@rowe-clan.net> on 2003/12/02 15:17:13 UTC
Example blocks .xml (e.g. mod_dav.xml.en)
Team,
I was experimenting, since Rich Bowen made an interesting point at the
con that our mozilla friends' browser prefers xml over html, what would
happen if I retrieved /docs-2.0/mod/mod_dav.xml. I was pleasantly surprised
but noticed that the example config block wasn't parsed correctly.
It seems our example config blocks aren't correctly formatted (they wrap
ignoring newlines in pre blocks, apparently.) Is there an elegant fixup to
allow this to display correctly in both html and xml flavors? It would be
very trivial to add the xml variants to the typemap file, as well.
Bill
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org
Re: Example blocks .xml (e.g. mod_dav.xml.en)
Posted by André Malo <nd...@perlig.de>.
* "William A. Rowe, Jr." <wr...@rowe-clan.net> wrote:
> I was experimenting, since Rich Bowen made an interesting point at the
> con that our mozilla friends' browser prefers xml over html, what would
> happen if I retrieved /docs-2.0/mod/mod_dav.xml. I was pleasantly
> surprised but noticed that the example config block wasn't parsed
> correctly.
We don't support the xml urls. For reasons, see below.
> It seems our example config blocks aren't correctly formatted (they wrap
> ignoring newlines in pre blocks, apparently.) Is there an elegant fixup
> to allow this to display correctly in both html and xml flavors? It would
> be very trivial to add the xml variants to the typemap file, as well.
It's a mozilla problem. Mozilla is unsusable as an xml/xslt browser (Try,
for example, reading a german file, mozilla will bail because of entities it
doesn't *want* to read). However, in IE it works like a charm, but I don't
care, because I don't use that software ;-)
Additionally examples are *not* <pre>-formatted(due to the potential
problems of <pre>, there's also an archive discussion somewhere, about a
year old or so), but formatted with simple <br />s (Still not all, but this
the aim is on my TODO).
I'm tired of trying to support that broken mozilla-xml stuff, sorry. There's
no reasonable way to convince mozilla to render correctly other than html.
nd
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org