All Downloads are FREE. Search and download functionalities are using the official Maven repository.

xspec.compiler.generate-tests-utils.xsl Maven / Gradle / Ivy

The newest version!












http://www.jenitennison.com/xslt/xspec/generate-tests-utils.xsl








   
   
   



   
   
      
         
      
      
         
         
      
      
         
      
      
         
         
      
      
         
         
      
      
         
         
      
      
      
         
      
   



   
   
      
   



  test:deep-equal function
  
    Identical Sequences
    
    
    
  
  
    Non-Identical Sequences
    
    
    
  
  
    Sequences with Same Items in Different Orders
    
    
    
  
  
    Empty Sequences
    
    
    
  
  
    One empty sequence
    
    
    
  
  
    A text node and several text nodes
    foobar
    
      foo
      bar
    
    
  


  
  
  



  
  
  
  
  
  
     
        
           
              
                 
              
              
                 
              
              
                 
              
              
                 
              
              
                 
              
           
        
        
           
        
        
           
        
        
           
              
           
           
        
        
           
              
                 
              
           
           
              
                 
              
           
           
              
                 
              
              
                 
              
           
        
        
           
        
     
  
  
  
  



  test:item-deep-equal function
  
    Identical Integers
    
    
    
  
  
    Non-Identical Strings
    
    
    
  
  
    String and Integer
    
    
    
  


  
  
  
    
      
    
    
            
    
    
      
    
  
  
  

  test:node-deep-equal function
  
    Identical Elements
    
      
    
    
      
    
    
  
  
    Elements with Identical Attributes in Different Orders
    
      
    
    
      
    
    
  
  
    Elements with Identical Children
    
      
    
    
      
    
    
  
  
    Identical Attributes
    
      
    
    
      
    
    
  
  
    Identical Document Nodes
    
      
    
    
      
    
    
  
  
    Identical Text Nodes
    
      Test
    
    
      Test
    
    
  
  
    Identical Comments
    
      
      
    
    
      
      
    
    
  
  
    Identical Processing Instructions
    
      
      
    
    
      
      
    
    
  
  
    Using "..." to indicate missing text
    
      ...
    
    
      foo
    
    
  
  
    Using "..." to indicate missing mixed content
    
      ...
    
    
      foofoo
    
    
  
  
    Using "..." to indicate missing attribute values
    
      
    
    
      
    
    
  
  
    Using "..." to indicate missing empty content
    
      ...
    
    
      
    
    
  


  
  
  
    
      
      
      
    
    
      
        
          
            
              
              
            
          
          
            
              
              
            
          
          
            
              
                
                  
                
                
                  
                  
                  
                
              
            
            
              
            
          
        
        
          
        
      
    
    
      
    
    
      
          
        
    
    
            
    
    
      
    
    
      
    
    

  

  test:sorted-children function
  
    Original order preserved
    
      
    
    
      
    
  
  

  
  

  

  test:report-value function
  
    Integer
    
    
      
    
  
  
    Empty Sequence
    
    
      
    
  
  
    String
    
    
      
    
  
  
    URI
    
    
      
    
  
  
    QName
    
    
      
    
  
  
    Attributes
    
      
    
    
      
        
      
    
  
  
    Attributes and content
    
      
        
      
    
    
      
        
          
        
      
    
  


  
  
  
  
    
      
        /*/(@* | node())
        
          
        
      
      
        
          
            /
          
          
            /node()
          
        
      	
      		
      			
      			
      			
      				
      			
      		
      		
      			
      		
      	
      
      
        
          
            ()
            
              
            
            
              (
              
                
                , 
              
              )
            
          
                
      
    
  



  
    
    
  



  



  test:report-atomic-value function
  
    String Containing Single Quotes
    
    
  


  
  
    
      
    
    
      
    
    
      
    
    
      
      
    
  
  
  

  
  
    xs:string
    xs:boolean
    xs:double
    xs:anyURI
    xs:dateTime
    xs:date
    xs:time
    xs:anyAtomicType
    

 

  
  




































© 2015 - 2025 Weber Informatics LLC | Privacy Policy