|
|
Sponsor |
Re[2]: XMLC decided to change the HTML structure: msg#00031java.enhydra.xmlc
Hello Petr, Note also that you will have to use the OutputOptions to set the doctype public and system id's. for instance.... OutputOptions oo = HTMLFormatter.getDefaultOutputOptions(); oo.setOmitDocType(false); oo.setPublicId("-//W3C//DTD XHTML 1.0 Strict//EN"); oo.setSystemId("http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"); oo.setDropHtmlSpanIds(false); Aside... I haven't looked much into the XHTML stuff, but there might be an XHTMLFormatter.getDefaultOutputOptions(). It would be logical. Seems to me, in that case, that the default for setDropHtmlSpanIds should be false since IE4, the problem browser, doesn't understand XHTML anyway. Jake Tuesday, December 17, 2002, 2:13:43 PM, you wrote: PS> On Út, 2002-12-17 at 20:46, David Li wrote: >> Peter, >> >> Do not use Tidy to compile XHMTL, use the XHTML module. It's >> -domfactory and the XHTML uses org.enhydra.xml.xhtml.XHTMLDomFactory. PS> Wow, I didn't know about this. >> The error is probably cause by Tidy trying to correct HTML because your >> input is closed using /> instead of >. PS> I thought so as well so I removed the "/" from "/>" but it didn't help. PS> Later I tried to replace the "<h2>" with something else and even later I PS> found out that there was "<form>" missing. After adding the <form> it PS> started to work better, but it's still not OK. PS> Hopefully the XHTML module will fix all my current issues. PS> Thanks a lot! PS> Petr PS> _______________________________________________ PS> XMLC mailing list PS> XMLC@xxxxxxxxxxx PS> http://www.enhydra.org/mailman/listinfo.cgi/xmlc -- Best regards, Jacob mailto:hoju@xxxxxxxx
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: XMLC decided to change the HTML structure, Petr Stehlik |
|---|---|
| Next by Date: | XMLC & j2sdk1.4.1_01, RAFA |
| Previous by Thread: | Re: XMLC decided to change the HTML structure, Petr Stehlik |
| Next by Thread: | Re: XMLC decided to change the HTML structure, Petr Stehlik |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home | sitemap
| advertise | OSDir is
an inevitable website.
|