elena 2003/03/24 14:44:33 Modified: java/docs docs-book.xml faq-dom.xml faq-general.xml faq-pcfp.xml faq-xs.xml properties.xml java/docs/style/stylesheets any2header.xsl Log: Applying patchesfrom Michael Glavassevich: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17359 Also, made some renamed some FAQs to avoid truncation... Revision Changes Path 1.18 +3 -3 xml-xerces/java/docs/docs-book.xml Index: docs-book.xml =================================================================== RCS file: /home/cvs/xml-xerces/java/docs/docs-book.xml,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- docs-book.xml 27 Aug 2002 03:01:57 -0000 1.17 +++ docs-book.xml 24 Mar 2003 22:44:32 -0000 1.18 @@ -35,8 +35,8 @@ <faqs label='FAQs' title='Frequently Asked Questions' id='faqs'> <faq title='Common FAQs' id='faq-common' source='faq-common.xml'/> <faq title='General FAQs' id='faq-general' source='faq-general.xml'/> - <faq title='Caching and Preparsing Grammars' id='faq-grammars' source='faq-grammars.xml'/> - <faq title='Parser Configuration, Features and Properties FAQs' id='faq-pcfp' source='faq-pcfp.xml'/> + <faq title='Caching & Preparsing Grammars' id='faq-grammars' source='faq-grammars.xml'/> + <faq title='Configuring Parser' id='faq-pcfp' source='faq-pcfp.xml'/> <faq title='Xerces Native Interface FAQs' id='faq-xni' source='faq-xni.xml'/> <faq title='Building and Running FAQs' id='faq-build' source='faq-build.xml'/> @@ -48,7 +48,7 @@ id='faq-xs' source='faq-xs.xml'/> <faq title='Performance FAQs' id='faq-performance' source='faq-performance.xml'/> - <faq title='FAQs for Developers and Prospective Contributors' id='faq-contributing' source='faq-contributing.xml'/> + <faq title='FAQs for Contributors' id='faq-contributing' source='faq-contributing.xml'/> </faqs> <separator/> <settings title='Parser Features' label='Features' 1.6 +2 -2 xml-xerces/java/docs/faq-dom.xml Index: faq-dom.xml =================================================================== RCS file: /home/cvs/xml-xerces/java/docs/faq-dom.xml,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- faq-dom.xml 21 Jan 2003 23:17:01 -0000 1.5 +++ faq-dom.xml 24 Mar 2003 22:44:32 -0000 1.6 @@ -16,8 +16,8 @@ <a> <p> Use - <jump href="">http://apache.org/xml/properties/dom/document-class-name</jump> property - to register your own implementation of the + <link idref='properties' anchor="dom.document-class-name">http://apache.org/xml/properties/dom/document-class-name</link> property + to register your own implementation of the <code>org.w3c.dom.Document</code> interface.</p> <p> Xerces provides the following implementations of the 1.31 +3 -3 xml-xerces/java/docs/faq-general.xml Index: faq-general.xml =================================================================== RCS file: /home/cvs/xml-xerces/java/docs/faq-general.xml,v retrieving revision 1.30 retrieving revision 1.31 diff -u -r1.30 -r1.31 --- faq-general.xml 23 Jan 2003 20:21:20 -0000 1.30 +++ faq-general.xml 24 Mar 2003 22:44:32 -0000 1.31 @@ -180,9 +180,9 @@ One of the reason could be your proxy settings that does not allow parser to make URL connections through proxy server. To solve this problem application has to set two System properties "http.proxyHost" and - "http.prxoyPort" before the parsing begins. Other reasons could be the strict firewall - settings which doesn't allow any URL connection to be made to outside web or the - server on which documents are kept is currently not running etc.. + "http.proxyPort" before the parsing begins. Other reasons could be the strict firewall + settings which doesn't allow any URL connection to be made to the outside web or the + server on which documents are kept is currently not running etc.. </p> </a> </faq> 1.6 +1 -1 xml-xerces/java/docs/faq-pcfp.xml Index: faq-pcfp.xml =================================================================== RCS file: /home/cvs/xml-xerces/java/docs/faq-pcfp.xml,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- faq-pcfp.xml 17 Dec 2001 21:04:34 -0000 1.5 +++ faq-pcfp.xml 24 Mar 2003 22:44:32 -0000 1.6 @@ -1,6 +1,6 @@ <?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE faqs SYSTEM 'dtd/faqs.dtd'> -<faqs title='Parser Configuration and Validation'> +<faqs title='Configuring Parser'> <faq title='Validation and infoset augmentation'> <q>What's the result of having a DTD validator or XML Schema validator in the pipeline?</q> <a> 1.6 +2 -2 xml-xerces/java/docs/faq-xs.xml Index: faq-xs.xml =================================================================== RCS file: /home/cvs/xml-xerces/java/docs/faq-xs.xml,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- faq-xs.xml 17 Mar 2003 19:03:18 -0000 1.5 +++ faq-xs.xml 24 Mar 2003 22:44:32 -0000 1.6 @@ -125,8 +125,8 @@ <faq title="Accessing PSVI via DOM"> <q>How do I access PSVI via DOM?</q> <a><anchor name="dom3-psvi"/><p>Use - <jump href="">http://apache.org/xml/properties/dom/document-class-name</jump> property - to set <code>org.apache.xerces.dom.PSVIDocumentImpl</code> document + <link idref='properties' anchor="dom.document-class-name">http://apache.org/xml/properties/dom/document-class-name</link> property + to set <code>org.apache.xerces.dom.PSVIDocumentImpl</code> document interfaces implementation. In the resulting DOM tree, you may cast <code>org.w3c.dom.Element</code> to the <code>org.apache.xerces.xni.psvi.ElementPSVI</code> and 1.13 +4 -4 xml-xerces/java/docs/properties.xml Index: properties.xml =================================================================== RCS file: /home/cvs/xml-xerces/java/docs/properties.xml,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- properties.xml 16 Jan 2003 22:31:26 -0000 1.12 +++ properties.xml 24 Mar 2003 22:44:32 -0000 1.13 @@ -27,7 +27,7 @@ parser.setProperty(id, value); } catch (SAXException e) { - System.err.println("could not set parser feature"); + System.err.println("could not set parser property"); }</source> <p> Using the SAXParser interface in JAXP is better because you can @@ -42,13 +42,13 @@ SAXParser parser = /* created from SAXParserFactory */; XMLReader reader = parser.getXMLReader(); -String id = "http://apache.org/xml/properties/dom/document-class-name"; -Object value = "org.apache.xerces.dom.DocumentImpl"; +String id = "http://apache.org/xml/properties/input-buffer-size"; +Object value = new Integer(2048); try { reader.setProperty(id, value); } catch (SAXException e) { - System.err.println("could not set parser feature"); + System.err.println("could not set parser property"); }</source> </desc> <pcategory name='General Properties'> 1.3 +1 -1 xml-xerces/java/docs/style/stylesheets/any2header.xsl Index: any2header.xsl =================================================================== RCS file: /home/cvs/xml-xerces/java/docs/style/stylesheets/any2header.xsl,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- any2header.xsl 23 Aug 2001 00:35:16 -0000 1.2 +++ any2header.xsl 24 Mar 2003 22:44:32 -0000 1.3 @@ -7,7 +7,7 @@ <xsl:template match='/'> <image width="456" height="35" bgcolor="0086b2"> <text font="Arial" size="29" x="454" y="8" halign="right" valign="top" color="004080" - text="{label}"/> + text="{$label}"/> <text font="Arial" size="29" x="452" y="6" halign="right" valign="top" color="ffffff" text="{$label}"/> </image>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]