jw3 edited a comment on pull request #463:
URL: 
https://github.com/apache/incubator-daffodil/pull/463#issuecomment-751933010


   @rthomas320 
   
   > If SVRL reports were generated would it be possible to commit those to git 
also?
   
   A few examples of svrl output
   
   ```xml
   <svrl:schematron-output title="" schemaVersion="" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xs="http://www.w3.org/2001/XMLSchema"; 
xmlns:xhtml="http://www.w3.org/1999/xhtml"; 
xmlns:schold="http://www.ascc.net/xml/schematron"; 
xmlns:saxon="http://saxon.sf.net/"; 
xmlns:iso="http://purl.oclc.org/dsdl/schematron"; 
xmlns:svrl="http://purl.oclc.org/dsdl/svrl";>
      <svrl:active-pattern document=""/>
      <svrl:fired-rule context="time_low"/>
      <svrl:failed-assert location="/uuid[1]/time_low[1]" 
test="string-length(.)=8">
         <svrl:text>time_low wrong length</svrl:text>
      </svrl:failed-assert>
      <svrl:active-pattern document=""/>
      <svrl:fired-rule context="time_mid"/>
      <svrl:active-pattern document=""/>
      <svrl:fired-rule context="time_hi_and_version"/>
      <svrl:active-pattern document=""/>
      <svrl:fired-rule context="clock_seq_hi_and_res"/>
      <svrl:active-pattern document=""/>
      <svrl:fired-rule context="node"/>
   </svrl:schematron-output>
   ```
   
   ```xml
   <svrl:schematron-output title="" schemaVersion="" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xs="http://www.w3.org/2001/XMLSchema"; 
xmlns:xhtml="http://www.w3.org/1999/xhtml"; 
xmlns:schold="http://www.ascc.net/xml/schematron"; 
xmlns:saxon="http://saxon.sf.net/"; 
xmlns:iso="http://purl.oclc.org/dsdl/schematron"; 
xmlns:svrl="http://purl.oclc.org/dsdl/svrl";>
      <svrl:active-pattern document=""/>
      <svrl:active-pattern document=""/>
      <svrl:fired-rule context="first"/>
      <svrl:failed-assert location="/name[1]/first[1]" test="string-length(.) 
&gt; 0">
         <svrl:text>first is blank.</svrl:text>
      </svrl:failed-assert>
      <svrl:fired-rule context="last"/>
      <svrl:failed-assert location="/name[1]/last[1]" test="string-length(.) 
&gt; 0">
         <svrl:text>last is blank.</svrl:text>
      </svrl:failed-assert>
   </svrl:schematron-output>
   ```
   
   ```xml
   <svrl:schematron-output title="" schemaVersion="" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xs="http://www.w3.org/2001/XMLSchema"; 
xmlns:xhtml="http://www.w3.org/1999/xhtml"; 
xmlns:schold="http://www.ascc.net/xml/schematron"; 
xmlns:saxon="http://saxon.sf.net/"; 
xmlns:iso="http://purl.oclc.org/dsdl/schematron"; 
xmlns:svrl="http://purl.oclc.org/dsdl/svrl";>
      <svrl:active-pattern document=""/>
      <svrl:active-pattern document=""/>
      <svrl:fired-rule context="first"/>
      <svrl:fired-rule context="last"/>
   </svrl:schematron-output>
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to