[bvalid-codewatch] SF.net SVN: bvalid: [41] trunk
Status: Beta
Brought to you by:
cwilper
|
From: <cw...@us...> - 2006-05-11 21:34:14
|
Revision: 41 Author: cwilper Date: 2006-05-11 14:34:06 -0700 (Thu, 11 May 2006) ViewCVS: http://svn.sourceforge.net/bvalid/?rev=41&view=rev Log Message: ----------- more cleaning before release Modified Paths: -------------- trunk/README.txt trunk/src/doc/index.html trunk/src/doc/license/index.html trunk/src/doc/style.css Added Paths: ----------- trunk/src/doc/checkmark.png trunk/src/doc/license/sun-binary-servlet-license.txt Modified: trunk/README.txt =================================================================== --- trunk/README.txt 2006-05-11 17:32:28 UTC (rev 40) +++ trunk/README.txt 2006-05-11 21:34:06 UTC (rev 41) @@ -1,12 +1,11 @@ BValid XML Validation API + Version @bvalid.version@ Source Distribution - Version @bvalid.version@ + Written by Chris Wilper - http://bvalid.sf.net/ - Copyright (c) 2006, Cornell University +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Added: trunk/src/doc/checkmark.png =================================================================== (Binary files differ) Property changes on: trunk/src/doc/checkmark.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Modified: trunk/src/doc/index.html =================================================================== --- trunk/src/doc/index.html 2006-05-11 17:32:28 UTC (rev 40) +++ trunk/src/doc/index.html 2006-05-11 21:34:06 UTC (rev 41) @@ -9,34 +9,31 @@ </head> <body> -<div id="header"> - <div id="title"> - <h1>BValid XML Validation API<br/> - Version @bvalid.version@</h1> - </div> -</div> <div class="toc"> - <h2>Contents</h2> + <h1> + <img src="checkmark.png"/> + BValid @bvalid.version@ + </h1> <div class="tocbox"> <ol> - <li><a href="#intro">Introduction</a></li> - <li><a href="#license">License</a></li> - <li><a href="#inst">Downloading and Installing</a></li> + <li><a href="#intro">What is BValid?</a></li> + <li><a href="#inst">How to Download</a></li> <li><a href="#api">API Documentation</a></li> <li><a href="#cmdline">Command-Line Utility</a></li> - <li><a href="#issues">Known Issues</a></li> + <li><a href="#issues">Known Issues / Bugs</a></li> + <li><a href="#license">License Information</a></li> </ol> </div> </div> <div class="sec2"> - <h2><a name="intro">1. Introduction</a></h2> + <h2><a name="intro">1. What is BValid?</a></h2> <p> - BValid is a Java API designed for high-performance validation of XML documents. - It defines and implements several interfaces to make validation flexible - and consistent across schema languages. + BValid is a Java API designed for fast, easy-to-use validation of XML documents. + It defines and implements a couple high-level Java interfaces to make + the validation process simple, yet flexible. </p> <p> Distinguishing features: @@ -48,23 +45,9 @@ </p> </div> -<div class="sec2"> - <h2><a name="license">2. License</a></h2> - <p> -BValid is distributed under the Educational Community License (ECL), v1.0. -</p> -<p> -The distribution also includes several third-party, open-source libraries, each with -it's own license terms. -</p> -<p> -See the <a href="license/index.html">License Page</a> for specific terms of the -all relevant licenses. - </p> -</div> <div class="sec2"> - <h2><a name="inst">3. Downloading and Installing</a></h2> + <h2><a name="inst">2. How to Download</a></h2> <p> The latest distribution (source and binary) can be downloaded from <a href="http://www.sf.net/projects/bvalid">http://www.sf.net/projects/bvalid</a> @@ -74,21 +57,13 @@ <code>bvalid</code> <a href="#cmdline">command-line utility</a> right away. </p> <p> - To begin using bvalid in your own projects, you'll need the - following jars (included) in your CLASSPATH: - <ul> - <li> <b>bvalid.jar</b> - the BValid API</li> - <li> lib/<b>commons-httpclient-2.0.1.jar</b> - for resolving schemas via http</li> - <li> lib/<b>commons-logging.jar</b> - for logging (required by commons-httpclient)</li> - <li> lib/<b>log4j-1.2.8.jar</b> - for logging</li> - <li> lib/<b>xercesImpl.jar</b> - for XML parsing and XSD validation</li> - <li> lib/<b>xml-apis.jar</b> - for XML parsing</li> - </ul> + To begin using bvalid in your own projects, you'll need the required + jars (included in the lib/ directory) in your CLASSPATH. </p> </div> <div class="sec2"> - <h2><a name="api">4. API Documentation</a></h2> + <h2><a name="api">3. API Documentation</a></h2> <p> The main interface you work with is the <a href="api/net/sf/bvalid/Validator.html">Validator</a>. Once you have obtained an instance from the <a href="api/net/sf/bvalid/ValidatorFactory.html">ValidatorFactory</a>, you can use it to validate any number of XML documents from any number of concurrent threads. </p> @@ -185,7 +160,7 @@ </div> <div class="sec2"> - <h2><a name="cmdline">5. Command-Line Utility</a></h2> + <h2><a name="cmdline">4. Command-Line Utility</a></h2> <p> The <code>bvalid</code> command-line utility is a simple application of the API that can be used to validate a single XML document at a time. @@ -225,7 +200,7 @@ </div> <div class="sec2"> - <h2><a name="issues">6. Known Issues</a></h2> + <h2><a name="issues">5. Known Issues / Bugs</a></h2> <ul> <li> The present version only performs <a href="http://www.w3.org/XML/Schema">W3C Schema</a> validation. Future @@ -238,6 +213,21 @@ </ul> </div> +<div class="sec2"> + <h2><a name="license">6. License Information</a></h2> + <p> +BValid is distributed under the Educational Community License (ECL), v1.0. +</p> +<p> +The distribution also includes several third-party, open-source libraries, each with +it's own license terms. +</p> +<p> +See the <a href="license/index.html">License Information Page</a> for specific terms of +all relevant licenses. + </p> +</div> + <div id="footer"> <div id="copyright"> Copyright © 2006, Cornell University Modified: trunk/src/doc/license/index.html =================================================================== --- trunk/src/doc/license/index.html 2006-05-11 17:32:28 UTC (rev 40) +++ trunk/src/doc/license/index.html 2006-05-11 21:34:06 UTC (rev 41) @@ -7,24 +7,20 @@ <title>BValid License Information</title> <link rel="stylesheet" type="text/css" href="../style.css" /> <style type="text/css"> - ol li { font-weight: bold; } - .copyright { font-weight: normal; margin-left: 10px; margin-right: 10px; } - .license { background-color: #e0e0e0; font-weight: normal; margin-left: 10px; margin-right: 10px; } - ol .license { white-space: normal; margin-top: 5px; @@ -41,24 +37,39 @@ </head> <body> - <center> - <h2 style="border:none;">BValid XML Validation API</h2> - <p> - Copyright © 2006, Cornell University. - </p> - <p> - Licensed under the <a href="ecl-1.0.txt">Educational Community License 1.0</a> - </p> - <p> - Use of this software indicates your acceptance of the terms of this license. - </p> - <p>This product includes software developed by the Apache Software Foundation - (http://www.apache.org/).</p> - </center> +<div class="toc"> + <h1>BValid License Information</h1> + <div class="tocbox"> - <h2>Third-Party Packages</h2> + <ul> + <li><a href="#this">Original Work</a></li> + <li><a href="#inc">Included Software</a></li> + <li><a href="#add">Optional Software</a></li> + <li><a href="#req">Additional Required Attributions</a></li> + </ul> + </div> +</div> + + <h2><a name="this">Original Work</a></h2> <ol> + <li>BValid XML Validation API + <div class="copyright"> + Written by Chris Wilper, Copyright © 2006, Cornell University + </div> + <div class="license"> + Licensed under the <a href="ecl-1.0.txt">Educational Community License 1.0</a><br/> + USE OF THIS SOFTWARE INDICATES YOUR ACCEPTANCE OF THE TERMS OF THIS LICENSE. + </div> + </li> + </ol> + + <h2><a name="inc">Included Software</a></h2> + <p> + The following software is included with BValid and is instrumental + to its operation. + </p> + <ol> <li>Apache Jakarta Commons HttpClient <div class="copyright"> Copyright © 1999-2004 The Apache Software Foundation. @@ -95,15 +106,6 @@ </div> </li> - <li>Jetty HTTP Server - <div class="copyright"> - Copyright © Mort Bay Consulting Pty. Ltd. - </div> - <div class="license"> - Licensed under the <a href="asl-2.0.txt">Apache Software License 2.0.</a> - </div> - </li> - <li>Jing RELAX NG Validator <div class="copyright"> Copyright © 2001-2003 Thai Open Source Software Center Ltd. @@ -112,14 +114,6 @@ Licensed under the <a href="jing-license.html">Jing License</a> </div> </li> - <li>JUnit - <div class="copyright"> - Copyright © 2001-2006 JUnit.org - </div> - <div class="license"> - Licensed under the <a href="cpl-1.0.txt">Common Public License 1.0.</a> - </div> - </li> <li>SAXON XSLT Processor from Michael Kay <div class="copyright"> Copyright © 2001 by Michael Kay.<br/> @@ -141,7 +135,55 @@ Licensed under the <a href="schematron-license.txt">Schematron License</a>. </div> </li> -</ol> - + </ol> + + <h2><a name="add">Optional Software</a></h2> + <p> + The following software is used exclusively for testing / compiling BValid and + is included with the source distribution for convenience only. + </p> + <ol> + <li>Jasper 2 JSP Engine + <div class="copyright"> + Copyright © 1999-2004 The Apache Software Foundation. + All rights reserved. + </div> + <div class="license"> + Licensed under the <a href="asl-2.0.txt">Apache Software License 2.0.</a> + </div> + </li> + <li>Jetty HTTP Server + <div class="copyright"> + Copyright © Mort Bay Consulting Pty. Ltd. + </div> + <div class="license"> + Licensed under the <a href="asl-2.0.txt">Apache Software License 2.0.</a> + </div> + </li> + <li>JUnit + <div class="copyright"> + Copyright © 2001-2006 JUnit.org + </div> + <div class="license"> + Licensed under the <a href="cpl-1.0.txt">Common Public License 1.0.</a> + </div> + </li> + <li>Java™ Servlet API Specification Interface Classes 2.3 + <div class="copyright"> + Copyright © 1994-2006 Sun Microsystems, Inc. + </div> + <div class="license"> + Licensed under the <a href="sun-binary-servlet-license.txt">Sun Binary Code License (with supplemental terms)</a> + </div> + </li> + </ol> + + <h2><a name="req">Additional Required Attributions</a></h2> + <ol> + <li> This product includes software developed by the Apache Software Foundation + (http://www.apache.org/).</li> + </ol> + + </body> </html> Added: trunk/src/doc/license/sun-binary-servlet-license.txt =================================================================== --- trunk/src/doc/license/sun-binary-servlet-license.txt (rev 0) +++ trunk/src/doc/license/sun-binary-servlet-license.txt 2006-05-11 21:34:06 UTC (rev 41) @@ -0,0 +1,237 @@ + Sun Microsystems, Inc. + Binary Code License Agreement + + READ THE TERMS OF THIS AGREEMENT AND ANY PROVIDED + SUPPLEMENTAL LICENSE TERMS (COLLECTIVELY + "AGREEMENT") CAREFULLY BEFORE OPENING THE SOFTWARE + MEDIA PACKAGE. BY OPENING THE SOFTWARE MEDIA + PACKAGE, YOU AGREE TO THE TERMS OF THIS + AGREEMENT. IF YOU ARE ACCESSING THE SOFTWARE + ELECTRONICALLY, INDICATE YOUR ACCEPTANCE OF THESE + TERMS BY SELECTING THE "ACCEPT" BUTTON AT THE END + OF THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL + THESE TERMS, PROMPTLY RETURN THE UNUSED SOFTWARE + TO YOUR PLACE OF PURCHASE FOR A REFUND OR, IF THE + SOFTWARE IS ACCESSED ELECTRONICALLY, SELECT THE + "DECLINE" BUTTON AT THE END OF THIS AGREEMENT. + + 1. LICENSE TO USE. Sun grants you a + non-exclusive and non-transferable license for the + internal use only of the accompanying software and + documentation and any error corrections provided + by Sun (collectively "Software"), by the number of + users and the class of computer hardware for which + the corresponding fee has been paid. + + 2. RESTRICTIONS. Software is confidential and + copyrighted. Title to Software and all associated + intellectual property rights is retained by Sun + and/or its licensors. Except as specifically + authorized in any Supplemental License Terms, you + may not make copies of Software, other than a + single copy of Software for archival purposes. + Unless enforcement is prohibited by applicable + law, you may not modify, decompile, or reverse + engineer Software. You acknowledge that Software + is not designed, licensed or intended for use in + the design, construction, operation or maintenance + of any nuclear facility. Sun disclaims any + express or implied warranty of fitness for such + uses. No right, title or interest in or to any + trademark, service mark, logo or trade name of Sun + or its licensors is granted under this Agreement. + + 3. LIMITED WARRANTY. Sun warrants to you that for + a period of ninety (90) days from the date of + purchase, as evidenced by a copy of the receipt, + the media on which Software is furnished (if any) + will be free of defects in materials and + workmanship under normal use. Except for the + foregoing, Software is provided "AS IS". Your + exclusive remedy and Sun's entire liability under + this limited warranty will be at Sun's option to + replace Software media or refund the fee paid for + Software. + + 4. DISCLAIMER OF WARRANTY. UNLESS SPECIFIED IN + THIS AGREEMENT, ALL EXPRESS OR IMPLIED CONDITIONS, + REPRESENTATIONS AND WARRANTIES, INCLUDING ANY + IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A + PARTICULAR PURPOSE OR NON-INFRINGEMENT ARE + DISCLAIMED, EXCEPT TO THE EXTENT THAT THESE + DISCLAIMERS ARE HELD TO BE LEGALLY INVALID. + + 5. LIMITATION OF LIABILITY. TO THE EXTENT NOT + PROHIBITED BY LAW, IN NO EVENT WILL SUN OR ITS + LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT + OR DATA, OR FOR SPECIAL, INDIRECT, CONSEQUENTIAL, + INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER CAUSED + REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT + OF OR RELATED TO THE USE OF OR INABILITY TO USE + SOFTWARE, EVEN IF SUN HAS BEEN ADVISED OF THE + POSSIBILITY OF SUCH DAMAGES. In no event will + Sun's liability to you, whether in contract, tort + (including negligence), or otherwise, exceed the + amount paid by you for Software under this + Agreement. The foregoing limitations will apply + even if the above stated warranty fails of its + essential purpose. + + 6. Termination. This Agreement is effective + until terminated. You may terminate this + Agreement at any time by destroying all copies of + Software. This Agreement will terminate + immediately without notice from Sun if you fail to + comply with any provision of this Agreement. Upon + Termination, you must destroy all copies of + Software. + + 7. Export Regulations. All Software and technical + data delivered under this Agreement are subject to + US export control laws and may be subject to + export or import regulations in other countries. + You agree to comply strictly with all such laws + and regulations and acknowledge that you have the + responsibility to obtain such licenses to export, + re-export, or import as may be required after + delivery to you. + + 8. U.S. Government Restricted Rights. If + Software is being acquired by or on behalf of the + U.S. Government or by a U.S. Government prime + contractor or subcontractor (at any tier), then + the Government's rights in Software and + accompanying documentation will be only as set + forth in this Agreement; this is in accordance + with 48 CFR 227.7201 through 227.7202-4 (for + Department of Defense (DOD) acquisitions) and with + 48 CFR 2.101 and 12.212 (for non-DOD + acquisitions). + + 9. Governing Law. Any action related to this + Agreement will be governed by California law and + controlling U.S. federal law. No choice of law + rules of any jurisdiction will apply. + + 10. Severability. If any provision of this + Agreement is held to be unenforceable, this + Agreement will remain in effect with the provision + omitted, unless omission would frustrate the + intent of the parties, in which case this + Agreement will immediately terminate. + + 11. Integration. This Agreement is the entire + agreement between you and Sun relating to its + subject matter. It supersedes all prior or + contemporaneous oral or written communications, + proposals, representations and warranties and + prevails over any conflicting or additional terms + of any quote, order, acknowledgment, or other + communication between the parties relating to its + subject matter during the term of this Agreement. + No modification of this Agreement will be binding, + unless in writing and signed by an authorized + representative of each party. + + JAVA^(TM) INTERFACE CLASSES + JAVASERVLET, VERSION 2.3 + SUPPLEMENTAL LICENSE TERMS + + These supplemental license terms ("Supplemental + Terms") add to or modify the terms of the Binary + Code License Agreement (collectively, the + "Agreement"). Capitalized terms not defined in + these Supplemental Terms shall have the same + meanings ascribed to them in the Agreement. These + Supplemental Terms shall supersede any + inconsistent or conflicting terms in the + Agreement, or in any license contained within the + Software. + + 1. Software Internal Use and Development License + Grant. Subject to the terms and conditions of this + Agreement, including, but not limited to Section 3 + (Java(TM) Technology Restrictions) of these + Supplemental Terms, Sun grants you a + non-exclusive, non-transferable, limited license + to reproduce internally and use internally the + binary form of the Software, complete and + unmodified, for the sole purpose of designing, + developing and testing your Java applets and + applications ("Programs"). + + 2. License to Distribute Software. In addition to + the license granted in Section 1 (Software + Internal Use and Development License Grant) of + these Supplemental Terms, subject to the terms and + conditions of this Agreement, including but not + limited to Section 3 (Java Technology + Restrictions), Sun grants you a non-exclusive, + non-transferable, limited license to reproduce and + distribute the Software in binary form only, + provided that you (i) distribute the Software + complete and unmodified and only bundled as part + of your Programs, (ii) do not distribute + additional software intended to replace any + component(s) of the Software, (iii) do not remove + or alter any proprietary legends or notices + contained in the Software, (iv) only distribute + the Software subject to a license agreement that + protects Sun's interests consistent with the terms + contained in this Agreement, and (v) agree to + defend and indemnify Sun and its licensors from + and against any damages, costs, liabilities, + settlement amounts and/or expenses (including + attorneys' fees) incurred in connection with any + claim, lawsuit or action by any third party that + arises or results from the use or distribution of + any and all Programs and/or Software. + + 3. Java Technology Restrictions. You may not + modify the Java Platform Interface ("JPI", + identified as classes contained within the "java" + package or any subpackages of the "java" package), + by creating additional classes within the JPI or + otherwise causing the addition to or modification + of the classes in the JPI. In the event that you + create an additional class and associated API(s) + which (i) extends the functionality of the Java + Platform, and (ii) is exposed to third party + software developers for the purpose of developing + additional software which invokes such additional + API, you must promptly publish broadly an accurate + specification for such API for free use by all + developers. You may not create, or authorize your + licensees to create additional classes, + interfaces, or subpackages that are in any way + identified as "java", "javax", "sun" or similar + convention as specified by Sun in any naming + convention designation. + + 4. Trademarks and Logos. You acknowledge and agree + as between you and Sun that Sun owns the SUN, + SOLARIS, JAVA, JINI, FORTE, and iPLANET trademarks + and all SUN, SOLARIS, JAVA, JINI, FORTE, and + iPLANET-related trademarks, service marks, logos + and other brand designations ("Sun Marks"), and + you agree to comply with the Sun Trademark and + Logo Usage Requirements currently located at + http://www.sun.com/policies/trademarks. Any use + you make of the Sun Marks inures to Sun's benefit. + + 5. Source Code. Software may contain source code + that is provided solely for reference purposes + pursuant to the terms of this Agreement. Source + code may not be redistributed unless expressly + provided for in this Agreement. + + 6. Termination for Infringement. Either party + may terminate this Agreement immediately should + any Software become, or in either party's opinion + be likely to become, the subject of a claim of + infringement of any intellectual property right. + + For inquiries please contact: Sun Microsystems, + Inc. 901 San Antonio Road, Palo Alto, California + 94303 + (LFI#95907/Form ID#011801) Modified: trunk/src/doc/style.css =================================================================== --- trunk/src/doc/style.css 2006-05-11 17:32:28 UTC (rev 40) +++ trunk/src/doc/style.css 2006-05-11 21:34:06 UTC (rev 41) @@ -6,7 +6,7 @@ background-color: #ffffff; margin: 20px; font-family: Arial, Helvetica, sans-serif; - font-size: 12pt; + font-size: 10pt; line-height: 15pt; color: #000000; } @@ -95,11 +95,18 @@ float: right; } +h1 { + color: darkblue; + margin-top: 36px; + margin-bottom: 4px; + border-bottom: solid 3px #000000; +} + h2, h3 { color: darkblue; margin-top: 36px; margin-bottom: 4px; - border-bottom: dashed 1px #000000; + border-bottom: solid 1px #000000; } h4, h5 { @@ -111,11 +118,10 @@ h1 { font-size: 18pt; - line-height: 110%; } h2 { - font-size: 18pt; + font-size: 16pt; } h3 { @@ -130,7 +136,7 @@ font-size: 12pt; } -h2, h3, h4, h5 { +h1, h2, h3, h4, h5 { padding-top: 4px; padding-bottom: 4px; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |