<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style></head><body lang=EN-US link=blue vlink="#954F72"><div class=WordSection1><p class=MsoNormal>Most work takes place in this repository and is copied to others:</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><a href="https://github.com/coderextreme/x3dschema">https://github.com/coderextreme/x3dschema</a></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Main routine is</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>validate.sh</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Modify this to suit your environment then run:</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>sh validate.sh<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>pick up results in results.txt, among others (check most recently modified files or source code for output files).<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Change schema being output by changing line 26:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>diff --git a/validatex3djson.js b/validatex3djson.js<o:p></o:p></p><p class=MsoNormal>index 17edde5..e4b7d48 100644<o:p></o:p></p><p class=MsoNormal>--- a/validatex3djson.js<o:p></o:p></p><p class=MsoNormal>+++ b/validatex3djson.js<o:p></o:p></p><p class=MsoNormal>@@ -26,7 +26,7 @@ for (var sversion in overallversions) {<o:p></o:p></p><p class=MsoNormal> function testValid(versions, valids, v, file, ajvValidate, hello) {<o:p></o:p></p><p class=MsoNormal>        // console.log(valids[0], valids[1], v);<o:p></o:p></p><p class=MsoNormal>        // change v == ? and set ? to 0 for my schema reports and set ? to 1 for roy's schema reports<o:p></o:p></p><p class=MsoNormal>-       if (valids[0] !== valids[1] && v == 1) {<o:p></o:p></p><p class=MsoNormal>+       if (valids[0] !== valids[1] && v == 0) {<o:p></o:p></p><p class=MsoNormal>            var errs = ajvValidate[versions[v]].errors;<o:p></o:p></p><p class=MsoNormal>            for (var e in errs) {<o:p></o:p></p><p class=MsoNormal>                if (e == 0) {<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>This program currently reports when there’s a difference in the validation of two schemas against each file.  Rerun validate.sh for each time you change the above code.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Current results from 2 draft06 schemas, one autogenerated (mine) and roy’s hand generated one fixed for draft06 by me:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><a href="https://raw.githubusercontent.com/coderextreme/x3dschema/master/resultsMyDraft06Schema.txt">https://raw.githubusercontent.com/coderextreme/x3dschema/master/resultsMyDraft06Schema.txt</a><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><a href="https://raw.githubusercontent.com/coderextreme/x3dschema/master/resultsRoysAndMyDraft06Schema.txt">https://raw.githubusercontent.com/coderextreme/x3dschema/master/resultsRoysAndMyDraft06Schema.txt</a><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I have done some preprocessing on the files, which was previously reported on October 26th or thereabouts, I believe, but not on these versions.  There may be added files to the JSON zip since that time, and those will need to be processed.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>There are differences between my schemas and the official versions.  Feel free to validate and diff.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I will update to draft07 and the more recent validators when I get a chance.  Going back in emails takes time.  Is there a better way to keep track of my reports?   Thanks!<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>John<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>