cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Wechner <michael.wech...@wyona.org>
Subject Re: DOMStreamer DOM 1 support?
Date Wed, 12 Mar 2003 00:10:53 GMT
Jeff Turner wrote:

>On Tue, Mar 11, 2003 at 12:39:18PM +0100, Bruno Dumon wrote:
>  
>
>>On Tue, 2003-03-11 at 09:15, Jeff Turner wrote:
>>    
>>
>>>On Tue, Mar 11, 2003 at 08:14:21AM +0100, Bruno Dumon wrote:
>>>      
>>>
>>>>On Tue, 2003-03-11 at 07:37, Jeff Turner wrote:
>>>>        
>>>>
>>>>>Probably a question for Bruno..
>>>>>
>>>>>The NamespaceNormalizingDOMStreamer doesn't support DOM 1 nodes, which
>>>>>means that any code using, say, 'setAttribute' instead of
>>>>>'setAttributeNS' causes cryptic errors like:
>>>>>          
>>>>>
>...
>  
>
>>The DOMStreamer should now also work with elements or attributes created
>>with createElement or setAttribute (instead of their *NS variants). I'm
>>still going to do some more testing and performance improvements, but
>>functionally it should work.
>>
>>Your dombug testcase also works (though I didn't try it before my
>>changes so I don't know the difference, but it does not give
>>exceptions).
>>    
>>
>
>Excellent, thanks
>

Thanks as well

(the Lenya XInclude Transformer works again without patching the 
AbstractDOMTransformer with setNormalizeNamespaces(false). Although I 
already started to upgrade it to DOM level 2. Well, I can still do it ...)

Michael


>
>--Jeff
>
>  
>
>>-- 
>>Bruno Dumon                             http://outerthought.org/
>>Outerthought - Open Source, Java & XML Competence Support Center
>>bruno@outerthought.org                          bruno@apache.org
>>
>>    
>>
>
>  
>



Mime
View raw message