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

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

There is a newer version: 1.47.0
Show newest version






















]>


    Schematron rules for checking the constraints of the Resource Data module against XLIFF Version &version;
    
    
    
    
        
            
            
            
                id duplication found among <res:resourceItemRef> and/or <res:resourceItem> elements within the enclosing <resourceData> element. 
            
        
    
    
    
        
            
                The children <res:source> and/or <res:target> elements are empty, but the mimeType attribute is missing.
            
        
    
    
    
        
            
                The <res:source> element is empty, but the href attribute is missing.
            
        
    
    
    
        
            
            
                xml:lang attribute of <res:source> element and srcLang of enclosing <xliff> are not matching.
            
        
    
    
    
        
            
                The <res:target> element is empty, but the href attribute is missing.
            
        
    
    
    
        
            
            
                xml:lang attribute of <res:target> element and trgLang of enclosing <xliff> are not matching.
            
        
    
    
    
        
            The value of the optional id attribute must be unique among all <resourceItem> and <resourceItemRef> elements of the enclosing <resourceData> element.
        
        
            The mimeType attribute is required if <target> and <source> child elements are empty, otherwise it is optional.
        
        
            The attribute href is required if and only if <source> is empty.
        
        
            When the optional xml:lang attribute is present, its value must be equal to the value of the srcLang attribute of the enclosing <xliff> element.
        
        
            The attribute href is required if and only if <target> is empty.
        
        
            When the optional xml:lang attribute is present, its value must be equal to the value of the trgLang attribute of the enclosing <xliff> element.
        
    






© 2015 - 2025 Weber Informatics LLC | Privacy Policy