dleslie     00/10/17 08:11:28

  Modified:    java/xdocs/sources/xalan BUGS usagepatterns.xml
  Log:
  1. Added bug on stylesheet PIs
  2. Fixed TraceListener example.
  
  Revision  Changes    Path
  1.4       +1 -0      xml-xalan/java/xdocs/sources/xalan/BUGS
  
  Index: BUGS
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/xdocs/sources/xalan/BUGS,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- BUGS      2000/10/16 21:56:17     1.3
  +++ BUGS      2000/10/17 15:11:22     1.4
  @@ -1,6 +1,7 @@
   <s3 title="Open bugs and bug reporting">
   <p>We are aware of the following limitations and problems in this alpha 
release:</p>
   <ul>
  +<li>The processor does not execute stylesheet processing instructions 
embedded in the XML source.<br/><br/></li>
   <li>When format-number() should format NaN or infinity, it generates the 
wrong string if default strings are used. <em>Workaround:</em> declare the 
strings in an xsl:decimal-format instruction at the top of the 
stylesheet.<br/><br/></li>
   <li>Text nodes containing entity references are split into multiple 
nodes.<br/><br/></li>
   
  
  
  
  1.9       +5 -4      xml-xalan/java/xdocs/sources/xalan/usagepatterns.xml
  
  Index: usagepatterns.xml
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/xdocs/sources/xalan/usagepatterns.xml,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- usagepatterns.xml 2000/10/16 21:56:58     1.8
  +++ usagepatterns.xml 2000/10/17 15:11:23     1.9
  @@ -280,8 +280,9 @@
                  can implement. Or, like the <link 
idref="commandline">command-line utility</link>, you can use the <jump
         
href="apidocs/org/apache/xalan/trace/PrintTraceListener.html">PrintTraceListener</jump>
 implementation of that interface.
         <br/><br/></li>
  -      <li>You can associate a <jump 
href="apidocs/org/apache/xalan/trace/TraceManager.html">TraceManager</jump> 
with the
  -      Transformer for a given transformation, and register a TraceListener 
with the TraceManager.<br/><br/></li>
  +      <li>You can register a TraceListener with the 
  +      <jump 
href="apidocs/org/apache/xalan/trace/TraceManager.html">TraceManager</jump> 
associated
  +      with the Transformer that will perform a given 
transformation.<br/><br/></li>
                  <li><jump 
href="apidocs/org/apache/xalan/trace/TracerEvent.html">TracerEvent</jump> is an 
event that is 
                  passed to the TraceListener.trace function. It is called 
before a node is 'executed' in the stylesheet.<br/><br/></li>
                  <li><jump 
href="apidocs/org/apache/xalan/trace/GenerateEvent.html">GenerateEvent</jump> 
is an event that is 
  @@ -322,9 +323,9 @@
   if (transformer instanceof TransformerImpl) {
     TransformerImpl transformerImpl = (TransformerImpl)transformer;
     
  -  // Register the TraceListener with a TraceManager associated 
  +  // Register the TraceListener with the TraceManager associated 
     // with the TransformerImpl.
  -  TraceManager trMgr = new TraceManager(transformerImpl);
  +  TraceManager trMgr = new transformerImpl.getTraceManager();
     trMgr.addTraceListener(ptl);
     
     // Perform the transformation --printing information to
  
  
  

Reply via email to