cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davanum Srinivas <d...@yahoo.com>
Subject Re: cvs commit: xml-cocoon/src/org/apache/cocoon/components/language/markup/xsp XSPUtil.java
Date Wed, 07 Feb 2001 17:53:50 GMT
Berin,

How do you want to modify "docs/samples/slides/view-source.xsp"? I had modified it this morning
to
use the XSPUtil.getDocument(). It was using DOMUtil.DOMParse before, which we have already
eliminated.

Thanks,
dims

--- bloritsch@apache.org wrote:
> bloritsch    01/02/07 09:44:17
> 
>   Modified:    src/org/apache/cocoon/components/language/markup/xsp Tag:
>                         xml-cocoon2 XSPUtil.java
>   Log:
>   We are now independant of Xerces on the XMLParser side of things.  I would like to
>   divorce the Document stuff from Parser, but we will work on that later.
>   
>   Revision  Changes    Path
>   No                   revision
>   
>   
>   No                   revision
>   
>   
>   1.1.2.4   +1 -11    
> xml-cocoon/src/org/apache/cocoon/components/language/markup/xsp/Attic/XSPUtil.java
>   
>   Index: XSPUtil.java
>   ===================================================================
>   RCS file:
> /home/cvs/xml-cocoon/src/org/apache/cocoon/components/language/markup/xsp/Attic/XSPUtil.java,v
>   retrieving revision 1.1.2.3
>   retrieving revision 1.1.2.4
>   diff -u -r1.1.2.3 -r1.1.2.4
>   --- XSPUtil.java	2001/02/07 12:45:53	1.1.2.3
>   +++ XSPUtil.java	2001/02/07 17:44:15	1.1.2.4
>   @@ -36,13 +36,12 @@
>    import org.apache.cocoon.xml.AbstractXMLConsumer;
>    import org.apache.cocoon.xml.IncludeXMLConsumer;
>    import org.apache.cocoon.xml.XMLConsumer;
>   -import org.apache.cocoon.xml.dom.DOMBuilder;
>    
>    /**
>     * The XSP <code>Utility</code> object helper
>     * @author <a href="mailto:ricardo@apache.org">Ricardo Rocha</a>
>     * @author <a href="mailto:bloritsch@apache.org>Berin Loritsch</a>
>   - * @version $Revision: 1.1.2.3 $ $Date: 2001/02/07 12:45:53 $
>   + * @version $Revision: 1.1.2.4 $ $Date: 2001/02/07 17:44:15 $
>     */
>    public class XSPUtil {
>        public static String pathComponent(String filename) {
>   @@ -130,15 +129,6 @@
>                    new IncludeXMLConsumer(parentContentHandler));
>                parser.parse(is);
>        }
>   -
>   -    public static org.w3c.dom.Document getDocument(InputSource input, Parser parser)
>   -		throws SAXException, IOException  {
>   -		DOMBuilder builder = new DOMBuilder(parser);
>   -		parser.setContentHandler(builder);
>   -		parser.setLexicalHandler(builder);
>   -		parser.parse(input);
>   -		return builder.getDocument();
>   -	}
>    
>        public static String encodeMarkup(String string) {
>            char[] array = string.toCharArray();
>   
>   
>   
> 
> ----------------------------------------------------------------------
> In case of troubles, e-mail:     webmaster@xml.apache.org
> To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


=====
Davanum Srinivas, JNI-FAQ Manager
http://www.jGuru.com/faq/JNI

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices.
http://auctions.yahoo.com/

Mime
View raw message