From fe0beab58e8505e00c1a60d10f22158b98adc71e Mon Sep 17 00:00:00 2001
From: Jim Amsden \n [{{citationLabel}}] \n Please refer to the errata for this document, which may include some normative corrections.\n \n {{#if multipleAlternates}}\n This document is also available in these non-normative formats:\n {{else}}\n This document is also available in this non-normative format:\n {{/if}}\n {{{alternatesHTML}}}\n \n This document is merely a public working draft of a potential project specification. It has\n no official standing of any kind and does not represent the support or consensus of any\n standards organization.\n \n This is a Non-Standards Track Work Product. The patent provisions of the OASIS IPR Policy do\n not apply.\n \n This document was last revised or approved by the Project Governing Board of the\n {{wg}} on the above date. The level of approval is also listed above.\n Check the “Latest stage” location noted above for possible later revisions\n of this document. Any other numbered Versions and other technical work produced by the Open\n Project are listed at {{wgURI}}.\n \n Comments on this work can be provided by opening issues in the project repository or by\n sending email to the project’s public comment list {{wgPublicList}}.\n \n This document was last revised or approved by the {{#if isStd}}membership of OASIS{{else}}{{wg}}{{/if}} on the above date.\n The level of approval is also listed above.\n Check the “Latest stage” location noted above for possible later revisions of this document.\n Any other numbered Versions and other technical work produced by the Open Project are listed at\n {{wgURI}}.\n \n Comments on this work can be provided by opening issues in the project repository\n or by sending email to the project’s public comment list\n {{wgPublicList}}.\n \n {{#if isStd}}\n The English version of this specification is the only normative version. Non-normative\n translations may also be available.\n {{/if}}\n Note that any machine-readable content\n (Computer Language Definitions)\n declared Normative for this Work Product is provided in separate plain text files.\n In the event of a discrepancy between any such plain text file and display content\n in the Work Product\'s prose narrative document(s), the content in the separate plain text file prevails.\n \n Please see the Open Project\'s implementation report.\n \n This document is merely a public working draft of a potential project specification. It has\n no official standing of any kind and does not represent the support or consensus of any\n standards organization.\n \n This is a Non-Standards Track Work Product. The patent provisions of the OASIS IPR Policy do\n not apply.\n \n This document was last revised or approved by the Project Governing Board of the\n {{wg}} on the above date. The level of approval is also listed above.\n Check the “Latest stage” location noted above for possible later revisions\n of this document. Any other numbered Versions and other technical work produced by the Open\n Project are listed at {{wgURI}}.\n \n Comments on this work can be provided by opening issues in the project repository or by\n sending email to the project’s public comment list {{wgPublicList}}.\n \n This document was last revised or approved by the {{#if isStd}}membership of OASIS{{else}}{{wg}}{{/if}} on the above date.\n The level of approval is also listed above.\n Check the “Latest stage” location noted above for possible later revisions of this document.\n Any other numbered Versions and other technical work produced by the Open Project are listed at\n {{wgURI}}.\n \n Comments on this work can be provided by opening issues in the project repository\n or by sending email to the project’s public comment list\n {{wgPublicList}}.\n \n {{#if isStd}}\n The English version of this specification is the only normative version. Non-normative\n translations may also be available.\n {{/if}}\n Note that any machine-readable content\n (Computer Language Definitions)\n declared Normative for this Work Product is provided in separate plain text files.\n In the event of a discrepancy between any such plain text file and display content\n in the Work Product\'s prose narrative document(s), the content in the separate plain text file prevails.\n \n Please see the Open Project\'s implementation report.\n Copyright ©\n {{#if additionalCopyrightHolders}} {{{additionalCopyrightHolders}}} &{{/if}}\n OASIS Open\n {{#if copyrightStart}}{{copyrightStart}}-{{/if}}{{publishYear}}.\n All Rights Reserved.\n All capitalized terms in the following text have the meanings assigned to them in the\n OASIS Intellectual Property Rights Policy (the "OASIS IPR Policy").\n The full Policy\n may be found at the OASIS website.\n \n This specification is published under the {{licenseName}}.\n {{#if additionalLicenses}}\n {{#each additionalLicenses}}\n Portions of this specification are also provided under the {{licenseName}}.\n {{/each}}\n {{/if}}\n All contributions made to this project have been made under the\n OASIS Contributor License Agreement (CLA).
\n {{/if}}\n \n {{title}}
\n \n {{#if docStatus}}\n {{docStatus}}\n {{/if}}\n {{#if publishHumanDate}}\n
\n
\n \n {{/if}}\n \n {{#unless isWD}}\n
\n {{#if errata}}\n
\n
\n {{#if showPDF}}\n {{thisPDFVersion}}\n {{/if}}\n
\n {{prevPDFVersion}}\n {{#if previousDocStatus}}\n
(published as {{previousDocStatus}}{{#if previousPublishHumanDate}} on {{previousPublishHumanDate}}{{/if}})\n {{/if}}\n {{else}}\n N/A\n {{/if}}\n
\n
\n {{latestPDFVersion}}\n {{/if}}\n
\n \n {{#each additionalArtifacts}}\n
\n {{#each supersedes}}\n
\n {{#each relatedWork}}\n
\n {{title}}.\n Edited by {{editorsHTML}}.\n {{publishHumanDate}}.\n {{#unless isStd}}OASIS {{/unless}} {{textStatus}}{{#unless isStd}} {{revision}}{{/unless}}.\n {{#if thisVersion}} {{thisVersion}}.{{/if}}\n {{#if latestVersion}} Latest stage: {{latestVersion}}.{{/if}}\n
\n\nNotices
\n{{#if overrideCopyright}}\n {{{overrideCopyright}}}\n{{else}}\n
\n For information on whether any patents have been disclosed that may be essential to implementing this specification,\n and any offers of patent licensing terms,\n please refer to the\n \n Open Projects IPR Statements page.\n
\n {{/unless}}\n {{/if}}\n\n This document and translations of it may be copied and furnished to others,\n and derivative works that comment on or otherwise explain it or assist in its implementation\n may be prepared, copied, published, and distributed, in whole or in part,\n without restriction of any kind, provided that the above copyright notice\n and this section are included on all such copies and derivative works.\n However, this document itself may not be modified in any way,\n including by removing the copyright notice or references to OASIS,\n except as needed for the purpose of developing any document or deliverable\n produced by an OASIS Open Project or OASIS Technical Committee\n (in which case the rules applicable to copyrights,\n as set forth in the OASIS IPR Policy, must be followed)\n or as required to translate it into languages other than English.\n
\n\n The limited permissions granted above are perpetual and will not be revoked by OASIS\n or its successors or assigns.\n
\n\n This document and the information contained herein is provided on an "AS IS" basis\n and OASIS DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY\n THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY OWNERSHIP RIGHTS OR ANY IMPLIED\n WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.\n
\n {{#unless isNoTrack}}\n\n OASIS requests that any OASIS Party or any other party that believes it has patent claims\n that would necessarily be infringed by implementations of this OASIS Project Specification\n or OASIS Standard, to notify the OASIS TC Administrator and provide an indication of its\n willingness to grant patent licenses to such patent claims in a manner consistent with the\n IPR Mode of the OASIS Technical Committee that produced this specification.\n
\n\n OASIS invites any party to contact the OASIS TC Administrator if it is aware of a claim of ownership\n of any patent claims that would necessarily be infringed by implementations of this specification\n by a patent holder that is not willing to provide a license to such patent claims in a manner\n consistent with the IPR Mode of the OASIS Open Project that produced this specification.\n OASIS may include such claims on its website, but disclaims any obligation to do so.\n
\n\n OASIS takes no position regarding the validity or scope of any intellectual property\n or other rights that might be claimed to pertain to the implementation or use of\n the technology described in this document or the extent to which any license under\n such rights might or might not be available;\n neither does it represent that it has made any effort to identify any such rights.\n Information on OASIS\' procedures with respect to rights in any document or deliverable\n produced by an OASIS Technical Committee can be found on the OASIS website.\n Copies of claims of rights made available for publication and any assurances of licenses\n to be made available, or the result of an attempt made to obtain a general license\n or permission for the use of such proprietary rights by implementers or users of this\n OASIS Open Project Specification or OASIS Standard, can be obtained from the OASIS TC Administrator.\n OASIS makes no representation that any information or list of intellectual property rights\n will at any time be complete, or that any claims in such list are, in fact, Essential Claims.\n
\n {{/unless}}\n {{#if addPatentNote}}{{{addPatentNote}}}
{{/if}}\n\n The name "OASIS" is a trademark of OASIS,\n the owner and developer of this specification,\n and should be used only to refer to the organization and its official outputs.\n OASIS welcomes reference to, and implementation and use of, specifications,\n while reserving the right to enforce its marks against misleading uses. Please see\n https://www.oasis-open.org/policies-guidelines/trademark/\n for above guidance.\n
\n {{#if addTrademarkNote}}{{{addTrademarkNote}}}
{{/if}}\n{{/if}}\n');}); diff --git a/builds/respec-oasis-common-2.1.34.js b/builds/respec-oasis-common-2.1.34.js new file mode 100644 index 0000000..3e80686 --- /dev/null +++ b/builds/respec-oasis-common-2.1.34.js @@ -0,0 +1,9607 @@ +/* ReSpec 2.1.34 - Robin Berjon, http://berjon.com/ (@robinberjon) + - Steve Speicher, http://stevespeicher.me/ (@sspeiche) + - Nick Crossley (@ndjc) */ +/* Documentation: http://w3.org/respec/. */ +/* See original source for licenses: https://github.com/oasis-tcs/tab-respec. */ +respecVersion = '2.1.34'; +/* + RequireJS 2.1.8 Copyright (c) 2010-2012, The Dojo Foundation All Rights Reserved. + Available via the MIT or new BSD license. + see: http://github.com/jrburke/requirejs for details +*/ +var requirejs,require,define; +(function(Z){function H(b){return"[object Function]"===L.call(b)}function I(b){return"[object Array]"===L.call(b)}function y(b,c){if(b){var d;for(d=0;d} and {@code } tags in your source with
+ * {@code class=prettyprint.}
+ * You can also use the (html deprecated) {@code } tag, but the pretty
+ * printer needs to do more substantial DOM manipulations to support that, so
+ * some css styles may not be preserved.
+ *
+ * That's it. I wanted to keep the API as simple as possible, so there's no
+ * need to specify which language the code is in, but if you wish, you can add
+ * another class to the {@code } or {@code } element to specify the
+ * language, as in {@code }. Any class that
+ * starts with "lang-" followed by a file extension, specifies the file type.
+ * See the "lang-*.js" files in this directory for code that implements
+ * per-language file handlers.
+ *
+ * Change log:
+ * cbeust, 2006/08/22
+ *
+ * Java annotations (start with "@") are now captured as literals ("lit")
+ *
+ * @requires console
+ */
+
+// JSLint declarations
+/*global console, document, navigator, setTimeout, window, define */
+
+/** @define {boolean} */
+var IN_GLOBAL_SCOPE = true;
+
+/**
+ * Split {@code prettyPrint} into multiple timeouts so as not to interfere with
+ * UI events.
+ * If set to {@code false}, {@code prettyPrint()} is synchronous.
+ */
+window['PR_SHOULD_USE_CONTINUATION'] = true;
+
+/**
+ * Pretty print a chunk of code.
+ * @param {string} sourceCodeHtml The HTML to pretty print.
+ * @param {string} opt_langExtension The language name to use.
+ * Typically, a filename extension like 'cpp' or 'java'.
+ * @param {number|boolean} opt_numberLines True to number lines,
+ * or the 1-indexed number of the first line in sourceCodeHtml.
+ * @return {string} code as html, but prettier
+ */
+var prettyPrintOne;
+/**
+ * Find all the {@code } and {@code } tags in the DOM with
+ * {@code class=prettyprint} and prettify them.
+ *
+ * @param {Function} opt_whenDone called when prettifying is done.
+ * @param {HTMLElement|HTMLDocument} opt_root an element or document
+ * containing all the elements to pretty print.
+ * Defaults to {@code document.body}.
+ */
+var prettyPrint;
+
+
+(function () {
+ var win = window;
+ // Keyword lists for various languages.
+ // We use things that coerce to strings to make them compact when minified
+ // and to defeat aggressive optimizers that fold large string constants.
+ var FLOW_CONTROL_KEYWORDS = ["break,continue,do,else,for,if,return,while"];
+ var C_KEYWORDS = [FLOW_CONTROL_KEYWORDS,"auto,case,char,const,default," +
+ "double,enum,extern,float,goto,inline,int,long,register,short,signed," +
+ "sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"];
+ var COMMON_KEYWORDS = [C_KEYWORDS,"catch,class,delete,false,import," +
+ "new,operator,private,protected,public,this,throw,true,try,typeof"];
+ var CPP_KEYWORDS = [COMMON_KEYWORDS,"alignof,align_union,asm,axiom,bool," +
+ "concept,concept_map,const_cast,constexpr,decltype,delegate," +
+ "dynamic_cast,explicit,export,friend,generic,late_check," +
+ "mutable,namespace,nullptr,property,reinterpret_cast,static_assert," +
+ "static_cast,template,typeid,typename,using,virtual,where"];
+ var JAVA_KEYWORDS = [COMMON_KEYWORDS,
+ "abstract,assert,boolean,byte,extends,final,finally,implements,import," +
+ "instanceof,interface,null,native,package,strictfp,super,synchronized," +
+ "throws,transient"];
+ var CSHARP_KEYWORDS = [COMMON_KEYWORDS,
+ "abstract,as,base,bool,by,byte,checked,decimal,delegate,descending," +
+ "dynamic,event,finally,fixed,foreach,from,group,implicit,in,interface," +
+ "internal,into,is,let,lock,null,object,out,override,orderby,params," +
+ "partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong," +
+ "unchecked,unsafe,ushort,var,virtual,where"];
+ var COFFEE_KEYWORDS = "all,and,by,catch,class,else,extends,false,finally," +
+ "for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then," +
+ "throw,true,try,unless,until,when,while,yes";
+ var JSCRIPT_KEYWORDS = [COMMON_KEYWORDS,
+ "debugger,eval,export,function,get,null,set,undefined,var,with," +
+ "Infinity,NaN"];
+ var PERL_KEYWORDS = "caller,delete,die,do,dump,elsif,eval,exit,foreach,for," +
+ "goto,if,import,last,local,my,next,no,our,print,package,redo,require," +
+ "sub,undef,unless,until,use,wantarray,while,BEGIN,END";
+ var PYTHON_KEYWORDS = [FLOW_CONTROL_KEYWORDS, "and,as,assert,class,def,del," +
+ "elif,except,exec,finally,from,global,import,in,is,lambda," +
+ "nonlocal,not,or,pass,print,raise,try,with,yield," +
+ "False,True,None"];
+ var RUBY_KEYWORDS = [FLOW_CONTROL_KEYWORDS, "alias,and,begin,case,class," +
+ "def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo," +
+ "rescue,retry,self,super,then,true,undef,unless,until,when,yield," +
+ "BEGIN,END"];
+ var RUST_KEYWORDS = [FLOW_CONTROL_KEYWORDS, "as,assert,const,copy,drop," +
+ "enum,extern,fail,false,fn,impl,let,log,loop,match,mod,move,mut,priv," +
+ "pub,pure,ref,self,static,struct,true,trait,type,unsafe,use"];
+ var SH_KEYWORDS = [FLOW_CONTROL_KEYWORDS, "case,done,elif,esac,eval,fi," +
+ "function,in,local,set,then,until"];
+ var ALL_KEYWORDS = [
+ CPP_KEYWORDS, CSHARP_KEYWORDS, JSCRIPT_KEYWORDS, PERL_KEYWORDS,
+ PYTHON_KEYWORDS, RUBY_KEYWORDS, SH_KEYWORDS];
+ var C_TYPES = /^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)\b/;
+
+ // token style names. correspond to css classes
+ /**
+ * token style for a string literal
+ * @const
+ */
+ var PR_STRING = 'str';
+ /**
+ * token style for a keyword
+ * @const
+ */
+ var PR_KEYWORD = 'kwd';
+ /**
+ * token style for a comment
+ * @const
+ */
+ var PR_COMMENT = 'com';
+ /**
+ * token style for a type
+ * @const
+ */
+ var PR_TYPE = 'typ';
+ /**
+ * token style for a literal value. e.g. 1, null, true.
+ * @const
+ */
+ var PR_LITERAL = 'lit';
+ /**
+ * token style for a punctuation string.
+ * @const
+ */
+ var PR_PUNCTUATION = 'pun';
+ /**
+ * token style for plain text.
+ * @const
+ */
+ var PR_PLAIN = 'pln';
+
+ /**
+ * token style for an sgml tag.
+ * @const
+ */
+ var PR_TAG = 'tag';
+ /**
+ * token style for a markup declaration such as a DOCTYPE.
+ * @const
+ */
+ var PR_DECLARATION = 'dec';
+ /**
+ * token style for embedded source.
+ * @const
+ */
+ var PR_SOURCE = 'src';
+ /**
+ * token style for an sgml attribute name.
+ * @const
+ */
+ var PR_ATTRIB_NAME = 'atn';
+ /**
+ * token style for an sgml attribute value.
+ * @const
+ */
+ var PR_ATTRIB_VALUE = 'atv';
+
+ /**
+ * A class that indicates a section of markup that is not code, e.g. to allow
+ * embedding of line numbers within code listings.
+ * @const
+ */
+ var PR_NOCODE = 'nocode';
+
+
+
+ /**
+ * A set of tokens that can precede a regular expression literal in
+ * javascript
+ * http://web.archive.org/web/20070717142515/http://www.mozilla.org/js/language/js20/rationale/syntax.html
+ * has the full list, but I've removed ones that might be problematic when
+ * seen in languages that don't support regular expression literals.
+ *
+ * Specifically, I've removed any keywords that can't precede a regexp
+ * literal in a syntactically legal javascript program, and I've removed the
+ * "in" keyword since it's not a keyword in many languages, and might be used
+ * as a count of inches.
+ *
+ *
The link above does not accurately describe EcmaScript rules since
+ * it fails to distinguish between (a=++/b/i) and (a++/b/i) but it works
+ * very well in practice.
+ *
+ * @private
+ * @const
+ */
+ var REGEXP_PRECEDER_PATTERN = '(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*';
+
+ // CAVEAT: this does not properly handle the case where a regular
+ // expression immediately follows another since a regular expression may
+ // have flags for case-sensitivity and the like. Having regexp tokens
+ // adjacent is not valid in any language I'm aware of, so I'm punting.
+ // TODO: maybe style special characters inside a regexp as punctuation.
+
+ /**
+ * Given a group of {@link RegExp}s, returns a {@code RegExp} that globally
+ * matches the union of the sets of strings matched by the input RegExp.
+ * Since it matches globally, if the input strings have a start-of-input
+ * anchor (/^.../), it is ignored for the purposes of unioning.
+ * @param {Array.} regexs non multiline, non-global regexs.
+ * @return {RegExp} a global regex.
+ */
+ function combinePrefixPatterns(regexs) {
+ var capturedGroupIndex = 0;
+
+ var needToFoldCase = false;
+ var ignoreCase = false;
+ for (var i = 0, n = regexs.length; i < n; ++i) {
+ var regex = regexs[i];
+ if (regex.ignoreCase) {
+ ignoreCase = true;
+ } else if (/[a-z]/i.test(regex.source.replace(
+ /\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi, ''))) {
+ needToFoldCase = true;
+ ignoreCase = false;
+ break;
+ }
+ }
+
+ var escapeCharToCodeUnit = {
+ 'b': 8,
+ 't': 9,
+ 'n': 0xa,
+ 'v': 0xb,
+ 'f': 0xc,
+ 'r': 0xd
+ };
+
+ function decodeEscape(charsetPart) {
+ var cc0 = charsetPart.charCodeAt(0);
+ if (cc0 !== 92 /* \\ */) {
+ return cc0;
+ }
+ var c1 = charsetPart.charAt(1);
+ cc0 = escapeCharToCodeUnit[c1];
+ if (cc0) {
+ return cc0;
+ } else if ('0' <= c1 && c1 <= '7') {
+ return parseInt(charsetPart.substring(1), 8);
+ } else if (c1 === 'u' || c1 === 'x') {
+ return parseInt(charsetPart.substring(2), 16);
+ } else {
+ return charsetPart.charCodeAt(1);
+ }
+ }
+
+ function encodeEscape(charCode) {
+ if (charCode < 0x20) {
+ return (charCode < 0x10 ? '\\x0' : '\\x') + charCode.toString(16);
+ }
+ var ch = String.fromCharCode(charCode);
+ return (ch === '\\' || ch === '-' || ch === ']' || ch === '^')
+ ? "\\" + ch : ch;
+ }
+
+ function caseFoldCharset(charSet) {
+ var charsetParts = charSet.substring(1, charSet.length - 1).match(
+ new RegExp(
+ '\\\\u[0-9A-Fa-f]{4}'
+ + '|\\\\x[0-9A-Fa-f]{2}'
+ + '|\\\\[0-3][0-7]{0,2}'
+ + '|\\\\[0-7]{1,2}'
+ + '|\\\\[\\s\\S]'
+ + '|-'
+ + '|[^-\\\\]',
+ 'g'));
+ var ranges = [];
+ var inverse = charsetParts[0] === '^';
+
+ var out = ['['];
+ if (inverse) { out.push('^'); }
+
+ for (var i = inverse ? 1 : 0, n = charsetParts.length; i < n; ++i) {
+ var p = charsetParts[i];
+ if (/\\[bdsw]/i.test(p)) { // Don't muck with named groups.
+ out.push(p);
+ } else {
+ var start = decodeEscape(p);
+ var end;
+ if (i + 2 < n && '-' === charsetParts[i + 1]) {
+ end = decodeEscape(charsetParts[i + 2]);
+ i += 2;
+ } else {
+ end = start;
+ }
+ ranges.push([start, end]);
+ // If the range might intersect letters, then expand it.
+ // This case handling is too simplistic.
+ // It does not deal with non-latin case folding.
+ // It works for latin source code identifiers though.
+ if (!(end < 65 || start > 122)) {
+ if (!(end < 65 || start > 90)) {
+ ranges.push([Math.max(65, start) | 32, Math.min(end, 90) | 32]);
+ }
+ if (!(end < 97 || start > 122)) {
+ ranges.push([Math.max(97, start) & ~32, Math.min(end, 122) & ~32]);
+ }
+ }
+ }
+ }
+
+ // [[1, 10], [3, 4], [8, 12], [14, 14], [16, 16], [17, 17]]
+ // -> [[1, 12], [14, 14], [16, 17]]
+ ranges.sort(function (a, b) { return (a[0] - b[0]) || (b[1] - a[1]); });
+ var consolidatedRanges = [];
+ var lastRange = [];
+ for (var i = 0; i < ranges.length; ++i) {
+ var range = ranges[i];
+ if (range[0] <= lastRange[1] + 1) {
+ lastRange[1] = Math.max(lastRange[1], range[1]);
+ } else {
+ consolidatedRanges.push(lastRange = range);
+ }
+ }
+
+ for (var i = 0; i < consolidatedRanges.length; ++i) {
+ var range = consolidatedRanges[i];
+ out.push(encodeEscape(range[0]));
+ if (range[1] > range[0]) {
+ if (range[1] + 1 > range[0]) { out.push('-'); }
+ out.push(encodeEscape(range[1]));
+ }
+ }
+ out.push(']');
+ return out.join('');
+ }
+
+ function allowAnywhereFoldCaseAndRenumberGroups(regex) {
+ // Split into character sets, escape sequences, punctuation strings
+ // like ('(', '(?:', ')', '^'), and runs of characters that do not
+ // include any of the above.
+ var parts = regex.source.match(
+ new RegExp(
+ '(?:'
+ + '\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]' // a character set
+ + '|\\\\u[A-Fa-f0-9]{4}' // a unicode escape
+ + '|\\\\x[A-Fa-f0-9]{2}' // a hex escape
+ + '|\\\\[0-9]+' // a back-reference or octal escape
+ + '|\\\\[^ux0-9]' // other escape sequence
+ + '|\\(\\?[:!=]' // start of a non-capturing group
+ + '|[\\(\\)\\^]' // start/end of a group, or line start
+ + '|[^\\x5B\\x5C\\(\\)\\^]+' // run of other characters
+ + ')',
+ 'g'));
+ var n = parts.length;
+
+ // Maps captured group numbers to the number they will occupy in
+ // the output or to -1 if that has not been determined, or to
+ // undefined if they need not be capturing in the output.
+ var capturedGroups = [];
+
+ // Walk over and identify back references to build the capturedGroups
+ // mapping.
+ for (var i = 0, groupIndex = 0; i < n; ++i) {
+ var p = parts[i];
+ if (p === '(') {
+ // groups are 1-indexed, so max group index is count of '('
+ ++groupIndex;
+ } else if ('\\' === p.charAt(0)) {
+ var decimalValue = +p.substring(1);
+ if (decimalValue) {
+ if (decimalValue <= groupIndex) {
+ capturedGroups[decimalValue] = -1;
+ } else {
+ // Replace with an unambiguous escape sequence so that
+ // an octal escape sequence does not turn into a backreference
+ // to a capturing group from an earlier regex.
+ parts[i] = encodeEscape(decimalValue);
+ }
+ }
+ }
+ }
+
+ // Renumber groups and reduce capturing groups to non-capturing groups
+ // where possible.
+ for (var i = 1; i < capturedGroups.length; ++i) {
+ if (-1 === capturedGroups[i]) {
+ capturedGroups[i] = ++capturedGroupIndex;
+ }
+ }
+ for (var i = 0, groupIndex = 0; i < n; ++i) {
+ var p = parts[i];
+ if (p === '(') {
+ ++groupIndex;
+ if (!capturedGroups[groupIndex]) {
+ parts[i] = '(?:';
+ }
+ } else if ('\\' === p.charAt(0)) {
+ var decimalValue = +p.substring(1);
+ if (decimalValue && decimalValue <= groupIndex) {
+ parts[i] = '\\' + capturedGroups[decimalValue];
+ }
+ }
+ }
+
+ // Remove any prefix anchors so that the output will match anywhere.
+ // ^^ really does mean an anchored match though.
+ for (var i = 0; i < n; ++i) {
+ if ('^' === parts[i] && '^' !== parts[i + 1]) { parts[i] = ''; }
+ }
+
+ // Expand letters to groups to handle mixing of case-sensitive and
+ // case-insensitive patterns if necessary.
+ if (regex.ignoreCase && needToFoldCase) {
+ for (var i = 0; i < n; ++i) {
+ var p = parts[i];
+ var ch0 = p.charAt(0);
+ if (p.length >= 2 && ch0 === '[') {
+ parts[i] = caseFoldCharset(p);
+ } else if (ch0 !== '\\') {
+ // TODO: handle letters in numeric escapes.
+ parts[i] = p.replace(
+ /[a-zA-Z]/g,
+ function (ch) {
+ var cc = ch.charCodeAt(0);
+ return '[' + String.fromCharCode(cc & ~32, cc | 32) + ']';
+ });
+ }
+ }
+ }
+
+ return parts.join('');
+ }
+
+ var rewritten = [];
+ for (var i = 0, n = regexs.length; i < n; ++i) {
+ var regex = regexs[i];
+ if (regex.global || regex.multiline) { throw new Error('' + regex); }
+ rewritten.push(
+ '(?:' + allowAnywhereFoldCaseAndRenumberGroups(regex) + ')');
+ }
+
+ return new RegExp(rewritten.join('|'), ignoreCase ? 'gi' : 'g');
+ }
+
+ /**
+ * Split markup into a string of source code and an array mapping ranges in
+ * that string to the text nodes in which they appear.
+ *
+ *
+ * The HTML DOM structure:
+ *
+ * (Element "p"
+ * (Element "b"
+ * (Text "print ")) ; #1
+ * (Text "'Hello '") ; #2
+ * (Element "br") ; #3
+ * (Text " + 'World';")) ; #4
+ *
+ *
+ * corresponds to the HTML
+ * {@code
print 'Hello '
+ 'World';
}.
+ *
+ *
+ * It will produce the output:
+ *
+ * {
+ * sourceCode: "print 'Hello '\n + 'World';",
+ * // 1 2
+ * // 012345678901234 5678901234567
+ * spans: [0, #1, 6, #2, 14, #3, 15, #4]
+ * }
+ *
+ *
+ * where #1 is a reference to the {@code "print "} text node above, and so
+ * on for the other text nodes.
+ *
+ *
+ *
+ * The {@code} spans array is an array of pairs. Even elements are the start
+ * indices of substrings, and odd elements are the text nodes (or BR elements)
+ * that contain the text for those substrings.
+ * Substrings continue until the next index or the end of the source.
+ *
+ *
+ * @param {Node} node an HTML DOM subtree containing source-code.
+ * @param {boolean} isPreformatted true if white-space in text nodes should
+ * be considered significant.
+ * @return {Object} source code and the text nodes in which they occur.
+ */
+ function extractSourceSpans(node, isPreformatted) {
+ var nocode = /(?:^|\s)nocode(?:\s|$)/;
+
+ var chunks = [];
+ var length = 0;
+ var spans = [];
+ var k = 0;
+
+ function walk(node) {
+ var type = node.nodeType;
+ if (type == 1) { // Element
+ if (nocode.test(node.className)) { return; }
+ for (var child = node.firstChild; child; child = child.nextSibling) {
+ walk(child);
+ }
+ var nodeName = node.nodeName.toLowerCase();
+ if ('br' === nodeName || 'li' === nodeName) {
+ chunks[k] = '\n';
+ spans[k << 1] = length++;
+ spans[(k++ << 1) | 1] = node;
+ }
+ } else if (type == 3 || type == 4) { // Text
+ var text = node.nodeValue;
+ if (text.length) {
+ if (!isPreformatted) {
+ text = text.replace(/[ \t\r\n]+/g, ' ');
+ } else {
+ text = text.replace(/\r\n?/g, '\n'); // Normalize newlines.
+ }
+ // TODO: handle tabs here?
+ chunks[k] = text;
+ spans[k << 1] = length;
+ length += text.length;
+ spans[(k++ << 1) | 1] = node;
+ }
+ }
+ }
+
+ walk(node);
+
+ return {
+ sourceCode: chunks.join('').replace(/\n$/, ''),
+ spans: spans
+ };
+ }
+
+ /**
+ * Apply the given language handler to sourceCode and add the resulting
+ * decorations to out.
+ * @param {number} basePos the index of sourceCode within the chunk of source
+ * whose decorations are already present on out.
+ */
+ function appendDecorations(basePos, sourceCode, langHandler, out) {
+ if (!sourceCode) { return; }
+ var job = {
+ sourceCode: sourceCode,
+ basePos: basePos
+ };
+ langHandler(job);
+ out.push.apply(out, job.decorations);
+ }
+
+ var notWs = /\S/;
+
+ /**
+ * Given an element, if it contains only one child element and any text nodes
+ * it contains contain only space characters, return the sole child element.
+ * Otherwise returns undefined.
+ *
+ * This is meant to return the CODE element in {@code
} when
+ * there is a single child element that contains all the non-space textual
+ * content, but not to return anything where there are multiple child elements
+ * as in {@code ...
...
} or when there
+ * is textual content.
+ */
+ function childContentWrapper(element) {
+ var wrapper = undefined;
+ for (var c = element.firstChild; c; c = c.nextSibling) {
+ var type = c.nodeType;
+ wrapper = (type === 1) // Element Node
+ ? (wrapper ? element : c)
+ : (type === 3) // Text Node
+ ? (notWs.test(c.nodeValue) ? element : wrapper)
+ : wrapper;
+ }
+ return wrapper === element ? undefined : wrapper;
+ }
+
+ /** Given triples of [style, pattern, context] returns a lexing function,
+ * The lexing function interprets the patterns to find token boundaries and
+ * returns a decoration list of the form
+ * [index_0, style_0, index_1, style_1, ..., index_n, style_n]
+ * where index_n is an index into the sourceCode, and style_n is a style
+ * constant like PR_PLAIN. index_n-1 <= index_n, and style_n-1 applies to
+ * all characters in sourceCode[index_n-1:index_n].
+ *
+ * The stylePatterns is a list whose elements have the form
+ * [style : string, pattern : RegExp, DEPRECATED, shortcut : string].
+ *
+ * Style is a style constant like PR_PLAIN, or can be a string of the
+ * form 'lang-FOO', where FOO is a language extension describing the
+ * language of the portion of the token in $1 after pattern executes.
+ * E.g., if style is 'lang-lisp', and group 1 contains the text
+ * '(hello (world))', then that portion of the token will be passed to the
+ * registered lisp handler for formatting.
+ * The text before and after group 1 will be restyled using this decorator
+ * so decorators should take care that this doesn't result in infinite
+ * recursion. For example, the HTML lexer rule for SCRIPT elements looks
+ * something like ['lang-js', /<[s]cript>(.+?)<\/script>/]. This may match
+ * 'ReSpec is a document production toolchain. This version has a focus on OASIS specifications.");
+ $("You can find more information in the documentation.
").appendTo($halp);
+ $("Found a bug in ReSpec? File it!.
").appendTo($halp);
+ ui.freshModal("About ReSpec " + respecVersion, $halp);
+ }
+ };
+ }
+);
+
+
+// Module save-html
+// Saves content to HTML when asked to
+
+define(
+ 'save-html',["jquery", "utils"],
+ function ($, utils) {
+ var msg, doc, conf;
+ var cleanup = function (rootEl) {
+ $(".removeOnSave", rootEl).remove();
+ utils.removeReSpec(rootEl);
+ };
+ return {
+ show: function (ui, _conf, _doc, _msg) {
+ msg = _msg, doc = _doc, conf = _conf;
+ var filename = "generated"; // provide default filename
+ if (conf.shortName) filename = conf.shortName; // but use doc short name if available
+ if (!conf.diffTool) conf.diffTool = "http://www5.aptest.com/standards/htmldiff/htmldiff.pl";
+ var supportsDownload = $("A")[0].download === "x"
+ , self = this
+ ;
+ var $div = $("")
+ , buttonCSS = {
+ background: "#eee"
+ , border: "1px solid #000"
+ , borderRadius: "5px"
+ , padding: "5px"
+ , margin: "5px"
+ , display: "block"
+ , width: "100%"
+ , color: "#000"
+ , textDecoration: "none"
+ , textAlign: "center"
+ , fontSize: "inherit"
+ }
+ , addButton = function (title, content, fileName, popupContent) {
+ if (supportsDownload) {
+ $("")
+ .appendTo($div)
+ .text(title)
+ .css(buttonCSS)
+ .attr({
+ href: "data:text/html;charset=utf-8," + encodeURIComponent(content)
+ , download: fileName
+ })
+ .click(function () {
+ ui.closeModal();
+ })
+ ;
+ }
+ else {
+ $("")
+ .appendTo($div)
+ .text(title)
+ .css(buttonCSS)
+ .click(function () {
+ popupContent();
+ ui.closeModal();
+ })
+ ;
+ }
+
+ }
+ ;
+ addButton("Save as HTML", self.toString(), conf.shortName + ".html", function () { self.toHTMLSource(); });
+ addButton("Save as XHTML5", self.toXML(5), conf.shortName + ".xhtml", function () { self.toXHTMLSource(5); });
+ addButton("Save as XHTML 1.0", self.toXML(1), conf.shortName + ".xhtml", function () { self.toXHTMLSource(1); });
+ if (conf.diffTool && (conf.previousDiffURI || conf.previousURI)) {
+ $("")
+ .appendTo($div)
+ .css(buttonCSS)
+ .click(function () {
+ self.toDiffHTML();
+ ui.closeModal();
+ })
+ ;
+ }
+ ui.freshModal("Save Snapshot", $div);
+ }
+ // convert the document to a string (HTML)
+ , toString: function () {
+ respecEvents.pub("save", "toString")
+ var str = "\n\n";
+ var rootEl = doc.documentElement.cloneNode(true);
+ cleanup(rootEl);
+ str += rootEl.innerHTML;
+ str += "";
+ return str;
+ }
+ // convert the document to XML, pass 5 as mode for XHTML5
+ , toXML: function (mode) {
+ respecEvents.pub("save", "toXML" + mode)
+ var rootEl = doc.documentElement.cloneNode(true);
+ cleanup(rootEl);
+ if (mode !== 5) {
+ // not doing xhtml5 so rip out the html5 stuff
+ $.each("section figcaption figure aside".split(" "), function (i, item) {
+ $(item, rootEl).renameElement("div").addClass(item);
+ });
+ $("time", rootEl).renameElement("span").addClass("time").removeAttr('datetime');
+ $("[role]", rootEl).removeAttr('role') ;
+ $("[aria-level]", rootEl).removeAttr('aria-level') ;
+ $("style:not([type])", rootEl).attr("type", "text/css");
+ $("script:not([type])", rootEl).attr("type", "text/javascript");
+ }
+ var str = "\n\n";
+ // walk the entire DOM tree grabbing nodes and emitting them - possibly modifying them
+ // if they need the funny closing tag
+ var selfClosing = {};
+ "br img input area base basefont col isindex link meta param hr".split(" ").forEach(function (n) {
+ selfClosing[n] = true;
+ });
+ var noEsc = [false];
+ var dumpNode = function (node) {
+ var out = "";
+ // if the node is the document node.. process the children
+ if (node.nodeType === 9 || (node.nodeType === 1 && node.nodeName.toLowerCase() == "html")) {
+ for (var i = 0; i < node.childNodes.length; i++) out += dumpNode(node.childNodes[i]);
+ }
+ // element
+ else if (1 === node.nodeType) {
+ var ename = node.nodeName.toLowerCase() ;
+ out += "<" + ename ;
+ for (var i = 0; i < node.attributes.length; i++) {
+ var atn = node.attributes[i];
+ if (/^\d+$/.test(atn.name)) continue;
+ out += " " + atn.name + "=\"" + utils.xmlEscape(atn.value) + "\"";
+ }
+ if (selfClosing[ename]) out += " />";
+ else {
+ out += ">";
+ noEsc.push(ename === "style" || ename === "script");
+ for (var i = 0; i < node.childNodes.length; i++) out += dumpNode(node.childNodes[i]);
+ noEsc.pop();
+ out += "" + ename + ">";
+ }
+ }
+ // comments
+ else if (8 === node.nodeType) {
+ out += "\n\n";
+ }
+ // text or cdata
+ else if (3 === node.nodeType || 4 === node.nodeType) {
+ out += noEsc[noEsc.length - 1] ? node.nodeValue : utils.xmlEscape(node.nodeValue);
+ }
+ // we don't handle other types
+ else {
+ msg.pub("warning", "Cannot handle serialising nodes of type: " + node.nodeType);
+ }
+ return out;
+ };
+ str += dumpNode(rootEl) + "";
+ return str;
+ }
+ // create a diff marked version against the previousURI
+ // strategy - open a window in which there is a form with the
+ // data needed for diff marking - submit the form so that the response populates
+ // page with the diff marked version
+ , toDiffHTML: function () {
+ respecEvents.pub("save", "toDiffHTML")
+ var base = window.location.href.replace(/\/[^\/]*$/, "/")
+ , str = "\n\n" +
+ "Diff form \n" +
+ "\n";
+ var x = window.open();
+ x.document.write(str);
+ x.document.close();
+ x.document.form.submit();
+ },
+ // popup the generated HTML content
+ // toHTML: function () {
+ // var x = window.open();
+ // x.document.write(this.toString());
+ // x.document.close();
+ // },
+ // popup the generated source
+ toHTMLSource: function () {
+ var x = window.open();
+ x.document.write("" + utils.xmlEscape(this.toString()) + "
");
+ x.document.close();
+ },
+ // popup the generated XHTML content
+ // toXHTML: function (mode) {
+ // var x = window.open();
+ // x.document.write(this.toXML(mode)) ;
+ // x.document.close();
+ // },
+ // popup the generated XHTML source
+ toXHTMLSource: function (mode) {
+ var x = window.open();
+ x.document.write("" + utils.xmlEscape(this.toXML(mode)) + "
");
+ x.document.close();
+ }
+ };
+ }
+);
+
+// Module search-specref
+// Search Specref database
+
+define(
+ 'search-specref',["jquery", "biblio"],
+ function ($, biblio) {
+ function pluralize (count, sing, plur) {
+ return count + ' ' + (count == 1 ? sing : plur);
+ }
+ function buildResults (json) {
+ var html = "", count = 0;
+ for (var k in json) {
+ var obj = json[k];
+ if (!obj.aliasOf) {
+ count++;
+ html += "[" + k + "] " + biblio.stringifyRef(obj) + " ";
+ }
+ }
+ return { html: html, count: count };
+ }
+
+ function msg(query, count) {
+ if (count) {
+ return 'We found ' + pluralize(count, 'result', 'results') + ' for your search for "' + query + '".';
+ }
+ return 'Your search for "' + query + '" did not match any references in the Specref database.
Sorry. :\'(';
+ }
+
+ return {
+ show: function (ui) {
+ var $halp = $("");
+ var $results = $("
");
+
+ $status.appendTo($halp);
+ $results.appendTo($halp);
+
+ ui.freshModal("Search Specref DB", $halp);
+ $search.focus();
+ $halp.find("form").on("submit", function() {
+ $status.html("Searching…");
+ var query = $search.val();
+ $.getJSON("https://api.specref.org/specrefs/search-refs", { q: query }).then(function(json) {
+ var output = buildResults(json);
+ $results.html(output.html);
+ $status.html(msg(query, output.count));
+ $search.select();
+ });
+ return false;
+ });
+ }
+ };
+ }
+);
+
+/*global respecVersion */
+
+// this is only set in a build, not at all in the dev environment
+var requireConfig = {
+ shim: {
+ "shortcut": {
+ exports: "shortcut"
+ },
+ "n3-browser.min": {
+ exports: "N3"
+ }
+ }
+};
+
+
+require.config(requireConfig);
+
+define('profile-oasis-common',[
+ "domReady"
+ , "base-runner"
+ , "ui"
+ , "override-configuration"
+ , "default-root-attr"
+ , "markdown"
+ , "core-style"
+ , "oasis-style"
+ , "headers"
+ , "conventions"
+ , "conformance"
+ , "data-transform"
+ , "data-include"
+ , "inlines"
+ , "examples"
+ , "issues-notes"
+ , "requirements"
+ , "highlight"
+ , "best-practices"
+ , "figures"
+ , "biblio"
+ , "rdfa"
+ , "webidl-oldschool"
+ , "dfn"
+ , "fix-headers"
+ , "structure"
+ , "informative"
+ , "id-headers"
+ , "hr-headers"
+ , "conformance-table"
+ , "aria"
+ , "vocab"
+ , "shape"
+ , "shiv"
+ , "remove-respec"
+ , "location-hash"
+ , "about-respec"
+ , "save-html"
+ , "search-specref"
+ ],
+ function (domReady, runner, ui) {
+ var args = Array.prototype.slice.call(arguments);
+ domReady(function () {
+ ui.addCommand("Save Snapshot", "save-html", "Ctrl+Shift+Alt+S");
+ ui.addCommand("About ReSpec", "about-respec", "Ctrl+Shift+Alt+A");
+ runner.runAll(args);
+ });
+ }
+);
+
+function vocabToSpec(util, content, uri) {
+ var vocab = require("vocab");
+ return vocab.vocabToSpec(util, content, uri);
+}
+
+function shapeToSpec(util, content, uri) {
+ var shape = require("shape");
+ return shape.shapeToSpec(util, content, uri);
+}
+;
+
+require(['profile-oasis-common']);
diff --git a/builds/respec-oasis-common.js b/builds/respec-oasis-common.js
index 2e0ee58..3e80686 100644
--- a/builds/respec-oasis-common.js
+++ b/builds/respec-oasis-common.js
@@ -1,9 +1,9 @@
-/* ReSpec 2.1.32 - Robin Berjon, http://berjon.com/ (@robinberjon)
+/* ReSpec 2.1.34 - Robin Berjon, http://berjon.com/ (@robinberjon)
- Steve Speicher, http://stevespeicher.me/ (@sspeiche)
- Nick Crossley (@ndjc) */
/* Documentation: http://w3.org/respec/. */
/* See original source for licenses: https://github.com/oasis-tcs/tab-respec. */
-respecVersion = '2.1.32';
+respecVersion = '2.1.34';
/*
RequireJS 2.1.8 Copyright (c) 2010-2012, The Dojo Foundation All Rights Reserved.
Available via the MIT or new BSD license.
@@ -3825,7 +3825,7 @@ define('tmpl',["handlebars", "text"], function (hb, text) {
define('tmpl!templates/headers.html', ['handlebars'], function (hb) { return Handlebars.compile('\n
\n {{/if}}\n \n {{title}}
\n \n {{#if docStatus}}\n {{docStatus}}\n {{/if}}\n {{#if publishHumanDate}}\n
\n \n {{/if}}\n
\n \n {{#unless isWD}}\n
\n - This stage:
\n - \n {{thisVersion}} (Authoritative)\n
\n {{#if showPDF}}\n {{thisPDFVersion}}\n {{/if}}\n \n {{/unless}}\n {{#if showPreviousVersion}}\n
- Previous stage:
\n - \n {{#if prevVersion}}\n {{prevVersion}} (Authoritative)\n
\n {{prevPDFVersion}}\n {{#if previousDocStatus}}\n
(published as {{previousDocStatus}}{{#if previousPublishHumanDate}} on {{previousPublishHumanDate}}{{/if}})\n {{/if}}\n {{else}}\n N/A\n {{/if}}\n \n {{/if}}\n {{#if latestVersion}}\n
\n - Latest stage:
\n - \n {{latestVersion}} (Authoritative)\n {{#if showPDF}}\n
\n {{latestPDFVersion}}\n {{/if}}\n \n {{/if}}\n {{#if latestSpecVersion}}\n
\n - Latest version:
\n - {{latestSpecVersion}}
\n {{/if}}\n {{#if edDraftURI}}\n
- Latest editor\'s draft:
\n - {{edDraftURI}}
\n {{/if}}\n {{#if testSuiteURI}}\n
- Test suite:
\n - {{testSuiteURI}}
\n {{/if}}\n {{#if implementationReportURI}}\n
- Implementation report:
\n - {{implementationReportURI}}
\n {{/if}}\n {{#if wg}}\n
- Open Project:
\n - {{wg}}
\n {{/if}}\n {{#if chairs}}\n
- Project Chair{{#if multipleChairs}}s{{/if}}:
\n {{showPeople "Chair" chairs}}\n {{/if}}\n
- Editor{{#if multipleEditors}}s{{/if}}:
\n {{showPeople "Editor" editors}}\n {{#if authors}}\n
- Author{{#if multipleAuthors}}s{{/if}}:
\n {{showPeople "Author" authors}}\n {{/if}}\n {{#if otherLinks}}\n {{#each otherLinks}}\n {{#if key}}\n
- {{key}}:
\n {{#if data}}\n {{#each data}}\n {{#if value}}\n - \n {{#if href}}{{/if}}\n {{value}}\n {{#if href}}{{/if}}\n
\n {{else}}\n {{#if href}}\n - {{href}}
\n {{/if}}\n {{/if}}\n {{/each}}\n {{else}}\n {{#if value}}\n - \n {{#if href}}{{/if}}\n {{value}}\n {{#if href}}{{/if}}\n
\n {{else}}\n {{#if href}}\n - \n {{href}}\n
\n {{/if}}\n {{/if}}\n {{/if}}\n {{/if}}\n {{/each}}\n {{/if}}\n {{#if additionalArtifacts}}\n
- Additional components:
\n - This specification is one component of a Work Product that also includes:\n
\n {{#each additionalArtifacts}}\n - \n {{#if title}}{{title}}.{{/if}}\n {{#if href}}{{href}}{{/if}}\n
\n {{/each}}\n
\n {{/if}}\n {{#if supersedes}}\n
- Related work:
\n - This specification replaces or supersedes:\n
\n {{#each supersedes}}\n - \n {{#if title}}{{title}}.{{/if}}\n {{#if href}}{{href}}{{/if}}\n
\n {{/each}}\n
\n {{/if}}\n {{#if relatedWork}}\n {{#unless supersedes}}
- Related work:
{{/unless}}\n - This specification is related to:\n
\n {{#each relatedWork}}\n - \n {{#if style}}{{/if}}\n {{#if title}}{{title}}.{{#if status}} {{status}}: {{/if}}{{/if}}\n {{#if href}}{{href}}{{/if}}\n {{#if style}}{{/if}}\n
\n {{/each}}\n
\n {{/if}}\n {{#if namespaces}}\n
- RDF Namespaces:
\n {{#each namespaces}}\n {{#if href}}\n - {{href}}
\n {{/if}}\n {{/each}}\n {{/if}}\n
- Abstract:
\n - {{{shortAbstract}}}
\n
- Status:
\n - {{{status}}}
\n {{#if citationLabel}}
- Citation format:
\n - When referencing this specification the following citation format should be used:\n
\n [{{citationLabel}}]
\n {{title}}.\n Edited by {{editorsHTML}}.\n {{publishHumanDate}}.\n {{#unless isStd}}OASIS {{/unless}} {{textStatus}}{{#unless isStd}} {{revision}}{{/unless}}.\n {{#if thisVersion}} {{thisVersion}}.{{/if}}\n {{#if latestVersion}} Latest stage: {{latestVersion}}.{{/if}}\n
\n {{/if}}\n
\n {{#if errata}}\n \n Please refer to the errata for this document, which may include some normative corrections.\n
\n {{/if}}\n {{#if alternateFormats}}\n \n {{#if multipleAlternates}}\n This document is also available in these non-normative formats:\n {{else}}\n This document is also available in this non-normative format:\n {{/if}}\n {{{alternatesHTML}}}\n
\n {{/if}}\n\n');});
-define('tmpl!templates/sotd.html', ['handlebars'], function (hb) { return Handlebars.compile('{{#if isUnofficial}}\n \n This document is merely a public working draft of a potential project specification. It has\n no official standing of any kind and does not represent the support or consensus of any\n standards organization.\n
\n {{{sotdCustomParagraph}}}\n{{else}}\n {{#if isNoTrack}}\n \n This is a Non-Standards Track Work Product. The patent provisions of the OASIS IPR Policy do\n not apply.\n
\n \n This document was last revised or approved by the Project Governing Board of the\n {{wg}} on the above date. The level of approval is also listed above.\n Check the “Latest stage” location noted above for possible later revisions\n of this document. Any other numbered Versions and other technical work produced by the Open\n Project are listed at {{wgURI}}.\n
\n \n Comments on this work can be provided by opening issues in the project repository or by\n sending email to the project’s public comment list {{wgPublicList}}.\n
\n {{{sotdCustomParagraph}}}\n {{else}}\n \n This document was last revised or approved by the {{#if isStd}}membership of OASIS{{else}}{{wg}}{{/if}} on the above date.\n The level of approval is also listed above.\n Check the “Latest stage” location noted above for possible later revisions of this document.\n Any other numbered Versions and other technical work produced by the Open Project are listed at\n {{wgURI}}.\n
\n \n Comments on this work can be provided by opening issues in the project repository\n or by sending email to the project’s public comment list\n {{wgPublicList}}.\n
\n \n {{#if isStd}}\n The English version of this specification is the only normative version. Non-normative\n translations may also be available.\n {{/if}}\n Note that any machine-readable content\n (Computer Language Definitions)\n declared Normative for this Work Product is provided in separate plain text files.\n In the event of a discrepancy between any such plain text file and display content\n in the Work Product\'s prose narrative document(s), the content in the separate plain text file prevails.\n
\n {{{sotdCustomParagraph}}}\n {{#if implementationReportURI}}\n \n Please see the Open Project\'s implementation report.\n
\n {{/if}}\n {{/if}}\n{{/if}}\n');});
+define('tmpl!templates/sotd.html', ['handlebars'], function (hb) { return Handlebars.compile('{{#if isUnofficial}}\n \n This document is merely a public working draft of a potential project specification. It has\n no official standing of any kind and does not represent the support or consensus of any\n standards organization.\n
\n {{{sotdCustomParagraph}}}\n{{else}}\n {{#if isNoTrack}}\n \n This is a Non-Standards Track Work Product. The patent provisions of the OASIS IPR Policy do\n not apply.\n
\n \n This document was last revised or approved by the Project Governing Board of the\n {{wg}} on the above date. The level of approval is also listed above.\n Check the “Latest stage” location noted above for possible later revisions\n of this document. Any other numbered Versions and other technical work produced by the Open\n Project are listed at {{wgURI}}.\n
\n \n Comments on this work can be provided by opening issues in the project repository or by\n sending email to the project’s public comment list {{wgPublicList}}.\n
\n {{{sotdCustomParagraph}}}\n {{else}}\n \n This document was last revised or approved by the {{#if isStd}}membership of OASIS{{else}}{{wg}}{{/if}} on the above date.\n The level of approval is also listed above.\n Check the “Latest stage” location noted above for possible later revisions of this document.\n Any other numbered Versions and other technical work produced by the Open Project are listed at\n {{wgURI}}.\n
\n \n Comments on this work can be provided by opening issues in the project repository\n or by sending email to the project’s public comment list\n {{wgPublicList}}.\n
\n \n {{#if isStd}}\n The English version of this specification is the only normative version. Non-normative\n translations may also be available.\n {{/if}}\n Note that any machine-readable content\n (Computer Language Definitions)\n declared Normative for this Work Product is provided in separate plain text files.\n In the event of a discrepancy between any such plain text file and display content\n in the Work Product\'s prose narrative document(s), the content in the separate plain text file prevails.\n
\n {{{sotdCustomParagraph}}}\n {{#if implementationReportURI}}\n \n Please see the Open Project\'s implementation report.\n
\n {{/if}}\n {{/if}}\n{{/if}}\n');});
define('tmpl!templates/notices.html', ['handlebars'], function (hb) { return Handlebars.compile('
\n\nNotices
\n{{#if overrideCopyright}}\n {{{overrideCopyright}}}\n{{else}}\n Copyright ©\n {{#if additionalCopyrightHolders}} {{{additionalCopyrightHolders}}} &{{/if}}\n OASIS Open\n {{#if copyrightStart}}{{copyrightStart}}-{{/if}}{{publishYear}}.\n All Rights Reserved.\n
\n All capitalized terms in the following text have the meanings assigned to them in the\n OASIS Intellectual Property Rights Policy (the "OASIS IPR Policy").\n The full Policy\n may be found at the OASIS website.\n
\n\n {{#if licenseURI}}\n \n This specification is published under the {{licenseName}}.\n {{#if additionalLicenses}}\n {{#each additionalLicenses}}\n Portions of this specification are also provided under the {{licenseName}}.\n {{/each}}\n {{/if}}\n
All contributions made to this project have been made under the\n OASIS Contributor License Agreement (CLA).
\n \n {{#unless isNoTrack}}\n \n For information on whether any patents have been disclosed that may be essential to implementing this specification,\n and any offers of patent licensing terms,\n please refer to the\n \n Open Projects IPR Statements page.\n
\n {{/unless}}\n {{/if}}\n \n This document and translations of it may be copied and furnished to others,\n and derivative works that comment on or otherwise explain it or assist in its implementation\n may be prepared, copied, published, and distributed, in whole or in part,\n without restriction of any kind, provided that the above copyright notice\n and this section are included on all such copies and derivative works.\n However, this document itself may not be modified in any way,\n including by removing the copyright notice or references to OASIS,\n except as needed for the purpose of developing any document or deliverable\n produced by an OASIS Open Project or OASIS Technical Committee\n (in which case the rules applicable to copyrights,\n as set forth in the OASIS IPR Policy, must be followed)\n or as required to translate it into languages other than English.\n
\n \n The limited permissions granted above are perpetual and will not be revoked by OASIS\n or its successors or assigns.\n
\n \n This document and the information contained herein is provided on an "AS IS" basis\n and OASIS DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY\n THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY OWNERSHIP RIGHTS OR ANY IMPLIED\n WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.\n
\n {{#unless isNoTrack}}\n \n OASIS requests that any OASIS Party or any other party that believes it has patent claims\n that would necessarily be infringed by implementations of this OASIS Project Specification\n or OASIS Standard, to notify the OASIS TC Administrator and provide an indication of its\n willingness to grant patent licenses to such patent claims in a manner consistent with the\n IPR Mode of the OASIS Technical Committee that produced this specification.\n
\n \n OASIS invites any party to contact the OASIS TC Administrator if it is aware of a claim of ownership\n of any patent claims that would necessarily be infringed by implementations of this specification\n by a patent holder that is not willing to provide a license to such patent claims in a manner\n consistent with the IPR Mode of the OASIS Open Project that produced this specification.\n OASIS may include such claims on its website, but disclaims any obligation to do so.\n
\n \n OASIS takes no position regarding the validity or scope of any intellectual property\n or other rights that might be claimed to pertain to the implementation or use of\n the technology described in this document or the extent to which any license under\n such rights might or might not be available;\n neither does it represent that it has made any effort to identify any such rights.\n Information on OASIS\' procedures with respect to rights in any document or deliverable\n produced by an OASIS Technical Committee can be found on the OASIS website.\n Copies of claims of rights made available for publication and any assurances of licenses\n to be made available, or the result of an attempt made to obtain a general license\n or permission for the use of such proprietary rights by implementers or users of this\n OASIS Open Project Specification or OASIS Standard, can be obtained from the OASIS TC Administrator.\n OASIS makes no representation that any information or list of intellectual property rights\n will at any time be complete, or that any claims in such list are, in fact, Essential Claims.\n
\n {{/unless}}\n {{#if addPatentNote}}{{{addPatentNote}}}
{{/if}}\n \n The name "OASIS" is a trademark of OASIS,\n the owner and developer of this specification,\n and should be used only to refer to the organization and its official outputs.\n OASIS welcomes reference to, and implementation and use of, specifications,\n while reserving the right to enforce its marks against misleading uses. Please see\n https://www.oasis-open.org/policies-guidelines/trademark/\n for above guidance.\n
\n {{#if addTrademarkNote}}{{{addTrademarkNote}}}
{{/if}}\n{{/if}}\n');});
diff --git a/js/templates/sotd.html b/js/templates/sotd.html
index 02b48a9..a0d2d42 100644
--- a/js/templates/sotd.html
+++ b/js/templates/sotd.html
@@ -42,7 +42,7 @@
translations may also be available.
{{/if}}
Note that any machine-readable content
- (Computer Language Definitions)
+ (Computer Language Definitions)
declared Normative for this Work Product is provided in separate plain text files.
In the event of a discrepancy between any such plain text file and display content
in the Work Product's prose narrative document(s), the content in the separate plain text file prevails.
diff --git a/tools/package-lock.json b/tools/package-lock.json
index 9fd9163..593ac97 100644
--- a/tools/package-lock.json
+++ b/tools/package-lock.json
@@ -1,46 +1,62 @@
{
"name": "respec",
"version": "2.1.32",
- "lockfileVersion": 1,
+ "lockfileVersion": 3,
"requires": true,
- "dependencies": {
- "@colors/colors": {
+ "packages": {
+ "": {
+ "name": "respec",
+ "version": "2.1.32",
+ "devDependencies": {
+ "async": "^2.6.1",
+ "express": "^4.16.3",
+ "prompt": "^1.0.0",
+ "requirejs": "^2.3.6"
+ }
+ },
+ "node_modules/@colors/colors": {
"version": "1.5.0",
"resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz",
"integrity": "sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==",
- "dev": true
+ "dev": true,
+ "engines": {
+ "node": ">=0.1.90"
+ }
},
- "accepts": {
+ "node_modules/accepts": {
"version": "1.3.8",
"resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz",
"integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==",
"dev": true,
- "requires": {
+ "dependencies": {
"mime-types": "~2.1.34",
"negotiator": "0.6.3"
+ },
+ "engines": {
+ "node": ">= 0.6"
}
},
- "array-flatten": {
+ "node_modules/array-flatten": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz",
"integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=",
"dev": true
},
- "async": {
+ "node_modules/async": {
"version": "2.6.4",
"resolved": "https://registry.npmjs.org/async/-/async-2.6.4.tgz",
"integrity": "sha512-mzo5dfJYwAn29PeiJ0zvwTo04zj8HDJj0Mn8TD7sno7q12prdbnasKJHhkm2c1LgrhlJ0teaea8860oxi51mGA==",
"dev": true,
- "requires": {
+ "dependencies": {
"lodash": "^4.17.14"
}
},
- "body-parser": {
+ "node_modules/body-parser": {
"version": "1.19.2",
"resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.2.tgz",
"integrity": "sha512-SAAwOxgoCKMGs9uUAUFHygfLAyaniaoun6I8mFY9pRAJL9+Kec34aU+oIjDhTycub1jozEfEwx1W1IuOYxVSFw==",
"dev": true,
- "requires": {
+ "dependencies": {
"bytes": "3.1.2",
"content-type": "~1.0.4",
"debug": "2.6.9",
@@ -51,104 +67,134 @@
"qs": "6.9.7",
"raw-body": "2.4.3",
"type-is": "~1.6.18"
+ },
+ "engines": {
+ "node": ">= 0.8"
}
},
- "bytes": {
+ "node_modules/bytes": {
"version": "3.1.2",
"resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz",
"integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==",
- "dev": true
+ "dev": true,
+ "engines": {
+ "node": ">= 0.8"
+ }
},
- "colors": {
+ "node_modules/colors": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/colors/-/colors-1.0.3.tgz",
"integrity": "sha1-BDP0TYCWgP3rYO0mDxsMJi6CpAs=",
- "dev": true
+ "dev": true,
+ "engines": {
+ "node": ">=0.1.90"
+ }
},
- "content-disposition": {
+ "node_modules/content-disposition": {
"version": "0.5.4",
"resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz",
"integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==",
"dev": true,
- "requires": {
+ "dependencies": {
"safe-buffer": "5.2.1"
+ },
+ "engines": {
+ "node": ">= 0.6"
}
},
- "content-type": {
+ "node_modules/content-type": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz",
"integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==",
- "dev": true
+ "dev": true,
+ "engines": {
+ "node": ">= 0.6"
+ }
},
- "cookie": {
+ "node_modules/cookie": {
"version": "0.4.2",
"resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.2.tgz",
"integrity": "sha512-aSWTXFzaKWkvHO1Ny/s+ePFpvKsPnjc551iI41v3ny/ow6tBG5Vd+FuqGNhh1LxOmVzOlGUriIlOaokOvhaStA==",
- "dev": true
+ "dev": true,
+ "engines": {
+ "node": ">= 0.6"
+ }
},
- "cookie-signature": {
+ "node_modules/cookie-signature": {
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz",
"integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=",
"dev": true
},
- "cycle": {
+ "node_modules/cycle": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/cycle/-/cycle-1.0.3.tgz",
"integrity": "sha1-IegLK+hYD5i0aPN5QwZisEbDStI=",
- "dev": true
+ "dev": true,
+ "engines": {
+ "node": ">=0.4.0"
+ }
},
- "debug": {
+ "node_modules/debug": {
"version": "2.6.9",
"resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
"integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
"dev": true,
- "requires": {
+ "dependencies": {
"ms": "2.0.0"
}
},
- "depd": {
+ "node_modules/depd": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz",
"integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=",
- "dev": true
+ "dev": true,
+ "engines": {
+ "node": ">= 0.6"
+ }
},
- "destroy": {
+ "node_modules/destroy": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz",
"integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=",
"dev": true
},
- "ee-first": {
+ "node_modules/ee-first": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz",
"integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=",
"dev": true
},
- "encodeurl": {
+ "node_modules/encodeurl": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz",
"integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=",
- "dev": true
+ "dev": true,
+ "engines": {
+ "node": ">= 0.8"
+ }
},
- "escape-html": {
+ "node_modules/escape-html": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz",
"integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=",
"dev": true
},
- "etag": {
+ "node_modules/etag": {
"version": "1.8.1",
"resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz",
"integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=",
- "dev": true
+ "dev": true,
+ "engines": {
+ "node": ">= 0.6"
+ }
},
- "express": {
+ "node_modules/express": {
"version": "4.17.3",
"resolved": "https://registry.npmjs.org/express/-/express-4.17.3.tgz",
"integrity": "sha512-yuSQpz5I+Ch7gFrPCk4/c+dIBKlQUxtgwqzph132bsT6qhuzss6I8cLJQz7B3rFblzd6wtcI0ZbGltH/C4LjUg==",
"dev": true,
- "requires": {
+ "dependencies": {
"accepts": "~1.3.8",
"array-flatten": "1.1.1",
"body-parser": "1.19.2",
@@ -179,20 +225,26 @@
"type-is": "~1.6.18",
"utils-merge": "1.0.1",
"vary": "~1.1.2"
+ },
+ "engines": {
+ "node": ">= 0.10.0"
}
},
- "eyes": {
+ "node_modules/eyes": {
"version": "0.1.8",
"resolved": "https://registry.npmjs.org/eyes/-/eyes-0.1.8.tgz",
"integrity": "sha1-Ys8SAjTGg3hdkCNIqADvPgzCC8A=",
- "dev": true
+ "dev": true,
+ "engines": {
+ "node": "> 0.1.90"
+ }
},
- "finalhandler": {
+ "node_modules/finalhandler": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.2.tgz",
"integrity": "sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==",
"dev": true,
- "requires": {
+ "dependencies": {
"debug": "2.6.9",
"encodeurl": "~1.0.2",
"escape-html": "~1.0.3",
@@ -200,238 +252,309 @@
"parseurl": "~1.3.3",
"statuses": "~1.5.0",
"unpipe": "~1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.8"
}
},
- "forwarded": {
+ "node_modules/forwarded": {
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz",
"integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==",
- "dev": true
+ "dev": true,
+ "engines": {
+ "node": ">= 0.6"
+ }
},
- "fresh": {
+ "node_modules/fresh": {
"version": "0.5.2",
"resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz",
"integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=",
- "dev": true
+ "dev": true,
+ "engines": {
+ "node": ">= 0.6"
+ }
},
- "http-errors": {
+ "node_modules/http-errors": {
"version": "1.8.1",
"resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.8.1.tgz",
"integrity": "sha512-Kpk9Sm7NmI+RHhnj6OIWDI1d6fIoFAtFt9RLaTMRlg/8w49juAStsrBgp0Dp4OdxdVbRIeKhtCUvoi/RuAhO4g==",
"dev": true,
- "requires": {
+ "dependencies": {
"depd": "~1.1.2",
"inherits": "2.0.4",
"setprototypeof": "1.2.0",
"statuses": ">= 1.5.0 < 2",
"toidentifier": "1.0.1"
+ },
+ "engines": {
+ "node": ">= 0.6"
}
},
- "iconv-lite": {
+ "node_modules/iconv-lite": {
"version": "0.4.24",
"resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",
"integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==",
"dev": true,
- "requires": {
+ "dependencies": {
"safer-buffer": ">= 2.1.2 < 3"
+ },
+ "engines": {
+ "node": ">=0.10.0"
}
},
- "inherits": {
+ "node_modules/inherits": {
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
"integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
"dev": true
},
- "ipaddr.js": {
+ "node_modules/ipaddr.js": {
"version": "1.9.1",
"resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz",
"integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==",
- "dev": true
+ "dev": true,
+ "engines": {
+ "node": ">= 0.10"
+ }
},
- "isstream": {
+ "node_modules/isstream": {
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz",
"integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=",
"dev": true
},
- "lodash": {
+ "node_modules/lodash": {
"version": "4.17.21",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
"integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==",
"dev": true
},
- "media-typer": {
+ "node_modules/media-typer": {
"version": "0.3.0",
"resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz",
"integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=",
- "dev": true
+ "dev": true,
+ "engines": {
+ "node": ">= 0.6"
+ }
},
- "merge-descriptors": {
+ "node_modules/merge-descriptors": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz",
"integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=",
"dev": true
},
- "methods": {
+ "node_modules/methods": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz",
"integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=",
- "dev": true
+ "dev": true,
+ "engines": {
+ "node": ">= 0.6"
+ }
},
- "mime": {
+ "node_modules/mime": {
"version": "1.6.0",
"resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz",
"integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==",
- "dev": true
+ "dev": true,
+ "bin": {
+ "mime": "cli.js"
+ },
+ "engines": {
+ "node": ">=4"
+ }
},
- "mime-db": {
+ "node_modules/mime-db": {
"version": "1.52.0",
"resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
"integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",
- "dev": true
+ "dev": true,
+ "engines": {
+ "node": ">= 0.6"
+ }
},
- "mime-types": {
+ "node_modules/mime-types": {
"version": "2.1.35",
"resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
"integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
"dev": true,
- "requires": {
+ "dependencies": {
"mime-db": "1.52.0"
+ },
+ "engines": {
+ "node": ">= 0.6"
}
},
- "ms": {
+ "node_modules/ms": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
"integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=",
"dev": true
},
- "mute-stream": {
+ "node_modules/mute-stream": {
"version": "0.0.8",
"resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz",
"integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==",
"dev": true
},
- "negotiator": {
+ "node_modules/negotiator": {
"version": "0.6.3",
"resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz",
"integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==",
- "dev": true
+ "dev": true,
+ "engines": {
+ "node": ">= 0.6"
+ }
},
- "on-finished": {
+ "node_modules/on-finished": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz",
"integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=",
"dev": true,
- "requires": {
+ "dependencies": {
"ee-first": "1.1.1"
+ },
+ "engines": {
+ "node": ">= 0.8"
}
},
- "parseurl": {
+ "node_modules/parseurl": {
"version": "1.3.3",
"resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz",
"integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==",
- "dev": true
+ "dev": true,
+ "engines": {
+ "node": ">= 0.8"
+ }
},
- "path-to-regexp": {
+ "node_modules/path-to-regexp": {
"version": "0.1.7",
"resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz",
"integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=",
"dev": true
},
- "prompt": {
+ "node_modules/prompt": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/prompt/-/prompt-1.3.0.tgz",
"integrity": "sha512-ZkaRWtaLBZl7KKAKndKYUL8WqNT+cQHKRZnT4RYYms48jQkFw3rrBL+/N5K/KtdEveHkxs982MX2BkDKub2ZMg==",
"dev": true,
- "requires": {
+ "dependencies": {
"@colors/colors": "1.5.0",
"async": "3.2.3",
"read": "1.0.x",
"revalidator": "0.1.x",
"winston": "2.x"
},
- "dependencies": {
- "async": {
- "version": "3.2.3",
- "resolved": "https://registry.npmjs.org/async/-/async-3.2.3.tgz",
- "integrity": "sha512-spZRyzKL5l5BZQrr/6m/SqFdBN0q3OCI0f9rjfBzCMBIP4p75P620rR3gTmaksNOhmzgdxcaxdNfMy6anrbM0g==",
- "dev": true
- }
+ "engines": {
+ "node": ">= 6.0.0"
}
},
- "proxy-addr": {
+ "node_modules/prompt/node_modules/async": {
+ "version": "3.2.3",
+ "resolved": "https://registry.npmjs.org/async/-/async-3.2.3.tgz",
+ "integrity": "sha512-spZRyzKL5l5BZQrr/6m/SqFdBN0q3OCI0f9rjfBzCMBIP4p75P620rR3gTmaksNOhmzgdxcaxdNfMy6anrbM0g==",
+ "dev": true
+ },
+ "node_modules/proxy-addr": {
"version": "2.0.7",
"resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz",
"integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==",
"dev": true,
- "requires": {
+ "dependencies": {
"forwarded": "0.2.0",
"ipaddr.js": "1.9.1"
+ },
+ "engines": {
+ "node": ">= 0.10"
}
},
- "qs": {
+ "node_modules/qs": {
"version": "6.9.7",
"resolved": "https://registry.npmjs.org/qs/-/qs-6.9.7.tgz",
"integrity": "sha512-IhMFgUmuNpyRfxA90umL7ByLlgRXu6tIfKPpF5TmcfRLlLCckfP/g3IQmju6jjpu+Hh8rA+2p6A27ZSPOOHdKw==",
- "dev": true
+ "dev": true,
+ "engines": {
+ "node": ">=0.6"
+ }
},
- "range-parser": {
+ "node_modules/range-parser": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz",
"integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==",
- "dev": true
+ "dev": true,
+ "engines": {
+ "node": ">= 0.6"
+ }
},
- "raw-body": {
+ "node_modules/raw-body": {
"version": "2.4.3",
"resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.3.tgz",
"integrity": "sha512-UlTNLIcu0uzb4D2f4WltY6cVjLi+/jEN4lgEUj3E04tpMDpUlkBo/eSn6zou9hum2VMNpCCUone0O0WeJim07g==",
"dev": true,
- "requires": {
+ "dependencies": {
"bytes": "3.1.2",
"http-errors": "1.8.1",
"iconv-lite": "0.4.24",
"unpipe": "1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.8"
}
},
- "read": {
+ "node_modules/read": {
"version": "1.0.7",
"resolved": "https://registry.npmjs.org/read/-/read-1.0.7.tgz",
"integrity": "sha1-s9oZvQUkMal2cdRKQmNK33ELQMQ=",
"dev": true,
- "requires": {
+ "dependencies": {
"mute-stream": "~0.0.4"
+ },
+ "engines": {
+ "node": ">=0.8"
}
},
- "requirejs": {
+ "node_modules/requirejs": {
"version": "2.3.6",
- "resolved": "https://registry.npmjs.org/requirejs/-/requirejs-2.3.6.tgz",
+ "resolved": "https://na.artifactory.swg-devops.com/artifactory/api/npm/wce-elm-sysml-team-npm-virtual/requirejs/-/requirejs-2.3.6.tgz?dl=https%3A%2F%2Fregistry.npmjs.org%2Frequirejs%2F-%2Frequirejs-2.3.6.tgz",
"integrity": "sha512-ipEzlWQe6RK3jkzikgCupiTbTvm4S0/CAU5GlgptkN5SO6F3u0UD0K18wy6ErDqiCyP4J4YYe1HuAShvsxePLg==",
- "dev": true
+ "dev": true,
+ "bin": {
+ "r_js": "bin/r.js",
+ "r.js": "bin/r.js"
+ },
+ "engines": {
+ "node": ">=0.4.0"
+ }
},
- "revalidator": {
+ "node_modules/revalidator": {
"version": "0.1.8",
"resolved": "https://registry.npmjs.org/revalidator/-/revalidator-0.1.8.tgz",
"integrity": "sha1-/s5hv6DBtSoga9axgZgYS91SOjs=",
- "dev": true
+ "dev": true,
+ "engines": {
+ "node": ">= 0.4.0"
+ }
},
- "safe-buffer": {
+ "node_modules/safe-buffer": {
"version": "5.2.1",
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
"integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==",
"dev": true
},
- "safer-buffer": {
+ "node_modules/safer-buffer": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
"integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==",
"dev": true
},
- "send": {
+ "node_modules/send": {
"version": "0.17.2",
"resolved": "https://registry.npmjs.org/send/-/send-0.17.2.tgz",
"integrity": "sha512-UJYB6wFSJE3G00nEivR5rgWp8c2xXvJ3OPWPhmuteU0IKj8nKbG3DrjiOmLwpnHGYWAVwA69zmTm++YG0Hmwww==",
"dev": true,
- "requires": {
+ "dependencies": {
"debug": "2.6.9",
"depd": "~1.1.2",
"destroy": "~1.0.4",
@@ -446,85 +569,110 @@
"range-parser": "~1.2.1",
"statuses": "~1.5.0"
},
- "dependencies": {
- "ms": {
- "version": "2.1.3",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
- "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
- "dev": true
- }
+ "engines": {
+ "node": ">= 0.8.0"
}
},
- "serve-static": {
+ "node_modules/send/node_modules/ms": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
+ "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
+ "dev": true
+ },
+ "node_modules/serve-static": {
"version": "1.14.2",
"resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.2.tgz",
"integrity": "sha512-+TMNA9AFxUEGuC0z2mevogSnn9MXKb4fa7ngeRMJaaGv8vTwnIEkKi+QGvPt33HSnf8pRS+WGM0EbMtCJLKMBQ==",
"dev": true,
- "requires": {
+ "dependencies": {
"encodeurl": "~1.0.2",
"escape-html": "~1.0.3",
"parseurl": "~1.3.3",
"send": "0.17.2"
+ },
+ "engines": {
+ "node": ">= 0.8.0"
}
},
- "setprototypeof": {
+ "node_modules/setprototypeof": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz",
"integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==",
"dev": true
},
- "stack-trace": {
+ "node_modules/stack-trace": {
"version": "0.0.10",
"resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.10.tgz",
"integrity": "sha1-VHxws0fo0ytOEI6hoqFZ5f3eGcA=",
- "dev": true
+ "dev": true,
+ "engines": {
+ "node": "*"
+ }
},
- "statuses": {
+ "node_modules/statuses": {
"version": "1.5.0",
"resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz",
"integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=",
- "dev": true
+ "dev": true,
+ "engines": {
+ "node": ">= 0.6"
+ }
},
- "toidentifier": {
+ "node_modules/toidentifier": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz",
"integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==",
- "dev": true
+ "dev": true,
+ "engines": {
+ "node": ">=0.6"
+ }
},
- "type-is": {
+ "node_modules/type-is": {
"version": "1.6.18",
"resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz",
"integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==",
"dev": true,
- "requires": {
+ "dependencies": {
"media-typer": "0.3.0",
"mime-types": "~2.1.24"
+ },
+ "engines": {
+ "node": ">= 0.6"
}
},
- "unpipe": {
+ "node_modules/unpipe": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz",
"integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=",
- "dev": true
+ "dev": true,
+ "engines": {
+ "node": ">= 0.8"
+ }
},
- "utils-merge": {
+ "node_modules/utils-merge": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz",
"integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=",
- "dev": true
+ "dev": true,
+ "engines": {
+ "node": ">= 0.4.0"
+ }
},
- "vary": {
+ "node_modules/vary": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz",
"integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=",
- "dev": true
+ "dev": true,
+ "engines": {
+ "node": ">= 0.8"
+ }
},
- "winston": {
+ "node_modules/winston": {
"version": "2.4.5",
"resolved": "https://registry.npmjs.org/winston/-/winston-2.4.5.tgz",
"integrity": "sha512-TWoamHt5yYvsMarGlGEQE59SbJHqGsZV8/lwC+iCcGeAe0vUaOh+Lv6SYM17ouzC/a/LB1/hz/7sxFBtlu1l4A==",
"dev": true,
- "requires": {
+ "dependencies": {
"async": "~1.0.0",
"colors": "1.0.x",
"cycle": "1.0.x",
@@ -532,14 +680,15 @@
"isstream": "0.1.x",
"stack-trace": "0.0.x"
},
- "dependencies": {
- "async": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/async/-/async-1.0.0.tgz",
- "integrity": "sha1-+PwEyjoTeErenhZBr5hXjPvWR6k=",
- "dev": true
- }
+ "engines": {
+ "node": ">= 0.10.0"
}
+ },
+ "node_modules/winston/node_modules/async": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/async/-/async-1.0.0.tgz",
+ "integrity": "sha1-+PwEyjoTeErenhZBr5hXjPvWR6k=",
+ "dev": true
}
}
}
diff --git a/tools/package.json b/tools/package.json
index caeb702..7da0f90 100644
--- a/tools/package.json
+++ b/tools/package.json
@@ -1,6 +1,6 @@
{
"name": "respec",
- "version": "2.1.32",
+ "version": "2.1.34",
"description": "Specification Edition Support Tool (OASIS Profile).",
"main": "index.js",
"directories": {
@@ -20,6 +20,6 @@
"async": "^2.6.1",
"express": "^4.16.3",
"prompt": "^1.0.0",
- "requirejs": "^2.3.5"
+ "requirejs": "^2.3.6"
}
}