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

net.sf.okapi.lib.xliff2.modules.change_tracking.sch Maven / Gradle / Ivy

There is a newer version: 1.47.0
Show newest version






















]>



    Schematron rules for checking the constraints of the Change Tracking module against the XLIFF &version; spec
    
    

    
        
            
            
            
            
                The 'appliesTo' attribute is set to 'source' or 'target' and the 'unit' ancestor contains more than one 'source'/'target', but the 'ref' attribute is missing in <revisions>.
            
            
            
                The corresponding 'segment' or 'ignorable' element with id='', to which 'ref' is pointing was not found within the 'unit'.
            
        
    
    
        
        
            
            
            
            
            
            
                The corresponding  with id='', to which 'ref' is pointing was not found within the 'unit'.
            
        
    
    
        
        
            
            
            
            
                When the 'property' attribute is not set to 'content', the  element can contain text only.
            
            
            
                When the 'appliesTo' attribute of the ancestor 'revisions' is set to 'unit', only the following values ('unit' attributes) are allowed for 'property':
                id, name, canResegment, translate, srcDir, trgDir, xml:space and type.
            
            
            
                When the 'appliesTo' attribute of the ancestor 'revisions' is set to 'segment', only the following values ('segment' attributes) are allowed for 'property':
                id, canResegment, state and subState.
            
            
            
                When the 'appliesTo' attribute of the ancestor 'revisions' is set to 'ignorable', only the following values ('ignorable' attributes) are allowed for 'property':
                id.
            
            
            
                When the 'appliesTo' attribute of the ancestor 'revisions' is set to 'source', only the following values ('source' attributes) are allowed for 'property':
                xml:lang and xml:space.
            
            
            
                When the 'appliesTo' attribute of the ancestor 'revisions' is set to 'target', only the following values ('target' attributes) are allowed for 'property':
                xml:lang and xml:space.
            
        
    
    
        
        
            
            
            
                When the 'property' attribute is set to 'content' and the 'appliesTo' attribute of ancestor 'revisions' points to 'unit', the content of 
                'item' element must be of type A: only 'segment' and 'ignorables' in any order.
            
            
             
               When the 'property' attribute is set to 'content' and the 'appliesTo' attribute of ancestor 'revisions' points to 'segment' or 'ignorable', the content of 
                'item' element must be of type B or C: only one 'source' followed by at most one 'target' or only one 'target'.
                    
     
    
        
            
                XLIFF Core elements are not allowed in 'item' elements when the ancestor 'revisions' points to 'note'.
            
        
    
    
        
            
                The 'em' element corresponding to this start marker with the attribute @startRef='' is missing in the same 'item' element.
            
        
    
    
        
            
                The 'sm' element corresponding to this end marker with the attribute @id='' is missing in the same 'item' element.
            
        
    
    
        
            
                The 'ec' element corresponding to this start marker with the attribute @startRef='' is missing in the same 'item' element.
            
        
    
    
        
            
                The 'sc' element corresponding to this start marker with the attribute @id='' is missing in the same 'item' element.
            
        
    
    
    
        
            
            
            
                The value of 'property' attribute must be unique among all 'item' and 'simpleItem' elements within the enclosing 'revision' parent.
            
        
    
   
       
           
               The value of 'id' must be unique among all 'revisions', 'revision', 'item' and 'simpleItem' elements within the CTR module.
           
       
   




© 2015 - 2025 Weber Informatics LLC | Privacy Policy