cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ovidiu Predescu <ovi...@cup.hp.com>
Subject [C2.1] JaxpParser minor patch
Date Tue, 09 Oct 2001 21:41:28 GMT
The following patch comments out setting of the lexical-handler
property. This makes Cocoon work with Crimson instead of Xerces, which
doesn't seem to have this property.

diff -ruN -x *CVS* -x *build* -x *ChangeLog* -x *README.hp* -I \$Id:.*\$ -I \$Revision:.*\$
-I \$Author:.*\$ xml-cocoon2/src/org/apache/cocoon/components/parser/JaxpParser.java Cocoon2/src/org/apache/cocoon/components/parser/JaxpParser.java
--- xml-cocoon2/src/org/apache/cocoon/components/parser/JaxpParser.java	Tue Aug 21 14:30:59
2001
+++ Cocoon2/src/org/apache/cocoon/components/parser/JaxpParser.java	Fri Oct  5 14:08:38 2001
@@ -91,9 +91,11 @@
         XMLReader reader = parser.getXMLReader();
 
         reader.setFeature("http://xml.org/sax/features/namespace-prefixes", true);
-        reader.setProperty("http://xml.org/sax/properties/lexical-handler",
+        /*
+          reader.setProperty("http://xml.org/sax/properties/lexical-handler",
                            super.lexicalHandler);
-
+        */
+        
         reader.setErrorHandler(this);
         reader.setContentHandler(super.contentHandler);
 		if(this.resolver != null)


Regards,
-- 
Ovidiu Predescu <ovidiu@cup.hp.com>
http://orion.rgv.hp.com/ (inside HP's firewall only)
http://sourceforge.net/users/ovidiu/ (my SourceForge page)
http://www.geocities.com/SiliconValley/Monitor/7464/ (GNU, Emacs, other stuff)

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message