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/06/21 21:18:46 UTC
cvs commit: xml-xerces/java/docs faq-common.xml features.xml readme.xml releases.xml schema.xml
andyc 00/06/21 12:18:45
Modified: java/docs faq-common.xml features.xml readme.xml
releases.xml schema.xml
Log:
Updated documentation for next build and release.
Revision Changes Path
1.5 +11 -0 xml-xerces/java/docs/faq-common.xml
Index: faq-common.xml
===================================================================
RCS file: /home/cvs/xml-xerces/java/docs/faq-common.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- faq-common.xml 2000/05/23 20:28:55 1.4
+++ faq-common.xml 2000/06/21 19:18:40 1.5
@@ -54,4 +54,15 @@
and &javaparsername; correctly generates an error.</p>
</a>
</faq>
+ <faq title='DOS Filenames No Longer Work'>
+ <q>I used to be able to use DOS filenames with the parser and now
+ they don't work. Why not?</q>
+ <a><p>DOS filenames are not legal URIs as required by the XML 1.0
+ specification. Therefore, it was an error for the parser to accept
+ DOS filenames. This bug is now fixed.</p>
+ <p>DOS filenames can be converted to legal URIs, however. For
+ example, the DOS filename "c:\xerces\data\personal.xml" would become
+ "file:///c:/xerces/data/personal.xml", which is a legal URI.</p>
+ </a>
+ </faq>
</faqs>
1.9 +8 -0 xml-xerces/java/docs/features.xml
Index: features.xml
===================================================================
RCS file: /home/cvs/xml-xerces/java/docs/features.xml,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- features.xml 2000/05/23 20:28:57 1.8
+++ features.xml 2000/06/21 19:18:41 1.9
@@ -72,6 +72,14 @@
<br/><link idref="properties" anchor="namespace-sep">http://xml.org/sax/properties/namespace-sep</link></td></tr>
</table>
+ <anchor name="schema"/>
+ <p>http://apache.org/xml/features/validation/schema</p>
+ <table>
+ <tr><th>True:</th> <td>Turn on XML Schema support.</td></tr>
+ <tr><th>False:</th> <td>Turn off XML Schema support.</td></tr>
+ <tr><th>Default:</th> <td>true</td></tr>
+ </table>
+
<anchor name="dynamic"/>
<p>http://apache.org/xml/features/validation/dynamic</p>
<table>
1.11 +3 -12 xml-xerces/java/docs/readme.xml
Index: readme.xml
===================================================================
RCS file: /home/cvs/xml-xerces/java/docs/readme.xml,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- readme.xml 2000/05/23 20:28:59 1.10
+++ readme.xml 2000/06/21 19:18:41 1.11
@@ -14,11 +14,6 @@
<jump href="http://www.megginson.com/SAX/SAX1/">SAX version 1</jump>
APIs.</p>
<p>
-<!--
- &javaparsername; &javaparserversion; is the first in a series of ongoing updates -
- Watch <jump href="http://xml.apache.org">xml.apache.org</jump>
- for new updates. -->
-
Note that because some of the standards
are still not complete, the stable API will definitely be
different from its current form in &javaparsername; &javaparserversion;.
@@ -27,10 +22,6 @@
whether the APIs that we are providing are the right ones. Please
direct your feedback to the &javaparsername; mailing list.</p>
- <p>The &javaparserversion; release benefits from the
- <jump href="http:://xml.apache.org">xml.apache.org</jump> collaboration.
- It includes Assaf Arkin's serialization and HTML DOM contributions.
- See the <link idref="releases">release</link> information.</p>
</s2>
<s2 title="License Information">
<p>The &javaparsername; &javaparserversion; release is available in both source code
@@ -71,9 +62,9 @@
<s2 title="Configuration Mechanism">
<p>&javaparsername; &javaparserversion; uses a collection of methods to configure
various settings in the parser. This release includes a new mechanism
- for setting parser switches. This mechanism uses the SAX2 Configurable
- interface. We have defined a series of
- <link idref="properties">properties</link> and
+ for setting parser switches. This mechanism uses the SAX2 configuration
+ methods that are part of the XMLReader interface. We have defined a series
+ of <link idref="properties">properties</link> and
<link idref="features">features</link> for the &javaparsername;
options. </p>
</s2>
1.17 +20 -1 xml-xerces/java/docs/releases.xml
Index: releases.xml
===================================================================
RCS file: /home/cvs/xml-xerces/java/docs/releases.xml,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- releases.xml 2000/06/05 17:27:18 1.16
+++ releases.xml 2000/06/21 19:18:41 1.17
@@ -2,6 +2,25 @@
<!DOCTYPE s1 SYSTEM "./dtd/document.dtd">
<s1 title="Releases">
+ <s2 title='June 21, 2000'>
+ <ul>
+ <li>Added "any" element content support for Schema [andyc]</li>
+ <li>Fixed adjacent text nodes bug in deferred DOM [andyc]</li>
+ <li>Fixed namespace URI bug in deferred DOM [andyc]</li>
+ <li>Fixed null document type node bug [andyc]</li>
+ <li>Fixed StringReader index out of bounds exception bug [andyc]</li>
+ <li>Turned on namespace support in all parsers, by default [andyc]</li>
+ <li>Added feature to allow Schema support to be turned off [andyc]</li>
+ <li>Fixed DOM serialization [jeffreyr]</li>
+ <li>Fixed datatype enumeration bugs [jeffreyr]</li>
+ <li>Fixed datatype pattern bugs [jeffreyr]</li>
+ <li>Fixed datatype min/maxLength bugs [jeffreyr]</li>
+ <li>Modified samples to include additional switched [jeffreyr]</li>
+ <li>Added regular expression character class subtraction [tkent@jp.ibm.com]</li>
+ <li>Fixed regular expression bugs [tkent@jp.ibm.com]</li>
+ <li>Added URI class [paul.eng@iclick.com]</li>
+ </ul>
+ </s2>
<s2 title='June 5, 2000'>
<ul>
<li>Added Schema include/import [ericye]</li>
@@ -15,7 +34,7 @@
<li>Added JAXP to build, updated JAXP files [lehors]</li>
<li>Added a DOM from scratch and Serializer sample [jeffreyr]</li>
<li>Fixed NodeImpl supports nullpointer bug in Samples [lehors]</li>
- <li>Fixed a bug in clonning default attribute</li>
+ <li>Fixed a bug in cloning default attribute</li>
</ul>
</s2>
<s2 title='May 19, 2000'>
1.9 +19 -6 xml-xerces/java/docs/schema.xml
Index: schema.xml
===================================================================
RCS file: /home/cvs/xml-xerces/java/docs/schema.xml,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- schema.xml 2000/05/23 20:29:05 1.8
+++ schema.xml 2000/06/21 19:18:41 1.9
@@ -44,11 +44,12 @@
<li>Attribute group definitions</li>
<li>Simple type definitions</li>
<li>Complex type definitions</li>
+ <li>Wildcards: any</li>
</ul>
</s2>
<s2 title='Components NOT Supported'>
<ul>
- <li>Wildcards</li>
+ <li>Wildcards: anyAttribute</li>
<li>Identity constraints: unique, key, keyref</li>
<li>Notation declaration</li>
<li>Annotation (ignored)</li>
@@ -64,6 +65,8 @@
<li>Equivalency classes (partial)</li>
<li>Target namespace</li>
<li>"xsi:schemaLocation" and "xsl:noNamespacesSchemaLocation"</li>
+ <li>Include</li>
+ <li>Import</li>
</ul>
</s2>
<s2 title='Features NOT Supported'>
@@ -73,8 +76,6 @@
<li>Block</li>
<li>Abstract</li>
<li>"xsi:type"</li>
- <li>Include</li>
- <li>Import</li>
</ul>
</s2>
<s2 title='Datatypes Supported'>
@@ -92,7 +93,8 @@
</ul>
</s2>
<s2 title="Other Limitations">
- <p>The schema is specified by the xsi:schemaLocation attribute on the root
+ <p>The schema is specified by the xsi:schemaLocation or
+ xsi:noNamespaceSchemaLocation attribute on the root
element of the document. The xsi prefix must be bound to the
Schema document instance namespace, as specified by the
working draft specification. See the sample provided in the
@@ -104,8 +106,19 @@
required to parse documents that use a schema.</p>
<p>Documents that use XML Schema grammars specify the location of the
grammar using an xsi:schemaLocation attribute attached to the root / top-level element
- in the document. Here is an example: </p>
-<source><document xmlns:xsi='http://www.w3.org/1999/XMLSchema-instance' xsi:schemaLocation='document.xsd'>
+ in the document. Here is an example with no target namspace: </p>
+<source><document
+ xmlns:xsi='http://www.w3.org/1999/XMLSchema-instance'
+ xsi:noNamespaceSchemaLocation='document.xsd'>
+...
+</document></source>
+ <p>Here is an example with a target namespace. Note that it is an
+ error to specify a different namespace than the target namespace
+ defined in Schema.</p>
+<source><document
+ xmlns='NS'
+ xmlns:xsi='http://www.w3.org/1999/XMLSchema-instance'
+ xsi:schemaLocation='NS document.xsd'>
...
</document></source>
<p>Review the sample file, 'data/personal.xsd' for an example of an XML