Skip to content

Mapping SVRL and XVRL #9

@dmj

Description

@dmj

The following table shows a first tentative mapping from SVRL to XVRL. Not all items from SVRL can be expressed in XVRL but are relegated to the supplemental element.

SVRL Schematron XVRL
schematron-output schema validation-report
schematron-output/@‍title schema/title validation-report/metadata/title
schematron-output/@‍phase    
schematron-output/@‍schemaVersion schema/@‍schemaVersion  
schematron-output/text schema/p validation-report/metadata/summary
ns-prefix-in-attribute-values ns  
active-pattern pattern report/supplemental
active-pattern/@‍id pattern/id  
active-pattern/@‍documents pattern/@‍documents  
active-pattern/@‍name pattern/title  
active-pattern/@‍role ?  
fired-rule rule report/supplemental
fired-rule/@‍id rule/@‍id  
fired-rule/@‍name ?  
fired-rule/@‍context rule/@‍context  
fired-rule/@‍role rule/@‍role  
fired-rule/@‍flag rule/@‍flag  
failed-assert assert report
failed-assert/@‍id assert/@‍id report/@‍code
failed-assert/@‍location   report/locations
failed-assert/@‍role assert/@‍role report/@‍severity
failed-assert/@‍flag assert/@‍flag report/category
failed-assert/text assert/node() report/message
successful-report report report
successful-report/@‍id report/@‍id report/@‍code
successful-report/@‍location   report/locations
successful-report/@‍role report/@‍role report/@‍severity
successful-report/@‍flag report/@‍flag report/category
successful-report/text report/node() report/message
diagnostic-reference diagnostic report/supplemental
diagnostic-reference/@‍diagnostic diagnostic/@‍id  
diagnostic-reference/text diagnostic/node()  
property-reference property report/supplemental
property-reference/@‍property property/@‍id  
property-reference/@‍role property/@‍role  
property-reference/@‍scheme property/@‍scheme  
property-reference/text property/text()  

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions