Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mapping SVRL and XVRL #9

Open
dmj opened this issue Mar 4, 2019 · 1 comment
Open

Mapping SVRL and XVRL #9

dmj opened this issue Mar 4, 2019 · 1 comment

Comments

@dmj
Copy link
Member

dmj commented Mar 4, 2019

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()  
@gimsieke
Copy link
Contributor

The XVRL spec should document canonical mappings for SVRL and for the messages of common Schema validators such as jing and xerces (how will information such as line numbers, error codes, textual messages map, …).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants