You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Patrick Moore <pa...@rioport.com> on 2001/02/21 20:37:28 UTC

RE: problem with namespaces using the SimpleTransform example + e xam ples

Hi Scott --

The "No time supplied" Message is a sign of the problem. If you remove the
<rioport:min2sec> elements the resulting xml document shows a value for
<PLAYTIME> (see attached file). But when the tags are there the textnodes do
not contain anything except whitespace.

Thanks for whatever help you can supply.

-Patrick Moore-

P.S. using the xerces.jar that came with xalan...

Sample output when USING rioport extensions (what happened to
non-whitespace?):
org.apache.xalan.stree.TextImpl
value:

org.apache.xalan.stree.ElementImpl 
org.apache.xalan.stree.TextImpl
value:

org.apache.xalan.stree.ElementImpl 
org.apache.xalan.stree.TextImpl 
value:

org.apache.xalan.stree.ElementImpl 
org.apache.xalan.stree.TextImpl 
value:

org.apache.xalan.stree.ElementImpl 
org.apache.xalan.stree.TextImpl 
value:

org.apache.xalan.stree.ElementImpl
org.apache.xalan.stree.TextImpl 
value:

org.apache.xalan.stree.ElementImpl 
org.apache.xalan.stree.TextImpl 
value:

org.apache.xalan.stree.ElementImpl 
org.apache.xalan.stree.TextImpl 
value:

org.apache.xalan.stree.ElementImpl 
org.apache.xalan.stree.TextImpl 
value:

HELLLO! min2sec: file:///C:/ATG/Dynamo5.1/CFS/lib/xml/bmg.xsl; Line 85;
Column 34; javax.xml.transform.TransformerException 	at
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.j
ava:1212) 	at
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:2894)
at java.lang.Thread.run(Thread.java:484) --------- 
; SystemID: file:///C:/ATG/Dynamo5.1/CFS/lib/xml/bmg.xsl; Line#: 85;
Column#: 34 
; SystemID: file:///C:/ATG/Dynamo5.1/CFS/lib/xml/bmg.xsl; Line#: 85;
Column#: 34


> -----Original Message-----
> From: Scott_Boag@lotus.com [mailto:Scott_Boag@lotus.com]
> Sent: Wednesday, February 21, 2001 11:08 AM
> To: xalan-dev@xml.apache.org
> Subject: Re: problem with namespaces using the 
> SimpleTransform example +
> exam ples
> 
> 
> 
> When I run this (with DTD decl commented out) from the 
> command line I get a
> "no time supplied" error from the extension.  Since 
> SimpleTransform only
> does a stream transformation, this should have nothing to do 
> with the DOM.
> I'm frankly confused as to what the problem is.  If you need 
> me to look at
> this further, please supply a minimal *complete* example 
> where the problem
> can be reproduced.
> 
> -scott
> 
> 
> 
> 
>                                                               
>                                                      
>                     Patrick Moore                             
>                                                      
>                     <patrickm@rio        To:     
> "'xalan-dev@xml.apache.org'" <xa...@xml.apache.org>           
>                     port.com>            cc:     (bcc: Scott 
> Boag/CAM/Lotus)                                       
>                                          Subject:     problem 
> with namespaces using the SimpleTransform example +  
>                     02/20/2001           exam    ples         
>                                                      
>                     08:12 PM                                  
>                                                      
>                     Please                                    
>                                                      
>                     respond to                                
>                                                      
>                     xalan-dev                                 
>                                                      
>                                                               
>                                                      
>                                                               
>                                                      
> 
> 
> 
> 
> Sorry forgot the example files:
> 
> > -----Original Message-----
> > From: Patrick Moore [mailto:patrickm@rioport.com]
> > Sent: Tuesday, February 20, 2001 5:10 PM
> > To: 'xalan-dev@xml.apache.org'
> > Subject: problem with namespaces using the SimpleTransform example
> >
> >
> > I am using the SimpleTransform sample and I am having this
> > problem. The
> > annoying thing is that I tested this code using the D-07 beta
> > release and it
> > worked. Also I do not see how to set Namespace-awareness in 
> any of the
> > classes used by SimpleTransform.