cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastien Sahuc <ssa...@imediation.com>
Subject RE: DOM2DOM problem fixed
Date Thu, 05 Oct 2000 06:07:17 GMT
Thanks Scott, 

You fast man :-)

Sebastien

> -----Original Message-----
> From: Scott Boag/CAM/Lotus [mailto:Scott_Boag@lotus.com]
> Sent: Thursday, October 05, 2000 4:30 AM
> To: cocoon-dev@xml.apache.org
> Cc: xalan-dev@xml.apache.org
> Subject: DOM2DOM problem fixed
> 
> 
> 
> This is fixed.  The problem was that the TreeWalker, which creates SAX
> events from a DOM for creation of the Templates\Stylesheet object, was
> neglecting to call start and endPrefixMapping.
> 
> Also, keep in mind that the DocumentFactory sets namespaces 
> to false by
> default, so you have to call setNamespaceAware(true) in any calling
> programs that use JAXP to create the DOM.  Xalan now does 
> this internally,
> and uses the DOM2 namespace handling by default.
> 
> -scott
> 
> 
> 
> 
>                                                               
>                                                      
>                     Davanum                                   
>                                                      
>                     Srinivas             To:     
> cocoon-dev@xml.apache.org                                         
>                     <dims@yahoo.c        cc:     
> ssahuc@imediation.com, (bcc: Scott Boag/CAM/Lotus)                
>                     om>                  Subject:     RE: 
> [C2] [Xalan2] 3 Issues so far.                           
>                                                               
>                                                      
>                     10/04/2000                                
>                                                      
>                     12:02 PM                                  
>                                                      
>                     Please                                    
>                                                      
>                     respond to                                
>                                                      
>                     cocoon-dev                                
>                                                      
>                                                               
>                                                      
>                                                               
>                                                      
> 
> 
> 
> Yes, That's exactly what i get.
> 
> -- dims
> 
> --- Sebastien Sahuc <ssahuc@imediation.com> wrote:
> > > Issue #3: DOM2DOM does not work. See my other e-mail and
> > > Sebastien's e-mail. I have sent you
> > > sample code to recreate the problem with a sample XML and 
> XSL file.
> >
> > Is it what you get on output with the DOM2DOM ?
> >
> >   <?xml version="1.0" encoding="UTF-8"?>
> >     <code xml:space="preserve">
> >
> > [skip lot of line feed]
> >
> >     -//WAPFORUM//DTD WML 1.1//EN
> >     http://www.wapforum.org/DTD/wml_1.1.x
> >
> >
> >     -//W3C//DTD SVG 20000303 Stylable//EN
> >     http://www.w3.org/TR/2000/03/WD-SVG-2
> >
> >
> >     jpegencoder
> >     false
> >     #FFFFFF
> >
> > [skip lot of line feed]
> >
> >   </code>
> >
> > Sebastien
> >
> > >
> > > Thanks,
> > > dims
> > >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
> > > http://photos.yahoo.com/
> > >
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
> http://photos.yahoo.com/
> 
> 
> 
> 

Mime
View raw message