[jsr-314-open-mirror] [jsr-314-open] [490-XmlViews] RESOLVED: Namespace and DOCTYPE

Ed Burns edward.burns at oracle.com
Thu Oct 28 15:25:35 EDT 2010


Here's what we will do for 2.1.

SECTION: DOCTYPE

* Add this row to Table 1-1 in Appendix A

              <process-as>xhtml    <process-as>xml  <process-as>JSPX

XML Doctype   passed through       consumed         consumed

* Add a doctype renderer to HTML_BASIC.  Yes, I know doctype is not just
HTML and is in fact SGML, but I can't see putting it in f: because
nothing there actually has a real renderer (ClientBehaviorRenderers are
not real Renderers).  

The tag handler for this comes from Andy's suggestion.

<h:doctype rootElement="html" public="..." system="..." />

SECTION: Namespace

* If you want a namespace passed through to the client, pass it on
<html>, as suggested by Andy.

AS> Of course, the following approach works just fine:

>> <f:view xmlns:f="http://java.sun.com/jsf/core"
>> xmlns:h="http://java.sun.com/jsf/html">
>> <html xmlns="http://www.w3.org/1999/xhtml"> 

SECTION: ResponseWriter

AS> By the time we get to the ResponseWriter, we have less information 
AS> available to us, and thus harder to correct arbitrary missing namespaces.

B> This is where the ResponseWriter is being hosed by the lack of apis for 
B> the namespace.  In theory, the default Facelets tag handler should 

I do not want to pull ResponseWriter into this discussion now.  That'll
have to wait.

Ed

-- 
| edward.burns at oracle.com | office: +1 407 458 0017
| homepage:               | http://ridingthecrest.com/
|  9 work days until German Oracle User's Group Conference



More information about the jsr-314-open-mirror mailing list