logo       

Re: XMLC decided to change the HTML structure: msg#00037

java.enhydra.xmlc

Subject: Re: XMLC decided to change the HTML structure

On Wednesday 18 December 2002 15:24, Petr Stehlik wrote:
> On St, 2002-12-18 at 15:03, Petr Stehlik wrote:
> > <title id="title"> some page title </title>
> >
> > Error: Attribute "id" must be declared for element type "title".
> >
> > According to what I heard from the XHTML guy the "id" should be allowed
> > for <title> - and if not in XHTML 1.0 then definitely in 1.1.
>
> I have just found the following info:
>
> http://www.w3.org/2000/01/REC-xhtml1-20000126-errata/
>
> specifically "Changes include the id attribute on all elements, which
> was missing in some elements.".
>
> So the "id" is valid for <title> now.
>
> > What can I do in order to have the "id" tag there? I obviously need it
> > since I want to change the page title from within Enhydra dynamically.
>
> This question remains. Looks like the XMLC should be updated to conform
> to the XHTML 1.0 Second Edition. What can I do to update it quickly by
> myself, please? It's a showstopper for me right now...

When parsing XML, XMLC picks up the document structure from the associated
DTD. So, changing the <!DOCTYPE ...> in your documents to refer to the XHTML
1.0 second edition DTD should do the trick.

Hope this helps,

Richard
--
Richard Kunze

[ t]ivano Software, Bahnhofstr. 18, 63263 Neu-Isenburg
Tel.: +49 6102 80 99 07 - 0, Fax.: +49 6102 80 99 07 - 1
http://www.tivano.de, kunze@xxxxxxxxx


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise