This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch asf-site in repository https://gitbox.apache.org/repos/asf/incubator-daffodil-site.git
The following commit(s) were added to refs/heads/asf-site by this push: new ff3184b Publishing from 55c3ddfc491369fdcb4946075415b25bc071b155 ff3184b is described below commit ff3184be5b6c77f0ff9f2c8d4c636d2cabdb521b Author: GitHub <nore...@github.com> AuthorDate: Tue Oct 27 19:03:49 2020 +0000 Publishing from 55c3ddfc491369fdcb4946075415b25bc071b155 --- content/cli/index.html | 6 +-- content/infoset/index.html | 96 +++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 97 insertions(+), 5 deletions(-) diff --git a/content/cli/index.html b/content/cli/index.html index ff88e4a..31302cd 100644 --- a/content/cli/index.html +++ b/content/cli/index.html @@ -171,7 +171,7 @@ </dd> <dt><code class="highlighter-rouge">-I, --infoset-type TYPE</code></dt> <dd> - <p>Infoset type to output. <code class="highlighter-rouge">TYPE</code> must be one of <code class="highlighter-rouge">xml</code>, <code class="highlighter-rouge">scala-xml</code>, <code class="highlighter-rouge">json</code>, <code class="highlighter-rouge">jdom</code>, or <code class="highlighter-rouge">null</code>. Defaults to <code class="highlighter-rouge">xml</code> if not provided.</p> + <p>Infoset type to output. <code class="highlighter-rouge">TYPE</code> must be one of <code class="highlighter-rouge">xml</code>, <code class="highlighter-rouge">scala-xml</code>, <code class="highlighter-rouge">json</code>, <code class="highlighter-rouge">jdom</code>, <code class="highlighter-rouge">sax</code>, or <code class="highlighter-rouge">null</code>. Defaults to <code class="highlighter-rouge">xml</code> if not provided.</p> </dd> <dt><code class="highlighter-rouge">-o, --output FILE</code></dt> <dd> @@ -246,7 +246,7 @@ </dd> <dt><code class="highlighter-rouge">-I, --infoset-type TYPE</code></dt> <dd> - <p>Infoset type to unparse. <code class="highlighter-rouge">TYPE</code> must be one of <code class="highlighter-rouge">xml</code>, <code class="highlighter-rouge">scala-xml</code>, <code class="highlighter-rouge">json</code>, or <code class="highlighter-rouge">jdom</code>. Defaults to <code class="highlighter-rouge">xml</code> if not provided.</p> + <p>Infoset type to unparse. <code class="highlighter-rouge">TYPE</code> must be one of <code class="highlighter-rouge">xml</code>, <code class="highlighter-rouge">scala-xml</code>, <code class="highlighter-rouge">json</code>, <code class="highlighter-rouge">jdom</code>, or <code class="highlighter-rouge">sax</code>. Defaults to <code class="highlighter-rouge">xml</code> if not provided.</p> </dd> <dt><code class="highlighter-rouge">-o, --output FILE</code></dt> <dd> @@ -419,7 +419,7 @@ </dd> <dt><code class="highlighter-rouge">-I, --infoset-type TYPE</code></dt> <dd> - <p>Infoset type to parse/unparse. <code class="highlighter-rouge">TYPE</code> must be one of <code class="highlighter-rouge">xml</code>, <code class="highlighter-rouge">scala-xml</code>, <code class="highlighter-rouge">json</code>, <code class="highlighter-rouge">jdom</code>, or <code class="highlighter-rouge">null</code>. Defaults to <code class="highlighter-rouge">xml</code> if not provided. Note that <code class="highlighter-rouge">null</code> is not valid if the <code class="high [...] + <p>Infoset type to parse/unparse. <code class="highlighter-rouge">TYPE</code> must be one of <code class="highlighter-rouge">xml</code>, <code class="highlighter-rouge">scala-xml</code>, <code class="highlighter-rouge">json</code>, <code class="highlighter-rouge">jdom</code>, <code class="highlighter-rouge">sax</code>, or <code class="highlighter-rouge">null</code>. Defaults to <code class="highlighter-rouge">xml</code> if not provided. Note that <code class="highlighter-rouge">null< [...] </dd> <dt><code class="highlighter-rouge">-N, --number NUMBER</code></dt> <dd> diff --git a/content/infoset/index.html b/content/infoset/index.html index d671a6d..1c37542 100644 --- a/content/infoset/index.html +++ b/content/infoset/index.html @@ -100,6 +100,7 @@ Infoset to the supported representations.</p> <li><a data-toggle="tab" href="#scalanode">Scala Node</a></li> <li><a data-toggle="tab" href="#xmltext">XML Text</a></li> <li><a data-toggle="tab" href="#json">JSON</a></li> + <li><a data-toggle="tab" href="#sax">SAX</a></li> </ul> <div class="tab-content"> @@ -279,7 +280,7 @@ Infoset to the supported representations.</p> </tr> <tr> <td class="col-md-3">root</td> - <td class="col-md-9"><i>not supported</i></td> + <td class="col-md-9">root element of the node</td> </tr> <tr> <td class="col-md-3">dfdlVersion</td> @@ -447,7 +448,7 @@ Infoset to the supported representations.</p> </tr> <tr> <td class="col-md-3">root</td> - <td class="col-md-9">The first (and only) JSON string in the doucment object.</td> + <td class="col-md-9">The first (and only) JSON string in the document object.</td> </tr> <tr> <td class="col-md-3">dfdlVersion</td> @@ -523,6 +524,97 @@ Infoset to the supported representations.</p> </tr> </table> </div> + <div id="sax" class="tab-pane fade"> + <table class="table"> + <tr> + <td class="col-md-3">Document Information Item</td> + <td class="col-md-9">All callbacks between (inclusive) org.xml.sax.ContentHandler#startDocument and endDocument</td> + </tr> + <tr> + <td class="col-md-3">root</td> + <td class="col-md-9">startElement callback</td> + </tr> + <tr> + <td class="col-md-3">dfdlVersion</td> + <td class="col-md-9"><i>not yet implemented</i></td> + </tr> + <tr> + <td class="col-md-3">schema (reserved for future use)</td> + <td class="col-md-9"><i>not yet implemented</i></td> + </tr> + <tr> + <td class="col-md-3">unicodeByteOrderMark</td> + <td class="col-md-9"><i>not yet implemented</i></td> + </tr> + <tr> + <td class="col-md-3">Element Information Item</td> + <td class="col-md-9">StartElement event</td> + </tr> + <tr> + <td class="col-md-3">namespace</td> + <td class="col-md-9">Accessible three ways: + <ul> + <li>uri parameter of StartElement/EndElement callbacks</li> + <li>qName parameter together with StartPrefixMapping/EndPrefixMapping callbacks</li> + <li>qName and Attribute parameter of StartElement callback</li> + </ul> + </td> + </tr> + <tr> + <td class="col-md-3">name</td> + <td class="col-md-9">localName or qName parameter of startElement callback</td> + </tr> + <tr> + <td class="col-md-3">document</td> + <td class="col-md-9">not yet implemented</td> + </tr> + <tr> + <td class="col-md-3">datatype</td> + <td class="col-md-9"><i>not yet implemented</i></td> + </tr> + <tr> + <td class="col-md-3">dataValue</td> + <td class="col-md-9"> + For simple types other than xs:string, the canonical + XML representation of the value from the characters callback. + See <a href="#xml-illegal-characters">XML Illegal Characters</a> + for xs:string types containing XML illegal characters. + </td> + </tr> + <tr> + <td class="col-md-3">nilled</td> + <td class="col-md-9">Using the getIndex method of the Attributes parameter of startElement with the XSI uri and the "nil" localName as arguments.</td> + </tr> + <tr> + <td class="col-md-3">children</td> + <td class="col-md-9"><i>not supported</i></td> + </tr> + <tr> + <td class="col-md-3">parent</td> + <td class="col-md-9"><i>not supported</i></td> + </tr> + <tr> + <td class="col-md-3">schema</td> + <td class="col-md-9"><i>not yet implemented</i></td> + </tr> + <tr> + <td class="col-md-3">valid</td> + <td class="col-md-9"><i>not yet implemented</i></td> + </tr> + <tr> + <td class="col-md-3">unionMemberSchema</td> + <td class="col-md-9"><i>not yet implemented</i></td> + </tr> + <tr> + <td class="col-md-3">"No Value"</td> + <td class="col-md-9"><i>not supported</i></td> + </tr> + <tr> + <td class="col-md-3">Augmented Infoset</td> + <td class="col-md-9"><i>not yet implemented</i></td> + </tr> + </table> + </div> </div> <h3 id="xml-illegal-characters">XML Illegal Characters</h3>