You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by le...@locus.apache.org on 2000/06/03 01:42:23 UTC
cvs commit: xml-xerces/java/src/javax/xml/parsers DocumentBuilder.java DocumentBuilderFactory.java FactoryConfigurationError.java ParserConfigurationException.java SAXParser.java SAXParserFactory.java package.html
lehors 00/06/02 16:42:22
Modified: java/src/javax/xml/parsers DocumentBuilder.java
DocumentBuilderFactory.java
FactoryConfigurationError.java
ParserConfigurationException.java SAXParser.java
SAXParserFactory.java package.html
Log:
changed copyright to Apache for incorporation to Xerces,
based on James Duncan authorization.
See http://xml-archive.webweaving.org/xml-archive-xerces-j-dev/0545.html
Revision Changes Path
1.2 +61 -34 xml-xerces/java/src/javax/xml/parsers/DocumentBuilder.java
Index: DocumentBuilder.java
===================================================================
RCS file: /home/cvs/xml-xerces/java/src/javax/xml/parsers/DocumentBuilder.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- DocumentBuilder.java 2000/02/26 05:56:30 1.1
+++ DocumentBuilder.java 2000/06/02 23:42:21 1.2
@@ -1,32 +1,60 @@
-/******************************************************************************
- * Copyright (C) 1999-2000, Pierpaolo Fumagalli <ma...@betaversion.org> *
- * *
- * Redistribution and use in source and/or in binary forms, with or without *
- * modification are hereby permitted provided that the above copyright notice *
- * the following disclaimers, and this paragraph are not altered. *
- * *
- * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTIES, *
- * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY *
- * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE *
- * AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, *
- * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF *
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS *
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN *
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) *
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE *
- * POSSIBILITY OF SUCH DAMAGE. *
- * *
- * ATTENTION: *
- * THIS IMPLEMENTATION OF THE "JAVAX.XML.PARSER" CLASSES IS PROVIDED *
- * FOR EXPERIMENTAL PURPOSES ONLY AND IS NOT THE OFFICIAL REFERENCE *
- * IMPLEMENTATION OF THE JAVA SPECIFICATION REQUEST 5 FOUND AT: *
- * <http://java.sun.com/aboutJava/communityprocess/jsr/jsr_005_xml.html> *
- * *
- * THIS IMPLEMENTATION IS CONFORMANT TO THE "JAVA API FOR XML PARSING" *
- * SPECIFICATION VERSION 1.0 PUBLIC RELEASE 1 BY JAMES DUNCAN DAVIDSON *
- * ET AL. PUBLISHED BY SUN MICROSYSTEMS ON FEB. 18, 2000 AND FOUND AT: *
- * <http://java.sun.com/xml> *
- ******************************************************************************/
+/*
+ * The Apache Software License, Version 1.1
+ *
+ *
+ * Copyright (c) 2000 The Apache Software Foundation. All rights
+ * reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in
+ * the documentation and/or other materials provided with the
+ * distribution.
+ *
+ * 3. The end-user documentation included with the redistribution,
+ * if any, must include the following acknowledgment:
+ * "This product includes software developed by the
+ * Apache Software Foundation (http://www.apache.org/)."
+ * Alternately, this acknowledgment may appear in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The names "Xerces" and "Apache Software Foundation" must
+ * not be used to endorse or promote products derived from this
+ * software without prior written permission. For written
+ * permission, please contact apache@apache.org.
+ *
+ * 5. Products derived from this software may not be called "Apache",
+ * nor may "Apache" appear in their name, without prior written
+ * permission of the Apache Software Foundation.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
+ * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+ * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ * ====================================================================
+ *
+ * This software consists of voluntary contributions made by many
+ * individuals on behalf of the Apache Software Foundation and was
+ * originally based on software copyright (c) 1999-2000, Pierpaolo
+ * Fumagalli <ma...@betaversion.org>, http://www.apache.org.
+ * For more information on the Apache Software Foundation, please see
+ * <http://www.apache.org/>.
+ */
+
package javax.xml.parsers;
import java.io.File;
@@ -56,8 +84,8 @@
* <br>
* <br>
* <b>ATTENTION:</b> THIS IMPLEMENTATION OF THE "JAVAX.XML.PARSER" CLASSES
- * IS PROVIDED FOR EXPERIMENTAL PURPOSES ONLY AND IS NOT THE OFFICIAL
- * REFERENCE IMPLEMENTATION OF THE JAVA SPECIFICATION REQUEST 5 FOUND AT
+ * IS NOT THE OFFICIAL REFERENCE IMPLEMENTATION OF THE JAVA SPECIFICATION
+ * REQUEST 5 FOUND AT
* <a href="http://java.sun.com/aboutJava/communityprocess/jsr/jsr_005_xml.html">
* http://java.sun.com/aboutJava/communityprocess/jsr/jsr_005_xml.html
* </a><br>
@@ -79,9 +107,8 @@
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* @author <a href="pier@betaversion.org">Pierpaolo Fumagalli</a>
- * @author Copyright © 1999-2000, Pierpaolo Fumagalli
- * <a href="mailto:pier@betaversion.org">pier@betaversion.org</a>
- * @version 1.0 CVS $Revision: 1.1 $ $Date: 2000/02/26 05:56:30 $
+ * @author Copyright © 2000 The Apache Software Foundation.
+ * @version 1.0 CVS $Revision: 1.2 $ $Date: 2000/06/02 23:42:21 $
*/
public abstract class DocumentBuilder {
1.4 +61 -34 xml-xerces/java/src/javax/xml/parsers/DocumentBuilderFactory.java
Index: DocumentBuilderFactory.java
===================================================================
RCS file: /home/cvs/xml-xerces/java/src/javax/xml/parsers/DocumentBuilderFactory.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- DocumentBuilderFactory.java 2000/03/17 11:06:01 1.3
+++ DocumentBuilderFactory.java 2000/06/02 23:42:21 1.4
@@ -1,32 +1,60 @@
-/******************************************************************************
- * Copyright (C) 1999-2000, Pierpaolo Fumagalli <ma...@betaversion.org> *
- * *
- * Redistribution and use in source and/or in binary forms, with or without *
- * modification are hereby permitted provided that the above copyright notice *
- * the following disclaimers, and this paragraph are not altered. *
- * *
- * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTIES, *
- * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY *
- * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE *
- * AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, *
- * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF *
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS *
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN *
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) *
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE *
- * POSSIBILITY OF SUCH DAMAGE. *
- * *
- * ATTENTION: *
- * THIS IMPLEMENTATION OF THE "JAVAX.XML.PARSER" CLASSES IS PROVIDED *
- * FOR EXPERIMENTAL PURPOSES ONLY AND IS NOT THE OFFICIAL REFERENCE *
- * IMPLEMENTATION OF THE JAVA SPECIFICATION REQUEST 5 FOUND AT: *
- * <http://java.sun.com/aboutJava/communityprocess/jsr/jsr_005_xml.html> *
- * *
- * THIS IMPLEMENTATION IS CONFORMANT TO THE "JAVA API FOR XML PARSING" *
- * SPECIFICATION VERSION 1.0 PUBLIC RELEASE 1 BY JAMES DUNCAN DAVIDSON *
- * ET AL. PUBLISHED BY SUN MICROSYSTEMS ON FEB. 18, 2000 AND FOUND AT: *
- * <http://java.sun.com/xml> *
- ******************************************************************************/
+/*
+ * The Apache Software License, Version 1.1
+ *
+ *
+ * Copyright (c) 2000 The Apache Software Foundation. All rights
+ * reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in
+ * the documentation and/or other materials provided with the
+ * distribution.
+ *
+ * 3. The end-user documentation included with the redistribution,
+ * if any, must include the following acknowledgment:
+ * "This product includes software developed by the
+ * Apache Software Foundation (http://www.apache.org/)."
+ * Alternately, this acknowledgment may appear in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The names "Xerces" and "Apache Software Foundation" must
+ * not be used to endorse or promote products derived from this
+ * software without prior written permission. For written
+ * permission, please contact apache@apache.org.
+ *
+ * 5. Products derived from this software may not be called "Apache",
+ * nor may "Apache" appear in their name, without prior written
+ * permission of the Apache Software Foundation.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
+ * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+ * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ * ====================================================================
+ *
+ * This software consists of voluntary contributions made by many
+ * individuals on behalf of the Apache Software Foundation and was
+ * originally based on software copyright (c) 1999-2000, Pierpaolo
+ * Fumagalli <ma...@betaversion.org>, http://www.apache.org.
+ * For more information on the Apache Software Foundation, please see
+ * <http://www.apache.org/>.
+ */
+
package javax.xml.parsers;
/**
@@ -36,8 +64,8 @@
* <br>
* <br>
* <b>ATTENTION:</b> THIS IMPLEMENTATION OF THE "JAVAX.XML.PARSER" CLASSES
- * IS PROVIDED FOR EXPERIMENTAL PURPOSES ONLY AND IS NOT THE OFFICIAL
- * REFERENCE IMPLEMENTATION OF THE JAVA SPECIFICATION REQUEST 5 FOUND AT
+ * IS NOT THE OFFICIAL REFERENCE IMPLEMENTATION OF THE JAVA SPECIFICATION
+ * REQUEST 5 FOUND AT
* <a href="http://java.sun.com/aboutJava/communityprocess/jsr/jsr_005_xml.html">
* http://java.sun.com/aboutJava/communityprocess/jsr/jsr_005_xml.html
* </a><br>
@@ -59,9 +87,8 @@
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* @author <a href="pier@betaversion.org">Pierpaolo Fumagalli</a>
- * @author Copyright © 1999-2000, Pierpaolo Fumagalli
- * <a href="mailto:pier@betaversion.org">pier@betaversion.org</a>
- * @version 1.0 CVS $Revision: 1.3 $ $Date: 2000/03/17 11:06:01 $
+ * @author Copyright © 2000 The Apache Software Foundation.
+ * @version 1.0 CVS $Revision: 1.4 $ $Date: 2000/06/02 23:42:21 $
*/
public abstract class DocumentBuilderFactory {
1.2 +61 -34 xml-xerces/java/src/javax/xml/parsers/FactoryConfigurationError.java
Index: FactoryConfigurationError.java
===================================================================
RCS file: /home/cvs/xml-xerces/java/src/javax/xml/parsers/FactoryConfigurationError.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- FactoryConfigurationError.java 2000/02/26 05:56:30 1.1
+++ FactoryConfigurationError.java 2000/06/02 23:42:21 1.2
@@ -1,32 +1,60 @@
-/******************************************************************************
- * Copyright (C) 1999-2000, Pierpaolo Fumagalli <ma...@betaversion.org> *
- * *
- * Redistribution and use in source and/or in binary forms, with or without *
- * modification are hereby permitted provided that the above copyright notice *
- * the following disclaimers, and this paragraph are not altered. *
- * *
- * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTIES, *
- * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY *
- * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE *
- * AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, *
- * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF *
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS *
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN *
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) *
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE *
- * POSSIBILITY OF SUCH DAMAGE. *
- * *
- * ATTENTION: *
- * THIS IMPLEMENTATION OF THE "JAVAX.XML.PARSER" CLASSES IS PROVIDED *
- * FOR EXPERIMENTAL PURPOSES ONLY AND IS NOT THE OFFICIAL REFERENCE *
- * IMPLEMENTATION OF THE JAVA SPECIFICATION REQUEST 5 FOUND AT: *
- * <http://java.sun.com/aboutJava/communityprocess/jsr/jsr_005_xml.html> *
- * *
- * THIS IMPLEMENTATION IS CONFORMANT TO THE "JAVA API FOR XML PARSING" *
- * SPECIFICATION VERSION 1.0 PUBLIC RELEASE 1 BY JAMES DUNCAN DAVIDSON *
- * ET AL. PUBLISHED BY SUN MICROSYSTEMS ON FEB. 18, 2000 AND FOUND AT: *
- * <http://java.sun.com/xml> *
- ******************************************************************************/
+/*
+ * The Apache Software License, Version 1.1
+ *
+ *
+ * Copyright (c) 2000 The Apache Software Foundation. All rights
+ * reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in
+ * the documentation and/or other materials provided with the
+ * distribution.
+ *
+ * 3. The end-user documentation included with the redistribution,
+ * if any, must include the following acknowledgment:
+ * "This product includes software developed by the
+ * Apache Software Foundation (http://www.apache.org/)."
+ * Alternately, this acknowledgment may appear in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The names "Xerces" and "Apache Software Foundation" must
+ * not be used to endorse or promote products derived from this
+ * software without prior written permission. For written
+ * permission, please contact apache@apache.org.
+ *
+ * 5. Products derived from this software may not be called "Apache",
+ * nor may "Apache" appear in their name, without prior written
+ * permission of the Apache Software Foundation.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
+ * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+ * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ * ====================================================================
+ *
+ * This software consists of voluntary contributions made by many
+ * individuals on behalf of the Apache Software Foundation and was
+ * originally based on software copyright (c) 1999-2000, Pierpaolo
+ * Fumagalli <ma...@betaversion.org>, http://www.apache.org.
+ * For more information on the Apache Software Foundation, please see
+ * <http://www.apache.org/>.
+ */
+
package javax.xml.parsers;
/**
@@ -42,8 +70,8 @@
* <br>
* <br>
* <b>ATTENTION:</b> THIS IMPLEMENTATION OF THE "JAVAX.XML.PARSER" CLASSES
- * IS PROVIDED FOR EXPERIMENTAL PURPOSES ONLY AND IS NOT THE OFFICIAL
- * REFERENCE IMPLEMENTATION OF THE JAVA SPECIFICATION REQUEST 5 FOUND AT
+ * IS NOT THE OFFICIAL REFERENCE IMPLEMENTATION OF THE JAVA SPECIFICATION
+ * REQUEST 5 FOUND AT
* <a href="http://java.sun.com/aboutJava/communityprocess/jsr/jsr_005_xml.html">
* http://java.sun.com/aboutJava/communityprocess/jsr/jsr_005_xml.html
* </a><br>
@@ -65,9 +93,8 @@
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* @author <a href="pier@betaversion.org">Pierpaolo Fumagalli</a>
- * @author Copyright © 1999-2000, Pierpaolo Fumagalli
- * <a href="mailto:pier@betaversion.org">pier@betaversion.org</a>
- * @version 1.0 CVS $Revision: 1.1 $ $Date: 2000/02/26 05:56:30 $
+ * @author Copyright © 2000 The Apache Software Foundation.
+ * @version 1.0 CVS $Revision: 1.2 $ $Date: 2000/06/02 23:42:21 $
*/
public class FactoryConfigurationError extends Error {
1.2 +61 -34 xml-xerces/java/src/javax/xml/parsers/ParserConfigurationException.java
Index: ParserConfigurationException.java
===================================================================
RCS file: /home/cvs/xml-xerces/java/src/javax/xml/parsers/ParserConfigurationException.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ParserConfigurationException.java 2000/02/26 05:56:30 1.1
+++ ParserConfigurationException.java 2000/06/02 23:42:21 1.2
@@ -1,32 +1,60 @@
-/******************************************************************************
- * Copyright (C) 1999-2000, Pierpaolo Fumagalli <ma...@betaversion.org> *
- * *
- * Redistribution and use in source and/or in binary forms, with or without *
- * modification are hereby permitted provided that the above copyright notice *
- * the following disclaimers, and this paragraph are not altered. *
- * *
- * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTIES, *
- * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY *
- * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE *
- * AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, *
- * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF *
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS *
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN *
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) *
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE *
- * POSSIBILITY OF SUCH DAMAGE. *
- * *
- * ATTENTION: *
- * THIS IMPLEMENTATION OF THE "JAVAX.XML.PARSER" CLASSES IS PROVIDED *
- * FOR EXPERIMENTAL PURPOSES ONLY AND IS NOT THE OFFICIAL REFERENCE *
- * IMPLEMENTATION OF THE JAVA SPECIFICATION REQUEST 5 FOUND AT: *
- * <http://java.sun.com/aboutJava/communityprocess/jsr/jsr_005_xml.html> *
- * *
- * THIS IMPLEMENTATION IS CONFORMANT TO THE "JAVA API FOR XML PARSING" *
- * SPECIFICATION VERSION 1.0 PUBLIC RELEASE 1 BY JAMES DUNCAN DAVIDSON *
- * ET AL. PUBLISHED BY SUN MICROSYSTEMS ON FEB. 18, 2000 AND FOUND AT: *
- * <http://java.sun.com/xml> *
- ******************************************************************************/
+/*
+ * The Apache Software License, Version 1.1
+ *
+ *
+ * Copyright (c) 2000 The Apache Software Foundation. All rights
+ * reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in
+ * the documentation and/or other materials provided with the
+ * distribution.
+ *
+ * 3. The end-user documentation included with the redistribution,
+ * if any, must include the following acknowledgment:
+ * "This product includes software developed by the
+ * Apache Software Foundation (http://www.apache.org/)."
+ * Alternately, this acknowledgment may appear in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The names "Xerces" and "Apache Software Foundation" must
+ * not be used to endorse or promote products derived from this
+ * software without prior written permission. For written
+ * permission, please contact apache@apache.org.
+ *
+ * 5. Products derived from this software may not be called "Apache",
+ * nor may "Apache" appear in their name, without prior written
+ * permission of the Apache Software Foundation.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
+ * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+ * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ * ====================================================================
+ *
+ * This software consists of voluntary contributions made by many
+ * individuals on behalf of the Apache Software Foundation and was
+ * originally based on software copyright (c) 1999-2000, Pierpaolo
+ * Fumagalli <ma...@betaversion.org>, http://www.apache.org.
+ * For more information on the Apache Software Foundation, please see
+ * <http://www.apache.org/>.
+ */
+
package javax.xml.parsers;
/**
@@ -43,8 +71,8 @@
* <br>
* <br>
* <b>ATTENTION:</b> THIS IMPLEMENTATION OF THE "JAVAX.XML.PARSER" CLASSES
- * IS PROVIDED FOR EXPERIMENTAL PURPOSES ONLY AND IS NOT THE OFFICIAL
- * REFERENCE IMPLEMENTATION OF THE JAVA SPECIFICATION REQUEST 5 FOUND AT
+ * IS NOT THE OFFICIAL REFERENCE IMPLEMENTATION OF THE JAVA SPECIFICATION
+ * REQUEST 5 FOUND AT
* <a href="http://java.sun.com/aboutJava/communityprocess/jsr/jsr_005_xml.html">
* http://java.sun.com/aboutJava/communityprocess/jsr/jsr_005_xml.html
* </a><br>
@@ -66,9 +94,8 @@
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* @author <a href="pier@betaversion.org">Pierpaolo Fumagalli</a>
- * @author Copyright © 1999-2000, Pierpaolo Fumagalli
- * <a href="mailto:pier@betaversion.org">pier@betaversion.org</a>
- * @version 1.0 CVS $Revision: 1.1 $ $Date: 2000/02/26 05:56:30 $
+ * @author Copyright © 2000 The Apache Software Foundation.
+ * @version 1.0 CVS $Revision: 1.2 $ $Date: 2000/06/02 23:42:21 $
*/
public class ParserConfigurationException extends Exception {
1.2 +63 -36 xml-xerces/java/src/javax/xml/parsers/SAXParser.java
Index: SAXParser.java
===================================================================
RCS file: /home/cvs/xml-xerces/java/src/javax/xml/parsers/SAXParser.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- SAXParser.java 2000/02/26 05:56:30 1.1
+++ SAXParser.java 2000/06/02 23:42:21 1.2
@@ -1,32 +1,60 @@
-/******************************************************************************
- * Copyright (C) 1999-2000, Pierpaolo Fumagalli <ma...@betaversion.org> *
- * *
- * Redistribution and use in source and/or in binary forms, with or without *
- * modification are hereby permitted provided that the above copyright notice *
- * the following disclaimers, and this paragraph are not altered. *
- * *
- * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTIES, *
- * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY *
- * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE *
- * AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, *
- * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF *
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS *
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN *
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) *
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE *
- * POSSIBILITY OF SUCH DAMAGE. *
- * *
- * ATTENTION: *
- * THIS IMPLEMENTATION OF THE "JAVAX.XML.PARSER" CLASSES IS PROVIDED *
- * FOR EXPERIMENTAL PURPOSES ONLY AND IS NOT THE OFFICIAL REFERENCE *
- * IMPLEMENTATION OF THE JAVA SPECIFICATION REQUEST 5 FOUND AT: *
- * <http://java.sun.com/aboutJava/communityprocess/jsr/jsr_005_xml.html> *
- * *
- * THIS IMPLEMENTATION IS CONFORMANT TO THE "JAVA API FOR XML PARSING" *
- * SPECIFICATION VERSION 1.0 PUBLIC RELEASE 1 BY JAMES DUNCAN DAVIDSON *
- * ET AL. PUBLISHED BY SUN MICROSYSTEMS ON FEB. 18, 2000 AND FOUND AT: *
- * <http://java.sun.com/xml> *
- ******************************************************************************/
+/*
+ * The Apache Software License, Version 1.1
+ *
+ *
+ * Copyright (c) 2000 The Apache Software Foundation. All rights
+ * reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in
+ * the documentation and/or other materials provided with the
+ * distribution.
+ *
+ * 3. The end-user documentation included with the redistribution,
+ * if any, must include the following acknowledgment:
+ * "This product includes software developed by the
+ * Apache Software Foundation (http://www.apache.org/)."
+ * Alternately, this acknowledgment may appear in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The names "Xerces" and "Apache Software Foundation" must
+ * not be used to endorse or promote products derived from this
+ * software without prior written permission. For written
+ * permission, please contact apache@apache.org.
+ *
+ * 5. Products derived from this software may not be called "Apache",
+ * nor may "Apache" appear in their name, without prior written
+ * permission of the Apache Software Foundation.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
+ * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+ * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ * ====================================================================
+ *
+ * This software consists of voluntary contributions made by many
+ * individuals on behalf of the Apache Software Foundation and was
+ * originally based on software copyright (c) 1999-2000, Pierpaolo
+ * Fumagalli <ma...@betaversion.org>, http://www.apache.org.
+ * For more information on the Apache Software Foundation, please see
+ * <http://www.apache.org/>.
+ */
+
package javax.xml.parsers;
import java.io.File;
@@ -49,8 +77,8 @@
* <br>
* <br>
* <b>ATTENTION:</b> THIS IMPLEMENTATION OF THE "JAVAX.XML.PARSER" CLASSES
- * IS PROVIDED FOR EXPERIMENTAL PURPOSES ONLY AND IS NOT THE OFFICIAL
- * REFERENCE IMPLEMENTATION OF THE JAVA SPECIFICATION REQUEST 5 FOUND AT
+ * IS NOT THE OFFICIAL REFERENCE IMPLEMENTATION OF THE JAVA SPECIFICATION
+ * REQUEST 5 FOUND AT
* <a href="http://java.sun.com/aboutJava/communityprocess/jsr/jsr_005_xml.html">
* http://java.sun.com/aboutJava/communityprocess/jsr/jsr_005_xml.html
* </a><br>
@@ -72,9 +100,8 @@
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* @author <a href="pier@betaversion.org">Pierpaolo Fumagalli</a>
- * @author Copyright © 1999-2000, Pierpaolo Fumagalli
- * <a href="mailto:pier@betaversion.org">pier@betaversion.org</a>
- * @version 1.0 CVS $Revision: 1.1 $ $Date: 2000/02/26 05:56:30 $
+ * @author Copyright © 2000 The Apache Software Foundation.
+ * @version 1.0 CVS $Revision: 1.2 $ $Date: 2000/06/02 23:42:21 $
*/
public abstract class SAXParser {
@@ -140,7 +167,7 @@
public void parse(File file, HandlerBase base)
throws SAXException, IOException, IllegalArgumentException {
if (file==null) throw new IllegalArgumentException();
- this.parse(new InputSource(file.getName()),base);
+ this.parse(new InputSource(file.toURL().toString()),base);
}
/**
@@ -194,4 +221,4 @@
* Returns whether or not this parser supports validating XML content.
*/
public abstract boolean isValidating();
-}
\ No newline at end of file
+}
1.4 +61 -34 xml-xerces/java/src/javax/xml/parsers/SAXParserFactory.java
Index: SAXParserFactory.java
===================================================================
RCS file: /home/cvs/xml-xerces/java/src/javax/xml/parsers/SAXParserFactory.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- SAXParserFactory.java 2000/03/17 11:06:01 1.3
+++ SAXParserFactory.java 2000/06/02 23:42:21 1.4
@@ -1,32 +1,60 @@
-/******************************************************************************
- * Copyright (C) 1999-2000, Pierpaolo Fumagalli <ma...@betaversion.org> *
- * *
- * Redistribution and use in source and/or in binary forms, with or without *
- * modification are hereby permitted provided that the above copyright notice *
- * the following disclaimers, and this paragraph are not altered. *
- * *
- * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTIES, *
- * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY *
- * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE *
- * AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, *
- * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF *
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS *
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN *
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) *
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE *
- * POSSIBILITY OF SUCH DAMAGE. *
- * *
- * ATTENTION: *
- * THIS IMPLEMENTATION OF THE "JAVAX.XML.PARSER" CLASSES IS PROVIDED *
- * FOR EXPERIMENTAL PURPOSES ONLY AND IS NOT THE OFFICIAL REFERENCE *
- * IMPLEMENTATION OF THE JAVA SPECIFICATION REQUEST 5 FOUND AT: *
- * <http://java.sun.com/aboutJava/communityprocess/jsr/jsr_005_xml.html> *
- * *
- * THIS IMPLEMENTATION IS CONFORMANT TO THE "JAVA API FOR XML PARSING" *
- * SPECIFICATION VERSION 1.0 PUBLIC RELEASE 1 BY JAMES DUNCAN DAVIDSON *
- * ET AL. PUBLISHED BY SUN MICROSYSTEMS ON FEB. 18, 2000 AND FOUND AT: *
- * <http://java.sun.com/xml> *
- ******************************************************************************/
+/*
+ * The Apache Software License, Version 1.1
+ *
+ *
+ * Copyright (c) 2000 The Apache Software Foundation. All rights
+ * reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in
+ * the documentation and/or other materials provided with the
+ * distribution.
+ *
+ * 3. The end-user documentation included with the redistribution,
+ * if any, must include the following acknowledgment:
+ * "This product includes software developed by the
+ * Apache Software Foundation (http://www.apache.org/)."
+ * Alternately, this acknowledgment may appear in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The names "Xerces" and "Apache Software Foundation" must
+ * not be used to endorse or promote products derived from this
+ * software without prior written permission. For written
+ * permission, please contact apache@apache.org.
+ *
+ * 5. Products derived from this software may not be called "Apache",
+ * nor may "Apache" appear in their name, without prior written
+ * permission of the Apache Software Foundation.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
+ * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+ * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ * ====================================================================
+ *
+ * This software consists of voluntary contributions made by many
+ * individuals on behalf of the Apache Software Foundation and was
+ * originally based on software copyright (c) 1999-2000, Pierpaolo
+ * Fumagalli <ma...@betaversion.org>, http://www.apache.org.
+ * For more information on the Apache Software Foundation, please see
+ * <http://www.apache.org/>.
+ */
+
package javax.xml.parsers;
import org.xml.sax.SAXException;
@@ -38,8 +66,8 @@
* <br>
* <br>
* <b>ATTENTION:</b> THIS IMPLEMENTATION OF THE "JAVAX.XML.PARSER" CLASSES
- * IS PROVIDED FOR EXPERIMENTAL PURPOSES ONLY AND IS NOT THE OFFICIAL
- * REFERENCE IMPLEMENTATION OF THE JAVA SPECIFICATION REQUEST 5 FOUND AT
+ * IS NOT THE OFFICIAL REFERENCE IMPLEMENTATION OF THE JAVA SPECIFICATION
+ * REQUEST 5 FOUND AT
* <a href="http://java.sun.com/aboutJava/communityprocess/jsr/jsr_005_xml.html">
* http://java.sun.com/aboutJava/communityprocess/jsr/jsr_005_xml.html
* </a><br>
@@ -61,9 +89,8 @@
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* @author <a href="pier@betaversion.org">Pierpaolo Fumagalli</a>
- * @author Copyright © 1999-2000, Pierpaolo Fumagalli
- * <a href="mailto:pier@betaversion.org">pier@betaversion.org</a>
- * @version 1.0 CVS $Revision: 1.3 $ $Date: 2000/03/17 11:06:01 $
+ * @author Copyright © 2000 The Apache Software Foundation.
+ * @version 1.0 CVS $Revision: 1.4 $ $Date: 2000/06/02 23:42:21 $
*/
public abstract class SAXParserFactory {
1.2 +9 -10 xml-xerces/java/src/javax/xml/parsers/package.html
Index: package.html
===================================================================
RCS file: /home/cvs/xml-xerces/java/src/javax/xml/parsers/package.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- package.html 2000/02/26 05:56:30 1.1
+++ package.html 2000/06/02 23:42:21 1.2
@@ -1,21 +1,20 @@
-<!-- CVS $Revision: 1.1 $ $Date: 2000/02/26 05:56:30 $ -->
+<!-- CVS $Revision: 1.2 $ $Date: 2000/06/02 23:42:21 $ -->
<html>
<body>
- This package a Plugability mechanism to allow a compliant SAX or DOM parser
- to be used indipendently by an application.
+ This package provides a Plugability mechanism to allow a compliant SAX or
+ DOM parser to be used indipendently by an application.
<dl>
- <dt><b>Version: </b><dd>1.0 CVS $Revision: 1.1 $ $Date: 2000/02/26 05:56:30 $</dd>
+ <dt><b>Version: </b><dd>1.0 CVS $Revision: 1.2 $ $Date: 2000/06/02 23:42:21 $</dd>
<dt><b>Author: </b>
<dd><a href="pier@betaversion.org">Pierpaolo Fumagalli</a></dd>
<dt><b>Copyright:</b>
- <dd>Copyright © 1999-2000, Pierpaolo Fumagalli
- <a href="mailto:pier@betaversion.org">pier@betaversion.org</a></dd>
+ <dd>Copyright © 2000 The Apache Software Foundation.</dd>
</dl>
- <b>ATTENTION:</b> THIS IMPLEMENTATION OF THE "JAVAX.XML.PARSER" CLASSES
- IS PROVIDED FOR EXPERIMENTAL PURPOSES ONLY AND IS NOT THE OFFICIAL
- REFERENCE IMPLEMENTATION OF THE JAVA SPECIFICATION REQUEST 5 FOUND AT
+ <b>ATTENTION:</b>THIS IMPLEMENTATION OF THE "JAVAX.XML.PARSER" CLASSES
+ IS NOT THE OFFICIAL REFERENCE IMPLEMENTATION OF THE JAVA SPECIFICATION
+ REQUEST 5 FOUND AT
<a href="http://java.sun.com/aboutJava/communityprocess/jsr/jsr_005_xml.html">
http://java.sun.com/aboutJava/communityprocess/jsr/jsr_005_xml.html
</a>
@@ -37,4 +36,4 @@
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
</body>
-</html>
\ No newline at end of file
+</html>