On the P element and a few others the closing tag is optional according the
the html spec so we set this to false.

-stephan



                                                                                       
                           
                    Basil Bourque                                                      
                           
                    <basil@speakeasy.        To:     <[EMAIL PROTECTED]>       
                           
                    org>                     cc:                                       
                           
                    Sent by:                 Subject:     Defaulting the 
NeedsClosingTag to True.                 
                    <[EMAIL PROTECTED]                                                  
                           
                    -dogs.com>                                                         
                           
                                                                                       
                           
                                                                                       
                           
                    10/01/2000 05:01                                                   
                           
                    AM                                                                 
                           
                    Please respond to                                                  
                           
                    "ECS"                                                              
                           
                                                                                       
                           
                                                                                       
                           




Two related questions (probably a naive newbie question):

The JavaDoc for the setNeedClosingTag() method says that default is "true",
but it seems to be "false" to me. I have to call setNeedClosingTag(true)
explicitly on each use of elements such as P and Meta.

Is there a way to set a default for all the elements to include their
closing tag?

--Basil Bourque



--
------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]






--
------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to