This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

xerces-xalan


I hope there's isn't an empty diff in the list of diffs. But anyways, by
applying these diffs, you will get xerces and xalan compiled. I merged
the 2 source trees because source files seem lacking in the other or
another. :D

Be sure to jar the property files and put it in your classpath when
working with a native compiled set of xerces and xalan sources( it's
version 2.4 something and 2.2 another)


132c132
< 
---
>   public abstract void callVisitors(org.apache.xalan.templates.XSLTVisitor x);
128c128
< 
---
>   
290c290,293
< 
---
>   public abstract DTMAxisIterator setStartNode(int node); 
>   public abstract void setMark();  
>   public abstract int next();
>   public abstract void gotoMark();
716c716
<       for (current = makeNodeIdentity(current) + 1; ; current++)
---
>       for (current = makeNodeIdentity(current) + 1; ;) 
752c752
<       for (; ; current++)
---
>       for (; ; )
755c755
< 
---
> 	
759,760c759,760
<         if (exptype != expandedTypeID)
<           continue;
---
>         if (exptype != expandedTypeID) { current++;
>           continue;}
820c820
<       for (current = makeNodeIdentity(current) + 1; ; current++)
---
>       for (current = makeNodeIdentity(current) + 1; ; )
1519c1519
<       for (current = makeNodeIdentity(current) + 1; ; current++)
---
>       for (current = makeNodeIdentity(current) + 1; ;)
632a633,634
>   public abstract void callVisitors(org.apache.xpath.ExpressionOwner ex, org.apache.xpath.XPathVisitor p);
> 	  
186,187c186,187
<                 synchronized ( html )
<                 {
---
>                 //synchronized ( html )
>                 //{
195c195
<                 }
---
>                 //}
241,242c241,242
<         synchronized ( html )
<         {
---
>         //synchronized ( html )
>         //{
250,251c250,251
<                 synchronized ( head )
<                 {
---
>                 //synchronized ( head )
>                 //{
259c259
<                 }
---
>                 //}
267c267
<         }
---
>         //}
334,335c334,335
<         synchronized ( html )
<         {
---
>         //synchronized ( html )
>         //{
345,346c345,346
<                 synchronized ( body )
<                 {
---
>                 //synchronized ( body )
>                 //{
354c354
<                 }
---
>                 //}
362c362
<         }
---
>         //}
375,376c375,376
<         synchronized ( newBody )
<         {
---
>         //synchronized ( newBody )
>         //{
382,383c382,383
<             synchronized ( html )
<             {
---
>             //synchronized ( html )
>             //{
390,391c390,391
<                     synchronized ( body )
<                     {
---
>                     //synchronized ( body )
>                     //{
406c406
<                     }
---
>                     //}
412,413c412,413
<             }
<         }
---
>             //}
>         //}
207a208,210
>     public abstract void setMark();
>     public abstract int next();
>     public abstract void gotoMark();
78c78
< public class NodeTest extends Expression
---
> public class NodeTest extends org.apache.xpath.Expression 
71c71
< public class Operation extends Expression implements ExpressionOwner
---
> public class Operation extends org.apache.xpath.Expression implements ExpressionOwner

469c469
< 
---
> 	XObject pred = null;
478,479d477
<         try
<         {
486,487d483
<             try
<             {
493,495c489
<                 try
<                 {
<                   XObject pred = m_predicates[i].execute(xctxt);
---
>                   pred = m_predicates[i].execute(xctxt);
497,498d490
<                   try
<                   {
509,524c501
<                   }
<                   finally
<                   {
<                     pred.detach();
<                   }
<                 }
<                 finally
<                 {
<                   xctxt.popPredicatePos();
<                 }
<               }
<             }
<             finally
<             {
<               xctxt.popSubContextList();
<             }
---
> 		    
526,527c503
<             if (pass)
<               pos--;
---
> 	            if (pass) pos--;
529,536c505,507
<             if (pos < 1)
<               return false;
<           }
<         }
<         finally
<         {
<           xctxt.popCurrentNode();
<         }
---
>         	    if (pos < 1) return false;
>               }
>          }
543a515,520
>     } finally {
> 	    
>           xctxt.popCurrentNode();
>           pred.detach();
>           xctxt.popPredicatePos();
>           xctxt.popSubContextList();
569c546,548
< 
---
>     
>     XObject pred = null;        
>     
574,575c553,558
<       for (int child = traverser.first(parent); DTM.NULL != child;
<               child = traverser.next(parent, child))
---
>       for (int child = traverser.first(parent); 
> 		      
> 	DTM.NULL != child;
> 	
>         child = traverser.next(parent, child))
> 	      
577,578d559
<         try
<         {
580c561
< 
---
> 	  
584,587c565,566
< 
<             try
<             {
<               xctxt.pushSubContextList(this);
---
> 	    
> 	    xctxt.pushSubContextList(this);
592,594c571,572
<                 try
<                 {
<                   XObject pred = m_predicates[i].execute(xctxt);
---
>                 
> 		pred = m_predicates[i].execute(xctxt);
596,597d573
<                   try
<                   {
600c576
<                       if ((pos + 1) != (int) pred.numWithSideEffects())
---
> 	              if ((pos + 1) != (int) pred.numWithSideEffects())
602,603c578
<                         pass = false;
<     
---
> 			pass = false;
605a581
> 		      
610d585
<     
613,629c588
<                   }
<                   finally
<                   {
<                     pred.detach();
<                   }
<                 }
<                 finally
<                 {
<                   xctxt.popPredicatePos();
<                 }
<               }
<             }
<             finally
<             {
<               xctxt.popSubContextList();
<             }
< 
---
> 	      }
630a590,591
> 	    {
> 		    
632a594,595
> 	    }
> 
637,642c600,601
<           }
<         }
<         finally
<         {
<           xctxt.popCurrentNode();
<         }
---
>    
> 	}
648a608
>       //
649a610,622
>       
>     }
>     finally
>     {
> 	    
>       pred.detach();
>       
>       xctxt.popPredicatePos();
>       
>       xctxt.popSubContextList();
>       
>       xctxt.popCurrentNode();
>       
651a625
> 
754c728
< 
---
>     XObject pred = null;
763,765c737,739
<         try
<         {
<           XObject pred = m_predicates[i].execute(xctxt);
---
>           
> 	
> 	  pred = m_predicates[i].execute(xctxt);
767,768d740
<           try
<           {
769a742,743
> 		    
> 
798,807c772,780
<           }
<           finally
<           {
<             pred.detach();
<           }
<         }
<         finally
<         {
<           xctxt.popPredicatePos();
<         }
---
> 
> 
> 
> 
> 	    
>       
>       
>       
>       
812c785,790
<       xctxt.popSubContextList();
---
>       	pred.detach();
> 
>          xctxt.popPredicatePos();
>       
> 	xctxt.popSubContextList();
> 

317a318,321
>     public abstract void startElement(String s) throws TransletException;
>     public abstract void endElement(String s) throws TransletException;
>     public void attribute(String attributeName, String attributeValue)
> 		        throws TransletException {}

Attachment: java.lst.tar.bz2
Description: application/bzip

Attachment: properties.xerces.xalan.jar
Description: application/jar


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]