|
Re: Content-type for XHTML (was: XMLC, setEnableXTHMLCompatibilty): msg#00022java.enhydra.xmlc
On Tuesday 07 October 2003 12:14, Jacob Kjome wrote: > At 11:14 AM 10/7/2003 -0400, you wrote: > >On Monday 06 October 2003 19:14, Jacob Kjome wrote: > > > > This may, in > > > >fact, be exacerbated by the fact that we're sending "Content-type: > > > >text/html", but that's being done because there doesn't seem to be an > > > > agreed upon solution for xhtml (last time I looked). > > > > > > For application/xhtml+xml, use.... > > > -domfactory org.enhydra.xml.xhtml.XHTMLDomFactory > > > >When I specify this as my content type, Mozilla displays this, > > > > This XML file does not appear to have any style information > > associated with it. The document tree is shown below. > > > >followed by an tree version of the XML. This is not what I want or need. > > Can you send a minimal sample template for me to test (again, attached > inside a zip file to your reply)? Also, can you provide the resulting > output that you get (copy of the view-source, again, in the attached zip > file). And, finally, provide the information you find after doing a > right-click on the document in the browser and choosing "View Page > Info". Most important would be the "Type", "Render Mode", and > "Encoding". Also, what version of Mozilla are you using? A little research shows that If I'm sending it down as "application/xhtml+xml", the SHOULD include the XML stylesheet processing instruction (http://www.w3.org/TR/xhtml-media-types/). I don't have such in mine, because I "want no XML styles applied". To me, it's just a "very well formed" HTML document. Could this be the problem? That having been said, I'm using Mozilla 1.3a. It has "Render Mode: compliance mode, Type:application/xhtml+xml, and Endcoding:UTF-8". When accessed on IE 6+, it warns the user about installing things, and then asks "Open or Save". Attached you will find a .zip with Bug.html (the original template), and Bug-viewSource.html which is copy and pasted from the Mozilla View Source window.
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: XMLC, setEnableXTHMLCompatibilty, Jacob Kjome |
|---|---|
| Next by Date: | Re: XMLC, setEnableXTHMLCompatibilty, David Corbin |
| Previous by Thread: | Re: Content-type for XHTML (was: XMLC, setEnableXTHMLCompatibilty), Jacob Kjome |
| Next by Thread: | Re: Content-type for XHTML (was: XMLC, setEnableXTHMLCompatibilty), Jacob Kjome |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |