You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Jean-francois Arcand <je...@sun.com> on 2002/08/01 01:57:33 UTC
Re: cvs commit: jakarta-commons/digester/src/java/org/apache/commons/digester
package.html
Patrick,
a WARNING messsage will be displayed when a JAXP 1.1 parser (or a parser
that do not support schema) is used. DTD will be supported by default.
That keep the Digester usable with version that do not support schema.
Thanks,
-- Jeanfrancois
Patrick Luby wrote:
> Jean-François,
>
> Is there a way to test for JAXP 1.2 or higher? If so, it would be nice
> to make the JAXP 1.2 properties not be applied when the version is <
> JAXP 1.2.
>
> Patrick
>
> rdonkin@apache.org wrote:
>
>> rdonkin 2002/07/31 11:54:31
>>
>> Modified: digester/src/java/org/apache/commons/digester
>> package.html
>> Log:
>> The JAXP 1.2 patch just committed results in digester logging a
>> warning when a JAXP 1.1 parser is used. This patch adds a FAQ section
>> to the digester documentation and adds a FAQ entry telling users
>> about this.
>> Revision Changes Path
>> 1.12 +14 -0
>> jakarta-commons/digester/src/java/org/apache/commons/digester/package.html
>>
>> Index: package.html
>> ===================================================================
>> RCS file:
>> /home/cvs/jakarta-commons/digester/src/java/org/apache/commons/digester/package.html,v
>>
>> retrieving revision 1.11
>> retrieving revision 1.12
>> diff -u -r1.11 -r1.12
>> --- package.html 16 Jul 2002 21:23:27 -0000 1.11
>> +++ package.html 31 Jul 2002 18:54:31 -0000 1.12
>> @@ -19,6 +19,7 @@
>> <a href="#doc.Namespace">[Namespace Aware Parsing]</a>
>> <a href="#doc.Pluggable">[Pluggable Rules Processing]</a>
>> <a href="#doc.RuleSets">[Encapsulated Rule Sets]</a>
>> +<a href="#doc.FAQ">[FAQ]</a>
>> </div>
>> <a name="doc.Depend"></a>
>> @@ -826,5 +827,18 @@
>> XML document.</li>
>> </ul>
>> +<a name="doc.FAQ"></a>
>> +<h3>Frequently Asked Questions</h3>
>> +<p><ul>
>> +<li><strong>Why do I get warnings when using a JAXP 1.1
>> parser?</strong>
>> +<p>If you're using a JAXP 1.1 parser, you might see the following
>> warning (in your log):
>> +<code><pre>
>> +[WARN] Digester - -Error: JAXP SAXParser property not recognized:
>> http://java.sun.com/xml/jaxp/properties/schemaLanguage
>> +</pre></code>
>> +This property is needed for JAXP 1.2 (XML Schema support) as required
>> +for the Servlet Spec. 2.4 but is not recognized by JAXP 1.1 parsers.
>> +This warning is harmless.
>> +</p></li>
>> +</ul>
>> </body>
>> </html>
>> --
>> To unsubscribe, e-mail:
>> <ma...@jakarta.apache.org>
>> For additional commands, e-mail:
>> <ma...@jakarta.apache.org>
>
>
--
Jean-Francois Arcand
Java and XML Software, Sun Microsystems
450.224.4753
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>