[Zope] Zope inserting base tag

Marc Burgauer marc@sharedbase.com
Thu, 27 Feb 2003 16:05:45 +0000


Geir

Thanks for pointing out where to find the piece of code. I might just remov=
e
it.

I want to do HTML 4.01 strict. (Sorry about being misleading, I do not want
to do plain 4.)

The generated tag is NOT valid 4.01, neither for strict nor transitional, a=
t
least according to the W3 validator.

It might be valid XHTML 1.0, but that's not an option.

Cheers

Marc

>=20
> MB> I have a problem creating valid HTML 4 with Zope. It seems that Zope
> inserts
> MB> a <base> tag when calling an index_html document without specifying t=
he
> MB> file:
>=20
> MB> <base href=3D"http://127.0.0.1:8080/" />
>=20
> It was changed a while ago (2.3 ?) to make it conform with XHTML 1.0
> (which is essentially the same as HTML 4.01) , the *current*
> reccomendation from W3c
> http://www.w3.org/MarkUp/
>=20
> This info does of course not help you solve you problem, if you still
> want to do HTML 4.0   ;)
>=20
> if you really want to change it, either insert your base tags
> yourself, and zope will leave you alone, or change HTTPResponse.py in
> your zope installation. (it is in line 448 in my installation, but may
> have changed...)
>=20
>=20
>=20
> --
> Geir B=E6kholt
>=20
>=20