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

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

There is a newer version: 1.47.0
Show newest version






















]>



    Schematron rules for checking the constraints of the ITS module against XLIFF Version &version;
    
    
    
    
    
    
    
    
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
    
    
    
        
            
                Invalid 'itsm' attribute used in 'revision'.
            
        
    
    
        
            
                When the 'itsm:annotatorsRef' attribute is used, the optional 'type' attribute must be set to 'itsm:generic' if declared.
            
        
    
    
        
            
                When used in ITS Localization Quality Issue Annotation, the optional 'type' attribute must be set to 'itsm:generic' if declared.
            
            
                When the 'itsm:locQualityIssuesRef' attribute is used, the following attributes must be declared: 'itsm:locQualityIssueType' and 'itsm:locQualityIssueComment'.
            
            
                When the 'itsm:locQualityIssuesRef' attribute is used, the following attributes must be declared: 'itsm:locQualityIssueSeverity', 'itsm:locQualityIssueProfileRef' and 'itsm:locQualityIssueEnabled'..
            
        
    
    
        
            
                When the 'itsm:locQualityIssueSeverity' or 'itsm:locQualityIssueProfileRef' attributes are used, the 'itsm:locQualityIssuesRef' must not be declared.
            
        
    
    
        
            
                When the 'itsm:locQualityRatingScore' attribute is used, the 'itms:locQualityRatingVote' attribute is not allowed.
            
            
                When the 'itsm:locQualityRatingScore' attribute is used, the optional 'type' attribute must be set to 'itsm:generic' if declared.
            
        
    
    
        
            
                When the 'itsm:locQualityRatingVote' attribute is used, the 'itms:locQualityRatingScore' attribute is not allowed.
            
            
                When the 'itsm:locQualityRatingVote' attribute is used, the optional 'type' attribute must be set to 'itsm:generic' if declared.
            
        
    
    
        
            
                The 'itsm:locQualityRatingScoreThreshold' attribute may be set only if 'itsm:locQualityRatingScore' is declared or inherited from upper levels.
            
        
    
    
        
            
                The 'itsm:locQualityRatingVoteThreshold' attribute may be set only if 'itsm:locQualityRatingVote' is declared or inherited from upper levels.
            
        
    
    
        
            
                When the 'itsm:taIdentRef' attribute is used, the following attributes are not allowed: 'itsm:taSource' and 'itsm:taIdent'.
            
            
                When the 'itsm:taIdentRef' attribute is used, the optional 'type' attribute must be set to 'itsm:generic' if declared.
            
        
    
    
        
            
                When the 'itsm:taSource' or 'itsm:taIdent' attributes are used, the 'itsm:taIdentRef' attribute is not allowed.
            
            
                The pair of 'itsm:taSource' and 'itsm:taIdent'attributes must be present at the same time.
            
            
                When the 'itsm:taSource' and 'itsm:taIdent' attributes are used, the optional 'type' attribute must be set to 'itsm:generic' if declared.
            
        
    
    
        
            
                When the 'itsm:taClassRef' attribute is used, the optional 'type' attribute must be set to 'itsm:generic' if declared.
            
        
    
    
        
            
                When the 'itsm:lang' attribute is used, the optional 'type' attribute must be set to 'itsm:generic' if declared.
            
        
    
    
        
            
                When the 'itsm:mtConfidence' attribute is used, the optional 'type' attribute must be set to 'itsm:generic' if declared.
            
        
    
    
    
        
            
                When the 'itsm:provenanceRecordsRef' attribute is used, the optional 'type' attribute must be set to 'itsm:generic' if declared.
            
            
                When the 'itsm:provenanceRecordsRef' attribute is used, the following attributes are not allowed: itsm:org, itsm:orgRef, itsm:person, itsm:personRef, itsm:revOrg,
                itsm:revOrgRef, itsm:revPerson, itsm:revPersonRef, itsm:revTool, itsm:revToolRef, itsm:tool and itsm:toolRef.
                
            
        
    
    
        
            
                When the 'itsm:allowedCharacters', 'itsm:domains' or 'itsm:localeFilterList attributes are used, the value of optional 'type' attribute must be set to 'itsm:generic'.
            
        
    
    
        
            
                If the 'itsm:locQualityIssuesRef' attribute is declared, the following attributes are not allowd: itsm:locQualityIssueSeverity, itsm:locQualityIssueProfileRef, and itsm:locQualityIssueEnabled".
            
            
                The value of the locQualityIssuesRef attribute must be an NMTOKEN value of one of the id attributes declared on a <locQualityIssues> elements within the same 'unit'.
            
        
    
    
        
            
                When 'itsm:locQualityIssuesRef' is declared, 'itsm:locQualityIssueType' and itsm:locQualityIssueComment are not allowed.
            
        
    
    
        
            
                When 'itsm:locQualityIssueType' or 'itsm:locQualityIssueComment' are declared, 'itsm:locQualityIssuesRef' is not allowed.
            
        
    
   
        
            
            
            
                Invalid id used for the ITS datacategory . Please see the Specification for guidelines on the value of this attribute.
            
        
    
    
        
            
            
            
                Each ITS data category identifier must not be used more than once.
            
            
                The space separated triples are not ordered alphabetically as per the ITS Data category identifier or contain iligal value. Please see the Specification for guidelines on the value of this attribute.
            
         
    
    
        
            
                At least one of the attributes locQualityIssueType or locQualityIssueComment must be set.
            
        
    
    
        
            
                At least one of the followings must be set: itsm:org, itsm:orgRef, itsm:person, itsm:personRef, itsm:revOrg,
                itsm:revOrgRef, itsm:revPerson, itsm:revPersonRef, itsm:revTool, itsm:revToolRef, itsm:tool and itsm:toolRef.
            
        
    
    
        
            
            
            
                Value of 'id' must be unique among all of  <locQualityIssues> and <provenanceRecords> elements within the enclosing 'unit'.
            
        
    
    
        
            
            
            
                Value of 'id' must be unique among all of  <provenanceRecords> elements within the enclosing 'group'.
            
        
    
    
        
            
            
            
                Value of 'id' must be unique among all of  <provenanceRecords> elements within the enclosing 'file'.
            
        
    
    
        
            
                If 'itsm:locQualityIssuesRef' attribute is declared, the 'itsm:locQualityIssueSeverity' must not be used. 
            
            
                If 'itsm:locQualityIssuesRef' attribute is declared, the 'itsm:locQualityIssueProfileRef' must not be used. 
            
            
                If 'itsm:locQualityIssuesRef' attribute is declared, the 'itsm:locQualityIssueEnabled' must not be used. 
            
                
    





© 2015 - 2025 Weber Informatics LLC | Privacy Policy