You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by sa...@apache.org on 2002/01/29 19:05:07 UTC
cvs commit: xml-xerces/java/docs faq-common.xml limitations-schema.xml releases.xml samples-dom.xml
sandygao 02/01/29 10:05:07
Modified: java/docs faq-common.xml limitations-schema.xml releases.xml
samples-dom.xml
Log:
1. Updated releases.xml to included my updates;
2. Two of schema bugs were fixed. Removed them from schema-limitation;
3. Now we support dos path, so removed the faq about it;
4. Added description for dom sample: DOMAddLines.
Revision Changes Path
1.7 +0 -19 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.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- faq-common.xml 23 Aug 2001 00:35:14 -0000 1.6
+++ faq-common.xml 29 Jan 2002 18:05:07 -0000 1.7
@@ -1,25 +1,6 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE faqs SYSTEM 'dtd/faqs.dtd'>
<faqs title='Common Problems FAQs'>
- <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>
<faq title='Parsing HTML Generated an Error.'>
<q>
I tried to use &ParserName; to parse an HTML file and it
1.4 +1 -9 xml-xerces/java/docs/limitations-schema.xml
Index: limitations-schema.xml
===================================================================
RCS file: /home/cvs/xml-xerces/java/docs/limitations-schema.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- limitations-schema.xml 20 Dec 2001 15:42:27 -0000 1.3
+++ limitations-schema.xml 29 Jan 2002 18:05:07 -0000 1.4
@@ -1,6 +1,6 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE s1 SYSTEM 'dtd/document.dtd'>
-<s1 title="Schema Implementation Limitations">
+<s1 title="XML Schema Limitations">
<s2 title="Introduction">
<p>This package contains an implementation of the W3C XML
Schema Language, a recommendation of the Worldwide Web Consortium
@@ -32,14 +32,6 @@
<li> Due to changes in the specification for Decimals in
JDK1.3, not all decimals that should be invalid according
to the Schema specs may be found by the parser;</li>
- <li> When the same schema document is both imported and
- included by the same schema document, only the first one
- takes effect;</li>
- <li> If an imported/included/redefined schema document is
- specified via a relative path, the parser may not
- always succeed in locating the document. Please implement and register a SAX
- EntityResolver (<code>org.xml.sax.EntityResolver</code>) to customize
- the parser's behaviour to your situation;</li>
</ul>
</s2>
<s2 title='Interpretation of Areas that are Unclear or
1.105 +26 -5 xml-xerces/java/docs/releases.xml
Index: releases.xml
===================================================================
RCS file: /home/cvs/xml-xerces/java/docs/releases.xml,v
retrieving revision 1.104
retrieving revision 1.105
diff -u -r1.104 -r1.105
--- releases.xml 29 Jan 2002 17:13:07 -0000 1.104
+++ releases.xml 29 Jan 2002 18:05:07 -0000 1.105
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='UTF-8'?>
-<!-- $Id: releases.xml,v 1.104 2002/01/29 17:13:07 elena Exp $ -->
+<!-- $Id: releases.xml,v 1.105 2002/01/29 18:05:07 sandygao Exp $ -->
<!DOCTYPE releases SYSTEM 'dtd/releases.dtd'>
<releases>
<release version='Xerces 2.0.0'>
@@ -104,6 +104,30 @@
<fix>
+ <note> Moved schema simple type error messages to the property file to enable localization.
+ </note>
+ <submitter name="Sandy Gao"/>
+ </fix>
+
+ <fix>
+ <note> Fixed various bugs related to the dependency between schema documents.
+ </note>
+ <submitter name="Sandy Gao"/>
+ </fix>
+
+ <fix>
+ <note> Modified URI resolution strategy so that Windows network paths are recognized.
+ </note>
+ <submitter name="Sandy Gao"/>
+ </fix>
+
+ <fix>
+ <note> Fixed various bugs related to schema components traversal and validation.
+ </note>
+ <submitter name="Sandy Gao"/>
+ </fix>
+
+ <fix>
<note> Fixed a bug in the ui.DOMParserSaveEncoding sample.
</note>
<submitter name="Joerg Vogel, Neil Graham"/>
@@ -134,7 +158,6 @@
<submitter name="Arnaud Le Hors"/>
</fix>
-
<fix>
<note>Fixed misc. SAX bugs.
</note>
@@ -153,8 +176,7 @@
</note>
<submitter name="Ted Leung, Neeraj Bajaj, Rahul Srivastava"/>
</fix>
-
-
+
<fix>
<note>Fixed external-schemaLocation and external-noNamespaceSchemalocation
properties related bug (# 5768)
@@ -175,7 +197,6 @@
<submitter name="Rahul Srivastava"/>
</fix>
-
<fix>
<note>Fixed the bug in which duplicate attribute definitions were not ignored
and error was reported for ID datatype and Notation.
1.5 +22 -4 xml-xerces/java/docs/samples-dom.xml
Index: samples-dom.xml
===================================================================
RCS file: /home/cvs/xml-xerces/java/docs/samples-dom.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- samples-dom.xml 14 Dec 2001 22:09:43 -0000 1.4
+++ samples-dom.xml 29 Jan 2002 18:05:07 -0000 1.5
@@ -11,9 +11,9 @@
<p>Basic DOM samples:</p>
<ul>
<li><link anchor='Counter'>dom.Counter</link></li>
+ <li><link anchor='DOMAddLines'>dom.DOMAddLines</link></li>
<!--
- Should the following samples be removed? rewritten? revamped?
- <li><link anchor='DOMAddLines'>dom.DOMAddLines</link></li>
<li><link anchor='DOMGenerate'>dom.DOMGenerate</link></li>
-->
<li><link anchor='GetElementsByTagName'>dom.GetElementsByTagName</link></li>
@@ -103,12 +103,30 @@
</table>
</s3>
</s2>
- <!--
- - Should the following samples be removed? rewritten? revamped?
<anchor name='DOMAddLines'/>
<s2 title='Sample dom.DOMAddLines'>
- <p>TODO</p>
+ <p>
+ A sample of Adding lines to the DOM Node. This sample program illustrates:
+ </p>
+ <ul>
+ <li>How to override methods from DocumentHandler ( XMLDocumentHandler)</li>
+ <li>How to turn off ignorable white spaces by overriding ignorableWhiteSpace</li>
+ <li>How to use the SAX Locator to return row position (line number of DOM element)</li>
+ <li>How to attach user defined Objects to Nodes using method setUserData</li>
+ </ul>
+ <s3 title='usage'>
+ <source>java dom.DOMAddLines (options) uri ...</source>
+ </s3>
+ <s3 title='options'>
+ <table>
+ <tr><th>Option</th><th>Description</th></tr>
+ <tr><td>-h</td><td>Display help screen.</td></tr>
+ <tr><td>-i</td><td>Don't print ignorable white spaces.</td></tr>
+ </table>
+ </s3>
</s2>
+ <!--
+ - Should the following samples be removed? rewritten? revamped?
<anchor name='DOMGenerate'/>
<s2 title='Sample dom.DOMGenerate'>
<p>TODO</p>
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org