logo       

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

java.enhydra.xmlc

Subject: Re: XMLC decided to change the HTML structure

Which version of XMLC are you using? 2.1 I assume. This is a dirty and quick hack. It should work but let me know.

1. Create new jar called xhtml-1.0-se.jar and put the 1.0-SE's dtd at org/enhydra/xml/xhtml/xhtml1-transitional.dtd.

2. In your path to execute XMLC, make sure this jar comes before xhtml.jar

3. Run XMLC.

However, the getId method would be missing from the XHTMLTitleElement.

Let me know if this works for you.

David

On Wednesday, Dec 18, 2002, at 22:24 Asia/Shanghai, 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...

Petr


_______________________________________________
XMLC mailing list
XMLC@xxxxxxxxxxx
http://www.enhydra.org/mailman/listinfo.cgi/xmlc


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

News | FAQ | advertise