You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by an...@locus.apache.org on 2000/02/16 02:57:35 UTC
cvs commit: xml-xerces/java/docs features.xml properties.xml
andyc 00/02/15 17:57:35
Modified: java/docs features.xml properties.xml
Log:
Update properties and features for SAX2beta.
Revision Changes Path
1.5 +25 -1 xml-xerces/java/docs/features.xml
Index: features.xml
===================================================================
RCS file: /home/cvs/xml-xerces/java/docs/features.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- features.xml 2000/01/24 23:43:48 1.4
+++ features.xml 2000/02/16 01:57:34 1.5
@@ -23,6 +23,7 @@
<tr><th>True:</th> <td>Validate the document.</td></tr>
<tr><th>False:</th> <td>Do not validate the document.</td></tr>
<tr><th>Default:</th> <td>false</td></tr>
+ <tr><th>Access:</th> <td>(parsing) read-only; (not parsing) read/write</td></tr>
<tr><th>Note:</th> <td>If this feature is set to true, the document must specify a grammar.
If this feature is set to false, the document may specify a grammar
and that grammar will be parsed but no validation of the document
@@ -37,6 +38,7 @@
<tr><th>True:</th> <td>Include external general (text) entities.</td></tr>
<tr><th>False:</th> <td>Do not include external general entities.</td></tr>
<tr><th>Default:</th> <td>true</td></tr>
+ <tr><th>Access:</th> <td>(parsing) read-only; (not parsing) read/write</td></tr>
<tr><th>See:</th>
<td><link anchor="external-parameter-entities">http://xml.org/sax/features/external-parameter-entities</link></td></tr>
</table>
@@ -47,6 +49,7 @@
<tr><th>True:</th> <td>Include external parameter entities and the external DTD subset.</td></tr>
<tr><th>False:</th> <td>Do not include external parameter entities or the external DTD subset.</td></tr>
<tr><th>Default:</th> <td>true</td></tr>
+ <tr><th>Access:</th> <td>(parsing) read-only; (not parsing) read/write</td></tr>
<tr><th>See:</th>
<td><link anchor="external-parameter-entities">http://xml.org/sax/features/external-parameter-entities</link></td></tr>
</table>
@@ -61,6 +64,7 @@
separating the URI part and the local part.</td></tr>
<tr><th>False:</th> <td>Do not perform namespace processing.</td></tr>
<tr><th>Default:</th> <td>false</td></tr>
+ <tr><th>Access:</th> <td>(parsing) read-only; (not parsing) read/write</td></tr>
<tr><th>Note:</th> <td>If the validation feature is set to true, then the document must contain
a grammar that supports the use of namespaces.</td></tr>
<tr><th>See:</th> <td><link anchor="validation">http://xml.org/sax/features/validation</link>
@@ -177,6 +181,7 @@
</table>
</s2>
<s2 title="SAX Features">
+ <!--
<anchor name="use-locator"/>
<p>http://xml.org/sax/features/use-locator</p>
<table>
@@ -201,7 +206,26 @@
in a single callback to the DocumentHandler
characters method.</td></tr>
</table>
-
+ -->
+ <anchor name='namespace-prefixes'/>
+ <p>http://xml.org/sax/features/namespace-prefixes</p>
+ <table>
+ <tr><th>True:</th> <td>Report the original prefixed names and attributes used for Namespace declarations.</td></tr>
+ <tr><th>False:</th> <td>Do not report attributes used for Namespace declarations, and optionally do not report original prefixed names.</td></tr>
+ <tr><th>Default:</th> <td>true</td></tr>
+ <tr><th>Access:</th> <td>(parsing) read-only; (not parsing) read/write</td></tr>
+ </table>
+ <anchor name='string-interning'/>
+ <p>http://xml.org/sax/features/string-interning</p>
+ <table>
+ <tr><th>True:</th> <td>All element names, prefixes, attribute names, Namespace URIs, and local names are internalized using java.lang.String.intern.</td></tr>
+ <tr><th>False:</th> <td>Names are not necessarily internalized.</td></tr>
+ <tr><th>Default:</th> <td>false</td></tr>
+ <tr><th>Access:</th> <td>(parsing) read-only; (not parsing) read/write</td></tr>
+ <tr><th>Note:</th> <td>Xerces-J does not support interning all strings using the
+ String.intern() method because Xerces-J does its own intern
+ optimizations for String objects.</td></tr>
+ </table>
</s2>
</s1>
1.3 +20 -1 xml-xerces/java/docs/properties.xml
Index: properties.xml
===================================================================
RCS file: /home/cvs/xml-xerces/java/docs/properties.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- properties.xml 2000/01/24 23:43:48 1.2
+++ properties.xml 2000/02/16 01:57:35 1.3
@@ -16,6 +16,7 @@
</s2>
<s2 title="General Properties">
+ <!--
<anchor name="namespace-sep"/>
<p>http://xml.org/sax/properties/namespace-sep</p>
<table>
@@ -28,6 +29,7 @@
<tr><th> Default: </th> <td>""</td></tr>
<tr><th>See:</th> <td><link idref="features" anchor="namespaces">http://xml.org/sax/features/namespaces</link></td></tr>
</table>
+ -->
<anchor name="xml-string"/>
<p>http://xml.org/sax/properties/xml-string</p>
@@ -71,6 +73,7 @@
</s2>
<s2 title="SAX Parser Properties">
+ <!--
<anchor name="DeclHandler"/>
<p>http://xml.org/sax/handlers/DeclHandler</p>
<table>
@@ -94,12 +97,28 @@
<tr><th>Access:</th> <td>read-write</td></tr>
<tr><th>Desc:</th> <td>Set the handler for lexical parsing events.</td></tr>
</table>
+ -->
+ <anchor name="declaration-handler"/>
+ <p>http://xml.org/sax/properties/declaration-handler</p>
+ <table>
+ <tr><th>Type:</th> <td>org.xml.sax.ext.DeclHandler</td></tr>
+ <tr><th>Access:</th> <td>read-write</td></tr>
+ <tr><th>Desc:</th> <td>Set the handler for DTD declarations.</td></tr>
+ </table>
+ <anchor name="lexical-handler"/>
+ <p>http://xml.org/sax/properties/lexical-handler</p>
+ <table>
+ <tr><th>Type:</th> <td>org.xml.sax.ext.LexicalHandler</td></tr>
+ <tr><th>Access:</th> <td>read-write</td></tr>
+ <tr><th>Desc:</th> <td>Set the handler for lexical parsing events.</td></tr>
+ </table>
+
<anchor name="dom-node"/>
<p>http://xml.org/sax/properties/dom-node</p>
<table>
<tr><th>Type:</th> <td>org.w3c.dom.Node</td></tr>
- <tr><th>Access:</th> <td>read-only</td></tr>
+ <tr><th>Access:</th> <td>(parsing) read-only; (not parsing) read/write</td></tr>
<tr><th>Desc:</th> <td>The DOM node currently being visited,
if SAX is being used as a DOM iterator.
If the parser recognizes and supports this property but is