1.1 --- a/schema2beans/test/unit/src/TestMain.java Wed Oct 11 16:21:39 2006 +0000
1.2 +++ b/schema2beans/test/unit/src/TestMain.java Thu Oct 12 14:35:56 2006 +0000
1.3 @@ -192,6 +192,14 @@
1.4 generalTest("TestFinalWebApp", true, config);
1.5 }
1.6
1.7 + public void testBadNames() throws IOException, Schema2BeansException, InterruptedException {
1.8 + GenBeans.Config config = new GenBeans.Config();
1.9 + config.buyPremium();
1.10 + config.setGenerateCommonInterface(null);
1.11 + config.setOutputType(GenBeans.Config.OUTPUT_TRADITIONAL_BASEBEAN);
1.12 + generalTest("TestBadNames", true, config);
1.13 + }
1.14 +
1.15 public void testPositions() throws IOException, Schema2BeansException, InterruptedException {
1.16 GenBeans.Config config = new GenBeans.Config();
1.17 config.buyPremium();
1.18 @@ -288,7 +296,7 @@
1.19
1.20 ref("Compiling");
1.21 String cmd = "javac -nowarn -classpath "+workDir.toString()+File.pathSeparator+dataDir.toString()+File.pathSeparator+theClassPath+" "+dataDir.toString()+"/"+testName+".java";
1.22 - int result = runCommand(cmd);
1.23 + int result = runCommandToSystemOut(cmd);
1.24 ref("Finished compiling: "+result);
1.25
1.26 cmd = "java -classpath "+workDir.toString()+File.pathSeparator+dataDir.toString()+File.pathSeparator+theClassPath+" "+testName+" "+dataDir.toString()+"/";
1.27 @@ -376,7 +384,7 @@
1.28
1.29 ref("Compiling");
1.30 String cmd = "javac -nowarn -classpath "+workDir.toString()+File.pathSeparator+dataDir.toString()+File.pathSeparator+theClassPath+" "+dataDir.toString()+"/"+testName+".java";
1.31 - int result = runCommand(cmd);
1.32 + int result = runCommandToSystemOut(cmd);
1.33 ref("Finished compiling: "+result);
1.34
1.35 //runCommand("ls -l "+dataDir);
1.36 @@ -408,6 +416,13 @@
1.37 errThread.join(32000);
1.38 return result;
1.39 }
1.40 +
1.41 + private int runCommandToSystemOut(String cmd) throws java.io.IOException, java.lang.InterruptedException {
1.42 + System.out.println(cmd);
1.43 + Process proc = Runtime.getRuntime().exec(cmd);
1.44 + int result = proc.waitFor();
1.45 + return result;
1.46 + }
1.47
1.48 static class InputMonitor implements Runnable {
1.49 private String prefix;
2.1 --- a/schema2beans/test/unit/src/data/TestApplication1_4.xml Wed Oct 11 16:21:39 2006 +0000
2.2 +++ b/schema2beans/test/unit/src/data/TestApplication1_4.xml Thu Oct 12 14:35:56 2006 +0000
2.3 @@ -1,4 +1,22 @@
2.4 <?xml version='1.0' encoding='UTF-8' ?>
2.5 +<!--
2.6 +The contents of this file are subject to the terms of the Common Development
2.7 +and Distribution License (the License). You may not use this file except in
2.8 +compliance with the License.
2.9 +
2.10 +You can obtain a copy of the License at http://www.netbeans.org/cddl.html
2.11 +or http://www.netbeans.org/cddl.txt.
2.12 +
2.13 +When distributing Covered Code, include this CDDL Header Notice in each file
2.14 +and include the License file at http://www.netbeans.org/cddl.txt.
2.15 +If applicable, add the following below the CDDL Header, with the fields
2.16 +enclosed by brackets [] replaced by your own identifying information:
2.17 +"Portions Copyrighted [year] [name of copyright owner]"
2.18 +
2.19 +The Original Software is NetBeans. The Initial Developer of the Original
2.20 +Code is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
2.21 +Microsystems, Inc. All Rights Reserved.
2.22 +-->
2.23 <application xmlns='http://java.sun.com/xml/ns/j2ee' version='1.4'>
2.24 <display-name>test app</display-name>
2.25 <module>
3.1 --- a/schema2beans/test/unit/src/data/TestAttr.java Wed Oct 11 16:21:39 2006 +0000
3.2 +++ b/schema2beans/test/unit/src/data/TestAttr.java Thu Oct 12 14:35:56 2006 +0000
3.3 @@ -1,3 +1,21 @@
3.4 +/*
3.5 + * The contents of this file are subject to the terms of the Common Development
3.6 + * and Distribution License (the License). You may not use this file except in
3.7 + * compliance with the License.
3.8 + *
3.9 + * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
3.10 + * or http://www.netbeans.org/cddl.txt.
3.11 + *
3.12 + * When distributing Covered Code, include this CDDL Header Notice in each file
3.13 + * and include the License file at http://www.netbeans.org/cddl.txt.
3.14 + * If applicable, add the following below the CDDL Header, with the fields
3.15 + * enclosed by brackets [] replaced by your own identifying information:
3.16 + * "Portions Copyrighted [year] [name of copyright owner]"
3.17 + *
3.18 + * The Original Software is NetBeans. The Initial Developer of the Original
3.19 + * Code is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
3.20 + * Microsystems, Inc. All Rights Reserved.
3.21 + */
3.22 /*
3.23 * TestAttr - test the attribute features
3.24 *
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
4.2 +++ b/schema2beans/test/unit/src/data/TestBadNames.java Thu Oct 12 14:35:56 2006 +0000
4.3 @@ -0,0 +1,72 @@
4.4 +/*
4.5 + * The contents of this file are subject to the terms of the Common Development
4.6 + * and Distribution License (the License). You may not use this file except in
4.7 + * compliance with the License.
4.8 + *
4.9 + * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
4.10 + * or http://www.netbeans.org/cddl.txt.
4.11 + *
4.12 + * When distributing Covered Code, include this CDDL Header Notice in each file
4.13 + * and include the License file at http://www.netbeans.org/cddl.txt.
4.14 + * If applicable, add the following below the CDDL Header, with the fields
4.15 + * enclosed by brackets [] replaced by your own identifying information:
4.16 + * "Portions Copyrighted [year] [name of copyright owner]"
4.17 + *
4.18 + * The Original Software is NetBeans. The Initial Developer of the Original
4.19 + * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
4.20 + * Microsystems, Inc. All Rights Reserved.
4.21 + */
4.22 +
4.23 +/*
4.24 + * TestBadNames - test some bad names
4.25 + *
4.26 + */
4.27 +
4.28 +import java.io.*;
4.29 +import java.util.*;
4.30 +import org.w3c.dom.*;
4.31 +
4.32 +import badnames.*;
4.33 +
4.34 +
4.35 +public class TestBadNames extends BaseTest {
4.36 + public static void main(String[] argv) {
4.37 + TestBadNames o = new TestBadNames();
4.38 + if (argv.length > 0)
4.39 + o.setDocumentDir(argv[0]);
4.40 + try {
4.41 + o.run();
4.42 + } catch (Exception e) {
4.43 + e.printStackTrace();
4.44 + System.exit(1);
4.45 + }
4.46 + System.exit(0);
4.47 + }
4.48 +
4.49 + public void run() throws Exception {
4.50 + BadNames bn;
4.51 +
4.52 + this.readDocument();
4.53 +
4.54 + out("creating the bean graph");
4.55 + bn = BadNames.createGraph(doc);
4.56 +
4.57 + // Check that we can read the graph and it is complete
4.58 + out("bean graph created");
4.59 + bn.write(out);
4.60 +
4.61 + out(bn);
4.62 + out(bn.dumpBeanNode());
4.63 + ElT e = bn.getElT();
4.64 + // This ought not to be null, but is.
4.65 + out("e="+e);
4.66 +
4.67 + e = bn.newElT();
4.68 + bn.setElT(e);
4.69 + out(bn.dumpBeanNode());
4.70 + e.setProperty2(0);
4.71 + e.setPackage("5");
4.72 + e.setClass2("other c");
4.73 + bn.write(out);
4.74 + }
4.75 +}
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
5.2 +++ b/schema2beans/test/unit/src/data/TestBadNames.xml Thu Oct 12 14:35:56 2006 +0000
5.3 @@ -0,0 +1,24 @@
5.4 +<?xml version="1.0" ?>
5.5 +<!--
5.6 +The contents of this file are subject to the terms of the Common Development
5.7 +and Distribution License (the License). You may not use this file except in
5.8 +compliance with the License.
5.9 +
5.10 +You can obtain a copy of the License at http://www.netbeans.org/cddl.html
5.11 +or http://www.netbeans.org/cddl.txt.
5.12 +
5.13 +When distributing Covered Code, include this CDDL Header Notice in each file
5.14 +and include the License file at http://www.netbeans.org/cddl.txt.
5.15 +If applicable, add the following below the CDDL Header, with the fields
5.16 +enclosed by brackets [] replaced by your own identifying information:
5.17 +"Portions Copyrighted [year] [name of copyright owner]"
5.18 +
5.19 +The Original Software is NetBeans. The Initial Developer of the Original
5.20 +Code is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
5.21 +Microsystems, Inc. All Rights Reserved.
5.22 +-->
5.23 +<bad-names>
5.24 + <el class="c" package="p">
5.25 + <property>-9</property>
5.26 + </el>
5.27 +</bad-names>
6.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
6.2 +++ b/schema2beans/test/unit/src/data/TestBadNames.xsd Thu Oct 12 14:35:56 2006 +0000
6.3 @@ -0,0 +1,20 @@
6.4 +<?xml version="1.0" ?>
6.5 +
6.6 +<schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
6.7 + <element name="bad-names">
6.8 + <complexType>
6.9 + <sequence>
6.10 + <element name="el" ref="elT"/>
6.11 + </sequence>
6.12 + </complexType>
6.13 + </element>
6.14 + <element name="elT">
6.15 + <complexType>
6.16 + <sequence>
6.17 + <element name="property" type="xsd:int"/>
6.18 + </sequence>
6.19 + <attribute name="class" type="xsd:string" use="required"/>
6.20 + <attribute name="package" type="xsd:string"/>
6.21 + </complexType>
6.22 + </element>
6.23 +</schema>
7.1 --- a/schema2beans/test/unit/src/data/TestBeanWrapper.java Wed Oct 11 16:21:39 2006 +0000
7.2 +++ b/schema2beans/test/unit/src/data/TestBeanWrapper.java Thu Oct 12 14:35:56 2006 +0000
7.3 @@ -1,4 +1,22 @@
7.4 /*
7.5 + * The contents of this file are subject to the terms of the Common Development
7.6 + * and Distribution License (the License). You may not use this file except in
7.7 + * compliance with the License.
7.8 + *
7.9 + * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
7.10 + * or http://www.netbeans.org/cddl.txt.
7.11 + *
7.12 + * When distributing Covered Code, include this CDDL Header Notice in each file
7.13 + * and include the License file at http://www.netbeans.org/cddl.txt.
7.14 + * If applicable, add the following below the CDDL Header, with the fields
7.15 + * enclosed by brackets [] replaced by your own identifying information:
7.16 + * "Portions Copyrighted [year] [name of copyright owner]"
7.17 + *
7.18 + * The Original Software is NetBeans. The Initial Developer of the Original
7.19 + * Code is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
7.20 + * Microsystems, Inc. All Rights Reserved.
7.21 + */
7.22 + /*
7.23 * TestBeanWrapper - test the basic features.
7.24 *
7.25 * The following test assumes that we know the content of the
8.1 --- a/schema2beans/test/unit/src/data/TestBeanWrapper.xml Wed Oct 11 16:21:39 2006 +0000
8.2 +++ b/schema2beans/test/unit/src/data/TestBeanWrapper.xml Thu Oct 12 14:35:56 2006 +0000
8.3 @@ -1,4 +1,22 @@
8.4 <?xml version='1.0' encoding='UTF-8' ?>
8.5 +<!--
8.6 +The contents of this file are subject to the terms of the Common Development
8.7 +and Distribution License (the License). You may not use this file except in
8.8 +compliance with the License.
8.9 +
8.10 +You can obtain a copy of the License at http://www.netbeans.org/cddl.html
8.11 +or http://www.netbeans.org/cddl.txt.
8.12 +
8.13 +When distributing Covered Code, include this CDDL Header Notice in each file
8.14 +and include the License file at http://www.netbeans.org/cddl.txt.
8.15 +If applicable, add the following below the CDDL Header, with the fields
8.16 +enclosed by brackets [] replaced by your own identifying information:
8.17 +"Portions Copyrighted [year] [name of copyright owner]"
8.18 +
8.19 +The Original Software is NetBeans. The Initial Developer of the Original
8.20 +Code is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
8.21 +Microsystems, Inc. All Rights Reserved.
8.22 +-->
8.23 <namespaceSample xmlns='http://anything.org/extension'>
8.24 <name>Bean Wrapper test</name>
8.25 <config-property>
9.1 --- a/schema2beans/test/unit/src/data/TestBook.java Wed Oct 11 16:21:39 2006 +0000
9.2 +++ b/schema2beans/test/unit/src/data/TestBook.java Thu Oct 12 14:35:56 2006 +0000
9.3 @@ -1,3 +1,21 @@
9.4 +/*
9.5 + * The contents of this file are subject to the terms of the Common Development
9.6 + * and Distribution License (the License). You may not use this file except in
9.7 + * compliance with the License.
9.8 + *
9.9 + * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
9.10 + * or http://www.netbeans.org/cddl.txt.
9.11 + *
9.12 + * When distributing Covered Code, include this CDDL Header Notice in each file
9.13 + * and include the License file at http://www.netbeans.org/cddl.txt.
9.14 + * If applicable, add the following below the CDDL Header, with the fields
9.15 + * enclosed by brackets [] replaced by your own identifying information:
9.16 + * "Portions Copyrighted [year] [name of copyright owner]"
9.17 + *
9.18 + * The Original Software is NetBeans. The Initial Developer of the Original
9.19 + * Code is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
9.20 + * Microsystems, Inc. All Rights Reserved.
9.21 + */
9.22 /*
9.23 * TestBook - test the basic features.
9.24 *
10.1 --- a/schema2beans/test/unit/src/data/TestBook.xml Wed Oct 11 16:21:39 2006 +0000
10.2 +++ b/schema2beans/test/unit/src/data/TestBook.xml Thu Oct 12 14:35:56 2006 +0000
10.3 @@ -1,5 +1,22 @@
10.4 <?xml version="1.0" encoding="ISO-8859-1"?>
10.5 +<!--
10.6 +The contents of this file are subject to the terms of the Common Development
10.7 +and Distribution License (the License). You may not use this file except in
10.8 +compliance with the License.
10.9
10.10 +You can obtain a copy of the License at http://www.netbeans.org/cddl.html
10.11 +or http://www.netbeans.org/cddl.txt.
10.12 +
10.13 +When distributing Covered Code, include this CDDL Header Notice in each file
10.14 +and include the License file at http://www.netbeans.org/cddl.txt.
10.15 +If applicable, add the following below the CDDL Header, with the fields
10.16 +enclosed by brackets [] replaced by your own identifying information:
10.17 +"Portions Copyrighted [year] [name of copyright owner]"
10.18 +
10.19 +The Original Software is NetBeans. The Initial Developer of the Original
10.20 +Code is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
10.21 +Microsystems, Inc. All Rights Reserved.
10.22 +-->
10.23 <book>
10.24 <summary>
10.25 This book is about the life of a book spent between books who dreamed
11.1 --- a/schema2beans/test/unit/src/data/TestBookXMLSchema.xml Wed Oct 11 16:21:39 2006 +0000
11.2 +++ b/schema2beans/test/unit/src/data/TestBookXMLSchema.xml Thu Oct 12 14:35:56 2006 +0000
11.3 @@ -1,5 +1,22 @@
11.4 <?xml version="1.0" encoding="ISO-8859-1"?>
11.5 +<!--
11.6 +The contents of this file are subject to the terms of the Common Development
11.7 +and Distribution License (the License). You may not use this file except in
11.8 +compliance with the License.
11.9
11.10 +You can obtain a copy of the License at http://www.netbeans.org/cddl.html
11.11 +or http://www.netbeans.org/cddl.txt.
11.12 +
11.13 +When distributing Covered Code, include this CDDL Header Notice in each file
11.14 +and include the License file at http://www.netbeans.org/cddl.txt.
11.15 +If applicable, add the following below the CDDL Header, with the fields
11.16 +enclosed by brackets [] replaced by your own identifying information:
11.17 +"Portions Copyrighted [year] [name of copyright owner]"
11.18 +
11.19 +The Original Software is NetBeans. The Initial Developer of the Original
11.20 +Code is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
11.21 +Microsystems, Inc. All Rights Reserved.
11.22 +-->
11.23 <book>
11.24 <summary>
11.25 This book is about the life of a book spent between books who dreamed
12.1 --- a/schema2beans/test/unit/src/data/TestContrivedApp.java Wed Oct 11 16:21:39 2006 +0000
12.2 +++ b/schema2beans/test/unit/src/data/TestContrivedApp.java Thu Oct 12 14:35:56 2006 +0000
12.3 @@ -1,3 +1,21 @@
12.4 +/*
12.5 + * The contents of this file are subject to the terms of the Common Development
12.6 + * and Distribution License (the License). You may not use this file except in
12.7 + * compliance with the License.
12.8 + *
12.9 + * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
12.10 + * or http://www.netbeans.org/cddl.txt.
12.11 + *
12.12 + * When distributing Covered Code, include this CDDL Header Notice in each file
12.13 + * and include the License file at http://www.netbeans.org/cddl.txt.
12.14 + * If applicable, add the following below the CDDL Header, with the fields
12.15 + * enclosed by brackets [] replaced by your own identifying information:
12.16 + * "Portions Copyrighted [year] [name of copyright owner]"
12.17 + *
12.18 + * The Original Software is NetBeans. The Initial Developer of the Original
12.19 + * Code is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
12.20 + * Microsystems, Inc. All Rights Reserved.
12.21 + */
12.22 /*
12.23 * TestBook - test the basic features.
12.24 *
13.1 --- a/schema2beans/test/unit/src/data/TestContrivedApp.xml Wed Oct 11 16:21:39 2006 +0000
13.2 +++ b/schema2beans/test/unit/src/data/TestContrivedApp.xml Thu Oct 12 14:35:56 2006 +0000
13.3 @@ -1,4 +1,22 @@
13.4 <?xml version="1.0" encoding="UTF-8"?>
13.5 +<!--
13.6 +The contents of this file are subject to the terms of the Common Development
13.7 +and Distribution License (the License). You may not use this file except in
13.8 +compliance with the License.
13.9 +
13.10 +You can obtain a copy of the License at http://www.netbeans.org/cddl.html
13.11 +or http://www.netbeans.org/cddl.txt.
13.12 +
13.13 +When distributing Covered Code, include this CDDL Header Notice in each file
13.14 +and include the License file at http://www.netbeans.org/cddl.txt.
13.15 +If applicable, add the following below the CDDL Header, with the fields
13.16 +enclosed by brackets [] replaced by your own identifying information:
13.17 +"Portions Copyrighted [year] [name of copyright owner]"
13.18 +
13.19 +The Original Software is NetBeans. The Initial Developer of the Original
13.20 +Code is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
13.21 +Microsystems, Inc. All Rights Reserved.
13.22 +-->
13.23 <!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN" "http://java.sun.com/dtd/application_1_3.dtd">
13.24 <application>
13.25 <display-name>Application_EJBModule_Entity2</display-name>
14.1 --- a/schema2beans/test/unit/src/data/TestDupInternalNames.xml Wed Oct 11 16:21:39 2006 +0000
14.2 +++ b/schema2beans/test/unit/src/data/TestDupInternalNames.xml Thu Oct 12 14:35:56 2006 +0000
14.3 @@ -1,3 +1,21 @@
14.4 +<!--
14.5 +The contents of this file are subject to the terms of the Common Development
14.6 +and Distribution License (the License). You may not use this file except in
14.7 +compliance with the License.
14.8 +
14.9 +You can obtain a copy of the License at http://www.netbeans.org/cddl.html
14.10 +or http://www.netbeans.org/cddl.txt.
14.11 +
14.12 +When distributing Covered Code, include this CDDL Header Notice in each file
14.13 +and include the License file at http://www.netbeans.org/cddl.txt.
14.14 +If applicable, add the following below the CDDL Header, with the fields
14.15 +enclosed by brackets [] replaced by your own identifying information:
14.16 +"Portions Copyrighted [year] [name of copyright owner]"
14.17 +
14.18 +The Original Software is NetBeans. The Initial Developer of the Original
14.19 +Code is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
14.20 +Microsystems, Inc. All Rights Reserved.
14.21 +-->
14.22 <root xmlns='http://multitrode.com/config'>
14.23 <in>
14.24 <pointNumber longname='#345'>1</pointNumber>
15.1 --- a/schema2beans/test/unit/src/data/TestEmpty.java Wed Oct 11 16:21:39 2006 +0000
15.2 +++ b/schema2beans/test/unit/src/data/TestEmpty.java Thu Oct 12 14:35:56 2006 +0000
15.3 @@ -1,3 +1,21 @@
15.4 +/*
15.5 + * The contents of this file are subject to the terms of the Common Development
15.6 + * and Distribution License (the License). You may not use this file except in
15.7 + * compliance with the License.
15.8 + *
15.9 + * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
15.10 + * or http://www.netbeans.org/cddl.txt.
15.11 + *
15.12 + * When distributing Covered Code, include this CDDL Header Notice in each file
15.13 + * and include the License file at http://www.netbeans.org/cddl.txt.
15.14 + * If applicable, add the following below the CDDL Header, with the fields
15.15 + * enclosed by brackets [] replaced by your own identifying information:
15.16 + * "Portions Copyrighted [year] [name of copyright owner]"
15.17 + *
15.18 + * The Original Software is NetBeans. The Initial Developer of the Original
15.19 + * Code is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
15.20 + * Microsystems, Inc. All Rights Reserved.
15.21 + */
15.22 /*
15.23 * TestEmpty - test the basic features.
15.24 *
16.1 --- a/schema2beans/test/unit/src/data/TestEncoding.java Wed Oct 11 16:21:39 2006 +0000
16.2 +++ b/schema2beans/test/unit/src/data/TestEncoding.java Thu Oct 12 14:35:56 2006 +0000
16.3 @@ -1,3 +1,21 @@
16.4 +/*
16.5 + * The contents of this file are subject to the terms of the Common Development
16.6 + * and Distribution License (the License). You may not use this file except in
16.7 + * compliance with the License.
16.8 + *
16.9 + * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
16.10 + * or http://www.netbeans.org/cddl.txt.
16.11 + *
16.12 + * When distributing Covered Code, include this CDDL Header Notice in each file
16.13 + * and include the License file at http://www.netbeans.org/cddl.txt.
16.14 + * If applicable, add the following below the CDDL Header, with the fields
16.15 + * enclosed by brackets [] replaced by your own identifying information:
16.16 + * "Portions Copyrighted [year] [name of copyright owner]"
16.17 + *
16.18 + * The Original Software is NetBeans. The Initial Developer of the Original
16.19 + * Code is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
16.20 + * Microsystems, Inc. All Rights Reserved.
16.21 + */
16.22 /*
16.23 * TestEncoding - Make sure we correctly deal with I18N encoding stuff.
16.24 *
17.1 --- a/schema2beans/test/unit/src/data/TestEncoding.xml Wed Oct 11 16:21:39 2006 +0000
17.2 +++ b/schema2beans/test/unit/src/data/TestEncoding.xml Thu Oct 12 14:35:56 2006 +0000
17.3 @@ -1,5 +1,22 @@
17.4 <?xml version="1.0" encoding="ISO-8859-1"?>
17.5 +<!--
17.6 +The contents of this file are subject to the terms of the Common Development
17.7 +and Distribution License (the License). You may not use this file except in
17.8 +compliance with the License.
17.9
17.10 +You can obtain a copy of the License at http://www.netbeans.org/cddl.html
17.11 +or http://www.netbeans.org/cddl.txt.
17.12 +
17.13 +When distributing Covered Code, include this CDDL Header Notice in each file
17.14 +and include the License file at http://www.netbeans.org/cddl.txt.
17.15 +If applicable, add the following below the CDDL Header, with the fields
17.16 +enclosed by brackets [] replaced by your own identifying information:
17.17 +"Portions Copyrighted [year] [name of copyright owner]"
17.18 +
17.19 +The Original Software is NetBeans. The Initial Developer of the Original
17.20 +Code is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
17.21 +Microsystems, Inc. All Rights Reserved.
17.22 +-->
17.23 <!-- ex1.xml -->
17.24 <!-- This is a simple XML source file. Object class metamethod -->
17.25 <!-- m3 includes 8-bit ASCII text, with a tilde-n and accent-e -->
18.1 --- a/schema2beans/test/unit/src/data/TestEvents.java Wed Oct 11 16:21:39 2006 +0000
18.2 +++ b/schema2beans/test/unit/src/data/TestEvents.java Thu Oct 12 14:35:56 2006 +0000
18.3 @@ -1,3 +1,21 @@
18.4 +/*
18.5 + * The contents of this file are subject to the terms of the Common Development
18.6 + * and Distribution License (the License). You may not use this file except in
18.7 + * compliance with the License.
18.8 + *
18.9 + * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
18.10 + * or http://www.netbeans.org/cddl.txt.
18.11 + *
18.12 + * When distributing Covered Code, include this CDDL Header Notice in each file
18.13 + * and include the License file at http://www.netbeans.org/cddl.txt.
18.14 + * If applicable, add the following below the CDDL Header, with the fields
18.15 + * enclosed by brackets [] replaced by your own identifying information:
18.16 + * "Portions Copyrighted [year] [name of copyright owner]"
18.17 + *
18.18 + * The Original Software is NetBeans. The Initial Developer of the Original
18.19 + * Code is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
18.20 + * Microsystems, Inc. All Rights Reserved.
18.21 + */
18.22 /*
18.23 * TestEvents - test the events
18.24 *
19.1 --- a/schema2beans/test/unit/src/data/TestEvents.xml Wed Oct 11 16:21:39 2006 +0000
19.2 +++ b/schema2beans/test/unit/src/data/TestEvents.xml Thu Oct 12 14:35:56 2006 +0000
19.3 @@ -1,5 +1,22 @@
19.4 <?xml version="1.0" encoding="ISO-8859-1"?>
19.5 +<!--
19.6 +The contents of this file are subject to the terms of the Common Development
19.7 +and Distribution License (the License). You may not use this file except in
19.8 +compliance with the License.
19.9
19.10 +You can obtain a copy of the License at http://www.netbeans.org/cddl.html
19.11 +or http://www.netbeans.org/cddl.txt.
19.12 +
19.13 +When distributing Covered Code, include this CDDL Header Notice in each file
19.14 +and include the License file at http://www.netbeans.org/cddl.txt.
19.15 +If applicable, add the following below the CDDL Header, with the fields
19.16 +enclosed by brackets [] replaced by your own identifying information:
19.17 +"Portions Copyrighted [year] [name of copyright owner]"
19.18 +
19.19 +The Original Software is NetBeans. The Initial Developer of the Original
19.20 +Code is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
19.21 +Microsystems, Inc. All Rights Reserved.
19.22 +-->
19.23 <book>
19.24 <chapter>
19.25 <comment>
20.1 --- a/schema2beans/test/unit/src/data/TestExceptions.java Wed Oct 11 16:21:39 2006 +0000
20.2 +++ b/schema2beans/test/unit/src/data/TestExceptions.java Thu Oct 12 14:35:56 2006 +0000
20.3 @@ -1,3 +1,21 @@
20.4 +/*
20.5 + * The contents of this file are subject to the terms of the Common Development
20.6 + * and Distribution License (the License). You may not use this file except in
20.7 + * compliance with the License.
20.8 + *
20.9 + * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
20.10 + * or http://www.netbeans.org/cddl.txt.
20.11 + *
20.12 + * When distributing Covered Code, include this CDDL Header Notice in each file
20.13 + * and include the License file at http://www.netbeans.org/cddl.txt.
20.14 + * If applicable, add the following below the CDDL Header, with the fields
20.15 + * enclosed by brackets [] replaced by your own identifying information:
20.16 + * "Portions Copyrighted [year] [name of copyright owner]"
20.17 + *
20.18 + * The Original Software is NetBeans. The Initial Developer of the Original
20.19 + * Code is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
20.20 + * Microsystems, Inc. All Rights Reserved.
20.21 + */
20.22 /*
20.23 * TestExceptions - Make sure we correctly deal with exceptions.
20.24 *
21.1 --- a/schema2beans/test/unit/src/data/TestExceptions.xml Wed Oct 11 16:21:39 2006 +0000
21.2 +++ b/schema2beans/test/unit/src/data/TestExceptions.xml Thu Oct 12 14:35:56 2006 +0000
21.3 @@ -1,3 +1,20 @@
21.4 <?xml version='1.0'?>
21.5 +<!--
21.6 +The contents of this file are subject to the terms of the Common Development
21.7 +and Distribution License (the License). You may not use this file except in
21.8 +compliance with the License.
21.9
21.10 +You can obtain a copy of the License at http://www.netbeans.org/cddl.html
21.11 +or http://www.netbeans.org/cddl.txt.
21.12 +
21.13 +When distributing Covered Code, include this CDDL Header Notice in each file
21.14 +and include the License file at http://www.netbeans.org/cddl.txt.
21.15 +If applicable, add the following below the CDDL Header, with the fields
21.16 +enclosed by brackets [] replaced by your own identifying information:
21.17 +"Portions Copyrighted [year] [name of copyright owner]"
21.18 +
21.19 +The Original Software is NetBeans. The Initial Developer of the Original
21.20 +Code is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
21.21 +Microsystems, Inc. All Rights Reserved.
21.22 +-->
21.23 <foo/>
22.1 --- a/schema2beans/test/unit/src/data/TestExtension.java Wed Oct 11 16:21:39 2006 +0000
22.2 +++ b/schema2beans/test/unit/src/data/TestExtension.java Thu Oct 12 14:35:56 2006 +0000
22.3 @@ -1,3 +1,21 @@
22.4 +/*
22.5 + * The contents of this file are subject to the terms of the Common Development
22.6 + * and Distribution License (the License). You may not use this file except in
22.7 + * compliance with the License.
22.8 + *
22.9 + * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
22.10 + * or http://www.netbeans.org/cddl.txt.
22.11 + *
22.12 + * When distributing Covered Code, include this CDDL Header Notice in each file
22.13 + * and include the License file at http://www.netbeans.org/cddl.txt.
22.14 + * If applicable, add the following below the CDDL Header, with the fields
22.15 + * enclosed by brackets [] replaced by your own identifying information:
22.16 + * "Portions Copyrighted [year] [name of copyright owner]"
22.17 + *
22.18 + * The Original Software is NetBeans. The Initial Developer of the Original
22.19 + * Code is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
22.20 + * Microsystems, Inc. All Rights Reserved.
22.21 + */
22.22 /*
22.23 * TestExtension - test the basic features.
22.24 *
23.1 --- a/schema2beans/test/unit/src/data/TestExtension.xml Wed Oct 11 16:21:39 2006 +0000
23.2 +++ b/schema2beans/test/unit/src/data/TestExtension.xml Thu Oct 12 14:35:56 2006 +0000
23.3 @@ -1,3 +1,21 @@
23.4 +<!--
23.5 +The contents of this file are subject to the terms of the Common Development
23.6 +and Distribution License (the License). You may not use this file except in
23.7 +compliance with the License.
23.8 +
23.9 +You can obtain a copy of the License at http://www.netbeans.org/cddl.html
23.10 +or http://www.netbeans.org/cddl.txt.
23.11 +
23.12 +When distributing Covered Code, include this CDDL Header Notice in each file
23.13 +and include the License file at http://www.netbeans.org/cddl.txt.
23.14 +If applicable, add the following below the CDDL Header, with the fields
23.15 +enclosed by brackets [] replaced by your own identifying information:
23.16 +"Portions Copyrighted [year] [name of copyright owner]"
23.17 +
23.18 +The Original Software is NetBeans. The Initial Developer of the Original
23.19 +Code is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
23.20 +Microsystems, Inc. All Rights Reserved.
23.21 +-->
23.22 <ComplexFunSpec name='Hank' funSpecType='cool'>
23.23 <InputRecord>a</InputRecord>
23.24 <OutputRecord>b</OutputRecord>
24.1 --- a/schema2beans/test/unit/src/data/TestExtension2.java Wed Oct 11 16:21:39 2006 +0000
24.2 +++ b/schema2beans/test/unit/src/data/TestExtension2.java Thu Oct 12 14:35:56 2006 +0000
24.3 @@ -1,3 +1,21 @@
24.4 +/*
24.5 + * The contents of this file are subject to the terms of the Common Development
24.6 + * and Distribution License (the License). You may not use this file except in
24.7 + * compliance with the License.
24.8 + *
24.9 + * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
24.10 + * or http://www.netbeans.org/cddl.txt.
24.11 + *
24.12 + * When distributing Covered Code, include this CDDL Header Notice in each file
24.13 + * and include the License file at http://www.netbeans.org/cddl.txt.
24.14 + * If applicable, add the following below the CDDL Header, with the fields
24.15 + * enclosed by brackets [] replaced by your own identifying information:
24.16 + * "Portions Copyrighted [year] [name of copyright owner]"
24.17 + *
24.18 + * The Original Software is NetBeans. The Initial Developer of the Original
24.19 + * Code is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
24.20 + * Microsystems, Inc. All Rights Reserved.
24.21 + */
24.22 /*
24.23 * TestExtension2 - test the basic features.
24.24 *
25.1 --- a/schema2beans/test/unit/src/data/TestExtension2.xml Wed Oct 11 16:21:39 2006 +0000
25.2 +++ b/schema2beans/test/unit/src/data/TestExtension2.xml Thu Oct 12 14:35:56 2006 +0000
25.3 @@ -1,4 +1,21 @@
25.4 +<!--
25.5 +The contents of this file are subject to the terms of the Common Development
25.6 +and Distribution License (the License). You may not use this file except in
25.7 +compliance with the License.
25.8
25.9 +You can obtain a copy of the License at http://www.netbeans.org/cddl.html
25.10 +or http://www.netbeans.org/cddl.txt.
25.11 +
25.12 +When distributing Covered Code, include this CDDL Header Notice in each file
25.13 +and include the License file at http://www.netbeans.org/cddl.txt.
25.14 +If applicable, add the following below the CDDL Header, with the fields
25.15 +enclosed by brackets [] replaced by your own identifying information:
25.16 +"Portions Copyrighted [year] [name of copyright owner]"
25.17 +
25.18 +The Original Software is NetBeans. The Initial Developer of the Original
25.19 +Code is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
25.20 +Microsystems, Inc. All Rights Reserved.
25.21 +-->
25.22 <mycar vehicle-attr='98'>
25.23 <automatic>true</automatic>
25.24 <wheels>4</wheels>
26.1 --- a/schema2beans/test/unit/src/data/TestExtensionSample.java Wed Oct 11 16:21:39 2006 +0000
26.2 +++ b/schema2beans/test/unit/src/data/TestExtensionSample.java Thu Oct 12 14:35:56 2006 +0000
26.3 @@ -1,3 +1,21 @@
26.4 +/*
26.5 + * The contents of this file are subject to the terms of the Common Development
26.6 + * and Distribution License (the License). You may not use this file except in
26.7 + * compliance with the License.
26.8 + *
26.9 + * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
26.10 + * or http://www.netbeans.org/cddl.txt.
26.11 + *
26.12 + * When distributing Covered Code, include this CDDL Header Notice in each file
26.13 + * and include the License file at http://www.netbeans.org/cddl.txt.
26.14 + * If applicable, add the following below the CDDL Header, with the fields
26.15 + * enclosed by brackets [] replaced by your own identifying information:
26.16 + * "Portions Copyrighted [year] [name of copyright owner]"
26.17 + *
26.18 + * The Original Software is NetBeans. The Initial Developer of the Original
26.19 + * Code is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
26.20 + * Microsystems, Inc. All Rights Reserved.
26.21 + */
26.22 /*
26.23 * TestExtensionSample - test the basic features.
26.24 *
27.1 --- a/schema2beans/test/unit/src/data/TestExtensionSample.xml Wed Oct 11 16:21:39 2006 +0000
27.2 +++ b/schema2beans/test/unit/src/data/TestExtensionSample.xml Thu Oct 12 14:35:56 2006 +0000
27.3 @@ -1,4 +1,22 @@
27.4 <?xml version='1.0' encoding='UTF-8' ?>
27.5 +<!--
27.6 +The contents of this file are subject to the terms of the Common Development
27.7 +and Distribution License (the License). You may not use this file except in
27.8 +compliance with the License.
27.9 +
27.10 +You can obtain a copy of the License at http://www.netbeans.org/cddl.html
27.11 +or http://www.netbeans.org/cddl.txt.
27.12 +
27.13 +When distributing Covered Code, include this CDDL Header Notice in each file
27.14 +and include the License file at http://www.netbeans.org/cddl.txt.
27.15 +If applicable, add the following below the CDDL Header, with the fields
27.16 +enclosed by brackets [] replaced by your own identifying information:
27.17 +"Portions Copyrighted [year] [name of copyright owner]"
27.18 +
27.19 +The Original Software is NetBeans. The Initial Developer of the Original
27.20 +Code is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
27.21 +Microsystems, Inc. All Rights Reserved.
27.22 +-->
27.23 <extensionSample xmlns='http://anything.org/extension'>
27.24 <name>Cobalt</name>
27.25 <more-info>
28.1 --- a/schema2beans/test/unit/src/data/TestFinalWebApp.java Wed Oct 11 16:21:39 2006 +0000
28.2 +++ b/schema2beans/test/unit/src/data/TestFinalWebApp.java Thu Oct 12 14:35:56 2006 +0000
28.3 @@ -1,3 +1,21 @@
28.4 +/*
28.5 + * The contents of this file are subject to the terms of the Common Development
28.6 + * and Distribution License (the License). You may not use this file except in
28.7 + * compliance with the License.
28.8 + *
28.9 + * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
28.10 + * or http://www.netbeans.org/cddl.txt.
28.11 + *
28.12 + * When distributing Covered Code, include this CDDL Header Notice in each file
28.13 + * and include the License file at http://www.netbeans.org/cddl.txt.
28.14 + * If applicable, add the following below the CDDL Header, with the fields
28.15 + * enclosed by brackets [] replaced by your own identifying information:
28.16 + * "Portions Copyrighted [year] [name of copyright owner]"
28.17 + *
28.18 + * The Original Software is NetBeans. The Initial Developer of the Original
28.19 + * Code is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
28.20 + * Microsystems, Inc. All Rights Reserved.
28.21 + */
28.22 /*
28.23 * TestFinalWebApp - test the basic features.
28.24 *
29.1 --- a/schema2beans/test/unit/src/data/TestFinalWebApp.xml Wed Oct 11 16:21:39 2006 +0000
29.2 +++ b/schema2beans/test/unit/src/data/TestFinalWebApp.xml Thu Oct 12 14:35:56 2006 +0000
29.3 @@ -1,5 +1,22 @@
29.4 <?xml version='1.0'?>
29.5 +<!--
29.6 +The contents of this file are subject to the terms of the Common Development
29.7 +and Distribution License (the License). You may not use this file except in
29.8 +compliance with the License.
29.9
29.10 +You can obtain a copy of the License at http://www.netbeans.org/cddl.html
29.11 +or http://www.netbeans.org/cddl.txt.
29.12 +
29.13 +When distributing Covered Code, include this CDDL Header Notice in each file
29.14 +and include the License file at http://www.netbeans.org/cddl.txt.
29.15 +If applicable, add the following below the CDDL Header, with the fields
29.16 +enclosed by brackets [] replaced by your own identifying information:
29.17 +"Portions Copyrighted [year] [name of copyright owner]"
29.18 +
29.19 +The Original Software is NetBeans. The Initial Developer of the Original
29.20 +Code is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
29.21 +Microsystems, Inc. All Rights Reserved.
29.22 +-->
29.23 <web-app xmlns:testNS='http://testNS' xmlns:sl='http://www.w3.org/2001/XMLSchema-instance' sl:schemaLocation='foo' qname-test-attrib='testNS:at'>
29.24 <description>This is my Web App</description>
29.25 <display-name>MyWebApp</display-name>
30.1 --- a/schema2beans/test/unit/src/data/TestFinalWebAppBeanGraph.xml Wed Oct 11 16:21:39 2006 +0000
30.2 +++ b/schema2beans/test/unit/src/data/TestFinalWebAppBeanGraph.xml Thu Oct 12 14:35:56 2006 +0000
30.3 @@ -1,4 +1,22 @@
30.4 <?xml version='1.0' encoding='UTF-8' ?>
30.5 +<!--
30.6 +The contents of this file are subject to the terms of the Common Development
30.7 +and Distribution License (the License). You may not use this file except in
30.8 +compliance with the License.
30.9 +
30.10 +You can obtain a copy of the License at http://www.netbeans.org/cddl.html
30.11 +or http://www.netbeans.org/cddl.txt.
30.12 +
30.13 +When distributing Covered Code, include this CDDL Header Notice in each file
30.14 +and include the License file at http://www.netbeans.org/cddl.txt.
30.15 +If applicable, add the following below the CDDL Header, with the fields
30.16 +enclosed by brackets [] replaced by your own identifying information:
30.17 +"Portions Copyrighted [year] [name of copyright owner]"
30.18 +
30.19 +The Original Software is NetBeans. The Initial Developer of the Original
30.20 +Code is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
30.21 +Microsystems, Inc. All Rights Reserved.
30.22 +-->
30.23 <bean-graph>
30.24 <schema-type-mapping>
30.25 <schema-type-namespace>http://www.w3.org/2001/XMLSchema</schema-type-namespace>
31.1 --- a/schema2beans/test/unit/src/data/TestFind.java Wed Oct 11 16:21:39 2006 +0000
31.2 +++ b/schema2beans/test/unit/src/data/TestFind.java Thu Oct 12 14:35:56 2006 +0000
31.3 @@ -1,3 +1,21 @@
31.4 +/*
31.5 + * The contents of this file are subject to the terms of the Common Development
31.6 + * and Distribution License (the License). You may not use this file except in
31.7 + * compliance with the License.
31.8 + *
31.9 + * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
31.10 + * or http://www.netbeans.org/cddl.txt.
31.11 + *
31.12 + * When distributing Covered Code, include this CDDL Header Notice in each file
31.13 + * and include the License file at http://www.netbeans.org/cddl.txt.
31.14 + * If applicable, add the following below the CDDL Header, with the fields
31.15 + * enclosed by brackets [] replaced by your own identifying information:
31.16 + * "Portions Copyrighted [year] [name of copyright owner]"
31.17 + *
31.18 + * The Original Software is NetBeans. The Initial Developer of the Original
31.19 + * Code is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
31.20 + * Microsystems, Inc. All Rights Reserved.
31.21 + */
31.22 /*
31.23 * TestFind - test the find feature
31.24 *
32.1 --- a/schema2beans/test/unit/src/data/TestFind.xml Wed Oct 11 16:21:39 2006 +0000
32.2 +++ b/schema2beans/test/unit/src/data/TestFind.xml Thu Oct 12 14:35:56 2006 +0000
32.3 @@ -1,5 +1,22 @@
32.4 <?xml version="1.0" encoding="ISO-8859-1"?>
32.5 +<!--
32.6 +The contents of this file are subject to the terms of the Common Development
32.7 +and Distribution License (the License). You may not use this file except in
32.8 +compliance with the License.
32.9
32.10 +You can obtain a copy of the License at http://www.netbeans.org/cddl.html
32.11 +or http://www.netbeans.org/cddl.txt.
32.12 +
32.13 +When distributing Covered Code, include this CDDL Header Notice in each file
32.14 +and include the License file at http://www.netbeans.org/cddl.txt.
32.15 +If applicable, add the following below the CDDL Header, with the fields
32.16 +enclosed by brackets [] replaced by your own identifying information:
32.17 +"Portions Copyrighted [year] [name of copyright owner]"
32.18 +
32.19 +The Original Software is NetBeans. The Initial Developer of the Original
32.20 +Code is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
32.21 +Microsystems, Inc. All Rights Reserved.
32.22 +-->
32.23 <book good="no">
32.24 <summary size="12" lang="en" length="132">
32.25 This book is about the life of a book spent between books who dreamed
33.1 --- a/schema2beans/test/unit/src/data/TestGroupUnbounded.xml Wed Oct 11 16:21:39 2006 +0000
33.2 +++ b/schema2beans/test/unit/src/data/TestGroupUnbounded.xml Thu Oct 12 14:35:56 2006 +0000
33.3 @@ -1,4 +1,22 @@
33.4 <?xml version='1.0' encoding='UTF-8' ?>
33.5 +<!--
33.6 +The contents of this file are subject to the terms of the Common Development
33.7 +and Distribution License (the License). You may not use this file except in
33.8 +compliance with the License.
33.9 +
33.10 +You can obtain a copy of the License at http://www.netbeans.org/cddl.html
33.11 +or http://www.netbeans.org/cddl.txt.
33.12 +
33.13 +When distributing Covered Code, include this CDDL Header Notice in each file
33.14 +and include the License file at http://www.netbeans.org/cddl.txt.
33.15 +If applicable, add the following below the CDDL Header, with the fields
33.16 +enclosed by brackets [] replaced by your own identifying information:
33.17 +"Portions Copyrighted [year] [name of copyright owner]"
33.18 +
33.19 +The Original Software is NetBeans. The Initial Developer of the Original
33.20 +Code is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
33.21 +Microsystems, Inc. All Rights Reserved.
33.22 +-->
33.23 <group-unbounded xmlns='http://foo.com/xml/group-unbounded' version=''>
33.24 <object id='b' type='green'>
33.25 </object>
34.1 --- a/schema2beans/test/unit/src/data/TestInvoice.xml Wed Oct 11 16:21:39 2006 +0000
34.2 +++ b/schema2beans/test/unit/src/data/TestInvoice.xml Thu Oct 12 14:35:56 2006 +0000
34.3 @@ -1,4 +1,22 @@
34.4 <?xml version='1.0' encoding='UTF-8' ?>
34.5 +<!--
34.6 +The contents of this file are subject to the terms of the Common Development
34.7 +and Distribution License (the License). You may not use this file except in
34.8 +compliance with the License.
34.9 +
34.10 +You can obtain a copy of the License at http://www.netbeans.org/cddl.html
34.11 +or http://www.netbeans.org/cddl.txt.
34.12 +
34.13 +When distributing Covered Code, include this CDDL Header Notice in each file
34.14 +and include the License file at http://www.netbeans.org/cddl.txt.
34.15 +If applicable, add the following below the CDDL Header, with the fields
34.16 +enclosed by brackets [] replaced by your own identifying information:
34.17 +"Portions Copyrighted [year] [name of copyright owner]"
34.18 +
34.19 +The Original Software is NetBeans. The Initial Developer of the Original
34.20 +Code is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
34.21 +Microsystems, Inc. All Rights Reserved.
34.22 +-->
34.23 <!DOCTYPE invoice []>
34.24 <invoice>
34.25 <!--This is an invoice-->
35.1 --- a/schema2beans/test/unit/src/data/TestMdd.java Wed Oct 11 16:21:39 2006 +0000
35.2 +++ b/schema2beans/test/unit/src/data/TestMdd.java Thu Oct 12 14:35:56 2006 +0000
35.3 @@ -1,3 +1,21 @@
35.4 +/*
35.5 + * The contents of this file are subject to the terms of the Common Development
35.6 + * and Distribution License (the License). You may not use this file except in
35.7 + * compliance with the License.
35.8 + *
35.9 + * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
35.10 + * or http://www.netbeans.org/cddl.txt.
35.11 + *
35.12 + * When distributing Covered Code, include this CDDL Header Notice in each file
35.13 + * and include the License file at http://www.netbeans.org/cddl.txt.
35.14 + * If applicable, add the following below the CDDL Header, with the fields
35.15 + * enclosed by brackets [] replaced by your own identifying information:
35.16 + * "Portions Copyrighted [year] [name of copyright owner]"
35.17 + *
35.18 + * The Original Software is NetBeans. The Initial Developer of the Original
35.19 + * Code is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
35.20 + * Microsystems, Inc. All Rights Reserved.
35.21 + */
35.22 /*
35.23 * TestMdd - test the attribute features
35.24 *
36.1 --- a/schema2beans/test/unit/src/data/TestMdd.xml Wed Oct 11 16:21:39 2006 +0000
36.2 +++ b/schema2beans/test/unit/src/data/TestMdd.xml Thu Oct 12 14:35:56 2006 +0000
36.3 @@ -1,5 +1,22 @@
36.4 <?xml version="1.0" encoding="ISO-8859-1"?>
36.5 +<!--
36.6 +The contents of this file are subject to the terms of the Common Development
36.7 +and Distribution License (the License). You may not use this file except in
36.8 +compliance with the License.
36.9
36.10 +You can obtain a copy of the License at http://www.netbeans.org/cddl.html
36.11 +or http://www.netbeans.org/cddl.txt.
36.12 +
36.13 +When distributing Covered Code, include this CDDL Header Notice in each file
36.14 +and include the License file at http://www.netbeans.org/cddl.txt.
36.15 +If applicable, add the following below the CDDL Header, with the fields
36.16 +enclosed by brackets [] replaced by your own identifying information:
36.17 +"Portions Copyrighted [year] [name of copyright owner]"
36.18 +
36.19 +The Original Software is NetBeans. The Initial Developer of the Original
36.20 +Code is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
36.21 +Microsystems, Inc. All Rights Reserved.
36.22 +-->
36.23 <book>
36.24 <summary>
36.25 This book is about the life of a book spent between books who dreamed
37.1 --- a/schema2beans/test/unit/src/data/TestMerge.java Wed Oct 11 16:21:39 2006 +0000
37.2 +++ b/schema2beans/test/unit/src/data/TestMerge.java Thu Oct 12 14:35:56 2006 +0000
37.3 @@ -1,3 +1,21 @@
37.4 +/*
37.5 + * The contents of this file are subject to the terms of the Common Development
37.6 + * and Distribution License (the License). You may not use this file except in
37.7 + * compliance with the License.
37.8 + *
37.9 + * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
37.10 + * or http://www.netbeans.org/cddl.txt.
37.11 + *
37.12 + * When distributing Covered Code, include this CDDL Header Notice in each file
37.13 + * and include the License file at http://www.netbeans.org/cddl.txt.
37.14 + * If applicable, add the following below the CDDL Header, with the fields
37.15 + * enclosed by brackets [] replaced by your own identifying information:
37.16 + * "Portions Copyrighted [year] [name of copyright owner]"
37.17 + *
37.18 + * The Original Software is NetBeans. The Initial Developer of the Original
37.19 + * Code is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
37.20 + * Microsystems, Inc. All Rights Reserved.
37.21 + */
37.22 /*
37.23 * TestMerge - test the basic features.
37.24 *
37.25 @@ -30,9 +48,10 @@
37.26 // This is the reference number for memory consumption for 50 clones
37.27 // (simply ran the test to get the number). We check against this number
37.28 // to make sure that any change in schema2beans does not introduce a
37.29 - // significant increase of mem usage.
37.30 + // significant increase of mem usage. (Note that sometimes JDK changes
37.31 + // can change this number too.)
37.32 //
37.33 - static float memUsageReference = 1159;
37.34 + static float memUsageReference = 4436;
37.35
37.36
37.37 public class MyListener implements PropertyChangeListener {
38.1 --- a/schema2beans/test/unit/src/data/TestMergeExtendBaseBean.java Wed Oct 11 16:21:39 2006 +0000
38.2 +++ b/schema2beans/test/unit/src/data/TestMergeExtendBaseBean.java Thu Oct 12 14:35:56 2006 +0000
38.3 @@ -1,3 +1,21 @@
38.4 +/*
38.5 + * The contents of this file are subject to the terms of the Common Development
38.6 + * and Distribution License (the License). You may not use this file except in
38.7 + * compliance with the License.
38.8 + *
38.9 + * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
38.10 + * or http://www.netbeans.org/cddl.txt.
38.11 + *
38.12 + * When distributing Covered Code, include this CDDL Header Notice in each file
38.13 + * and include the License file at http://www.netbeans.org/cddl.txt.
38.14 + * If applicable, add the following below the CDDL Header, with the fields
38.15 + * enclosed by brackets [] replaced by your own identifying information:
38.16 + * "Portions Copyrighted [year] [name of copyright owner]"
38.17 + *
38.18 + * The Original Software is NetBeans. The Initial Developer of the Original
38.19 + * Code is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
38.20 + * Microsystems, Inc. All Rights Reserved.
38.21 + */
38.22 /*
38.23 * TestMergeExtendBaseBean - test the basic features.
38.24 *
39.1 --- a/schema2beans/test/unit/src/data/TestNamespace.java Wed Oct 11 16:21:39 2006 +0000
39.2 +++ b/schema2beans/test/unit/src/data/TestNamespace.java Thu Oct 12 14:35:56 2006 +0000
39.3 @@ -1,3 +1,21 @@
39.4 +/*
39.5 + * The contents of this file are subject to the terms of the Common Development
39.6 + * and Distribution License (the License). You may not use this file except in
39.7 + * compliance with the License.
39.8 + *
39.9 + * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
39.10 + * or http://www.netbeans.org/cddl.txt.
39.11 + *
39.12 + * When distributing Covered Code, include this CDDL Header Notice in each file
39.13 + * and include the License file at http://www.netbeans.org/cddl.txt.
39.14 + * If applicable, add the following below the CDDL Header, with the fields
39.15 + * enclosed by brackets [] replaced by your own identifying information:
39.16 + * "Portions Copyrighted [year] [name of copyright owner]"
39.17 + *
39.18 + * The Original Software is NetBeans. The Initial Developer of the Original
39.19 + * Code is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
39.20 + * Microsystems, Inc. All Rights Reserved.
39.21 + */
39.22 /*
39.23 * TestNamespace - test the basic features.
39.24 *
40.1 --- a/schema2beans/test/unit/src/data/TestNamespace.xml Wed Oct 11 16:21:39 2006 +0000
40.2 +++ b/schema2beans/test/unit/src/data/TestNamespace.xml Thu Oct 12 14:35:56 2006 +0000
40.3 @@ -1,4 +1,22 @@
40.4 <?xml version='1.0' encoding='UTF-8' ?>
40.5 +<!--
40.6 +The contents of this file are subject to the terms of the Common Development
40.7 +and Distribution License (the License). You may not use this file except in
40.8 +compliance with the License.
40.9 +
40.10 +You can obtain a copy of the License at http://www.netbeans.org/cddl.html
40.11 +or http://www.netbeans.org/cddl.txt.
40.12 +
40.13 +When distributing Covered Code, include this CDDL Header Notice in each file
40.14 +and include the License file at http://www.netbeans.org/cddl.txt.
40.15 +If applicable, add the following below the CDDL Header, with the fields
40.16 +enclosed by brackets [] replaced by your own identifying information:
40.17 +"Portions Copyrighted [year] [name of copyright owner]"
40.18 +
40.19 +The Original Software is NetBeans. The Initial Developer of the Original
40.20 +Code is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
40.21 +Microsystems, Inc. All Rights Reserved.
40.22 +-->
40.23 <namespaceSample xmlns='http://anything.org/extension'>
40.24 <name>a name</name>
40.25 <config-property>
41.1 --- a/schema2beans/test/unit/src/data/TestOr.xml Wed Oct 11 16:21:39 2006 +0000
41.2 +++ b/schema2beans/test/unit/src/data/TestOr.xml Thu Oct 12 14:35:56 2006 +0000
41.3 @@ -1,4 +1,22 @@
41.4 <?xml version='1.0' encoding='UTF-8' ?>
41.5 +<!--
41.6 +The contents of this file are subject to the terms of the Common Development
41.7 +and Distribution License (the License). You may not use this file except in
41.8 +compliance with the License.
41.9 +
41.10 +You can obtain a copy of the License at http://www.netbeans.org/cddl.html
41.11 +or http://www.netbeans.org/cddl.txt.
41.12 +
41.13 +When distributing Covered Code, include this CDDL Header Notice in each file
41.14 +and include the License file at http://www.netbeans.org/cddl.txt.
41.15 +If applicable, add the following below the CDDL Header, with the fields
41.16 +enclosed by brackets [] replaced by your own identifying information:
41.17 +"Portions Copyrighted [year] [name of copyright owner]"
41.18 +
41.19 +The Original Software is NetBeans. The Initial Developer of the Original
41.20 +Code is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
41.21 +Microsystems, Inc. All Rights Reserved.
41.22 +-->
41.23 <top>
41.24 <cache-mapping>
41.25 <servlet-name>Mary</servlet-name>
42.1 --- a/schema2beans/test/unit/src/data/TestPositions.xml Wed Oct 11 16:21:39 2006 +0000
42.2 +++ b/schema2beans/test/unit/src/data/TestPositions.xml Thu Oct 12 14:35:56 2006 +0000
42.3 @@ -1,4 +1,22 @@
42.4 <?xml version='1.0' encoding='UTF-8' ?>
42.5 +<!--
42.6 +The contents of this file are subject to the terms of the Common Development
42.7 +and Distribution License (the License). You may not use this file except in
42.8 +compliance with the License.
42.9 +
42.10 +You can obtain a copy of the License at http://www.netbeans.org/cddl.html
42.11 +or http://www.netbeans.org/cddl.txt.
42.12 +
42.13 +When distributing Covered Code, include this CDDL Header Notice in each file
42.14 +and include the License file at http://www.netbeans.org/cddl.txt.
42.15 +If applicable, add the following below the CDDL Header, with the fields
42.16 +enclosed by brackets [] replaced by your own identifying information:
42.17 +"Portions Copyrighted [year] [name of copyright owner]"
42.18 +
42.19 +The Original Software is NetBeans. The Initial Developer of the Original
42.20 +Code is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
42.21 +Microsystems, Inc. All Rights Reserved.
42.22 +-->
42.23 <menus>
42.24 <menu>
42.25 <name>Tools</name>
43.1 --- a/schema2beans/test/unit/src/data/TestPurchaseOrder.java Wed Oct 11 16:21:39 2006 +0000
43.2 +++ b/schema2beans/test/unit/src/data/TestPurchaseOrder.java Thu Oct 12 14:35:56 2006 +0000
43.3 @@ -1,3 +1,21 @@
43.4 +/*
43.5 + * The contents of this file are subject to the terms of the Common Development
43.6 + * and Distribution License (the License). You may not use this file except in
43.7 + * compliance with the License.
43.8 + *
43.9 + * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
43.10 + * or http://www.netbeans.org/cddl.txt.
43.11 + *
43.12 + * When distributing Covered Code, include this CDDL Header Notice in each file
43.13 + * and include the License file at http://www.netbeans.org/cddl.txt.
43.14 + * If applicable, add the following below the CDDL Header, with the fields
43.15 + * enclosed by brackets [] replaced by your own identifying information:
43.16 + * "Portions Copyrighted [year] [name of copyright owner]"
43.17 + *
43.18 + * The Original Software is NetBeans. The Initial Developer of the Original
43.19 + * Code is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
43.20 + * Microsystems, Inc. All Rights Reserved.
43.21 + */
43.22 /*
43.23 * TestPurchaseOrder - test the basic features.
43.24 *
44.1 --- a/schema2beans/test/unit/src/data/TestPurchaseOrder.xml Wed Oct 11 16:21:39 2006 +0000
44.2 +++ b/schema2beans/test/unit/src/data/TestPurchaseOrder.xml Thu Oct 12 14:35:56 2006 +0000
44.3 @@ -1,4 +1,22 @@
44.4 <?xml version='1.0' encoding='UTF-8' ?>
44.5 +<!--
44.6 +The contents of this file are subject to the terms of the Common Development
44.7 +and Distribution License (the License). You may not use this file except in
44.8 +compliance with the License.
44.9 +
44.10 +You can obtain a copy of the License at http://www.netbeans.org/cddl.html
44.11 +or http://www.netbeans.org/cddl.txt.
44.12 +
44.13 +When distributing Covered Code, include this CDDL Header Notice in each file
44.14 +and include the License file at http://www.netbeans.org/cddl.txt.
44.15 +If applicable, add the following below the CDDL Header, with the fields
44.16 +enclosed by brackets [] replaced by your own identifying information:
44.17 +"Portions Copyrighted [year] [name of copyright owner]"
44.18 +
44.19 +The Original Software is NetBeans. The Initial Developer of the Original
44.20 +Code is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
44.21 +Microsystems, Inc. All Rights Reserved.
44.22 +-->
44.23 <purchaseOrder orderDate='20021010'>
44.24 <shipTo country="US">
44.25 <name>J</name>
45.1 --- a/schema2beans/test/unit/src/data/TestValid.java Wed Oct 11 16:21:39 2006 +0000
45.2 +++ b/schema2beans/test/unit/src/data/TestValid.java Thu Oct 12 14:35:56 2006 +0000
45.3 @@ -1,3 +1,21 @@
45.4 +/*
45.5 + * The contents of this file are subject to the terms of the Common Development
45.6 + * and Distribution License (the License). You may not use this file except in
45.7 + * compliance with the License.
45.8 + *
45.9 + * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
45.10 + * or http://www.netbeans.org/cddl.txt.
45.11 + *
45.12 + * When distributing Covered Code, include this CDDL Header Notice in each file
45.13 + * and include the License file at http://www.netbeans.org/cddl.txt.
45.14 + * If applicable, add the following below the CDDL Header, with the fields
45.15 + * enclosed by brackets [] replaced by your own identifying information:
45.16 + * "Portions Copyrighted [year] [name of copyright owner]"
45.17 + *
45.18 + * The Original Software is NetBeans. The Initial Developer of the Original
45.19 + * Code is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
45.20 + * Microsystems, Inc. All Rights Reserved.
45.21 + */
45.22 import java.io.*;
45.23 import book.*;
45.24
46.1 --- a/schema2beans/test/unit/src/data/TestValid.xml Wed Oct 11 16:21:39 2006 +0000
46.2 +++ b/schema2beans/test/unit/src/data/TestValid.xml Thu Oct 12 14:35:56 2006 +0000
46.3 @@ -1,5 +1,22 @@
46.4 <?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?>
46.5 +<!--
46.6 +The contents of this file are subject to the terms of the Common Development
46.7 +and Distribution License (the License). You may not use this file except in
46.8 +compliance with the License.
46.9
46.10 +You can obtain a copy of the License at http://www.netbeans.org/cddl.html
46.11 +or http://www.netbeans.org/cddl.txt.
46.12 +
46.13 +When distributing Covered Code, include this CDDL Header Notice in each file
46.14 +and include the License file at http://www.netbeans.org/cddl.txt.
46.15 +If applicable, add the following below the CDDL Header, with the fields
46.16 +enclosed by brackets [] replaced by your own identifying information:
46.17 +"Portions Copyrighted [year] [name of copyright owner]"
46.18 +
46.19 +The Original Software is NetBeans. The Initial Developer of the Original
46.20 +Code is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
46.21 +Microsystems, Inc. All Rights Reserved.
46.22 +-->
46.23 <!DOCTYPE book [
46.24 <!ELEMENT book (title?, chapter+, note?, paperback?, summary?, isbn?, price?)>
46.25 <!ELEMENT title (#PCDATA)>
47.1 --- a/schema2beans/test/unit/src/data/TestVeto.java Wed Oct 11 16:21:39 2006 +0000
47.2 +++ b/schema2beans/test/unit/src/data/TestVeto.java Thu Oct 12 14:35:56 2006 +0000
47.3 @@ -1,3 +1,21 @@
47.4 +/*
47.5 + * The contents of this file are subject to the terms of the Common Development
47.6 + * and Distribution License (the License). You may not use this file except in
47.7 + * compliance with the License.
47.8 + *
47.9 + * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
47.10 + * or http://www.netbeans.org/cddl.txt.
47.11 + *
47.12 + * When distributing Covered Code, include this CDDL Header Notice in each file
47.13 + * and include the License file at http://www.netbeans.org/cddl.txt.
47.14 + * If applicable, add the following below the CDDL Header, with the fields
47.15 + * enclosed by brackets [] replaced by your own identifying information:
47.16 + * "Portions Copyrighted [year] [name of copyright owner]"
47.17 + *
47.18 + * The Original Software is NetBeans. The Initial Developer of the Original
47.19 + * Code is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
47.20 + * Microsystems, Inc. All Rights Reserved.
47.21 + */
47.22 /*
47.23 * TestVeto - test the vetoable events
47.24 *
48.1 --- a/schema2beans/test/unit/src/data/TestVeto.xml Wed Oct 11 16:21:39 2006 +0000
48.2 +++ b/schema2beans/test/unit/src/data/TestVeto.xml Thu Oct 12 14:35:56 2006 +0000
48.3 @@ -1,5 +1,22 @@
48.4 <?xml version="1.0" encoding="ISO-8859-1"?>
48.5 +<!--
48.6 +The contents of this file are subject to the terms of the Common Development
48.7 +and Distribution License (the License). You may not use this file except in
48.8 +compliance with the License.
48.9
48.10 +You can obtain a copy of the License at http://www.netbeans.org/cddl.html
48.11 +or http://www.netbeans.org/cddl.txt.
48.12 +
48.13 +When distributing Covered Code, include this CDDL Header Notice in each file
48.14 +and include the License file at http://www.netbeans.org/cddl.txt.
48.15 +If applicable, add the following below the CDDL Header, with the fields
48.16 +enclosed by brackets [] replaced by your own identifying information:
48.17 +"Portions Copyrighted [year] [name of copyright owner]"
48.18 +
48.19 +The Original Software is NetBeans. The Initial Developer of the Original
48.20 +Code is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
48.21 +Microsystems, Inc. All Rights Reserved.
48.22 +-->
48.23 <book>
48.24 <chapter>
48.25 <comment>
49.1 --- a/schema2beans/test/unit/src/data/TestWebApp.java Wed Oct 11 16:21:39 2006 +0000
49.2 +++ b/schema2beans/test/unit/src/data/TestWebApp.java Thu Oct 12 14:35:56 2006 +0000
49.3 @@ -1,3 +1,21 @@
49.4 +/*
49.5 + * The contents of this file are subject to the terms of the Common Development
49.6 + * and Distribution License (the License). You may not use this file except in
49.7 + * compliance with the License.
49.8 + *
49.9 + * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
49.10 + * or http://www.netbeans.org/cddl.txt.
49.11 + *
49.12 + * When distributing Covered Code, include this CDDL Header Notice in each file
49.13 + * and include the License file at http://www.netbeans.org/cddl.txt.
49.14 + * If applicable, add the following below the CDDL Header, with the fields
49.15 + * enclosed by brackets [] replaced by your own identifying information:
49.16 + * "Portions Copyrighted [year] [name of copyright owner]"
49.17 + *
49.18 + * The Original Software is NetBeans. The Initial Developer of the Original
49.19 + * Code is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
49.20 + * Microsystems, Inc. All Rights Reserved.
49.21 + */
49.22 /*
49.23 * TestWebApp - test the basic features.
49.24 *
50.1 --- a/schema2beans/test/unit/src/data/TestWebApp.xml Wed Oct 11 16:21:39 2006 +0000
50.2 +++ b/schema2beans/test/unit/src/data/TestWebApp.xml Thu Oct 12 14:35:56 2006 +0000
50.3 @@ -1,5 +1,22 @@
50.4 <?xml version='1.0'?>
50.5 +<!--
50.6 +The contents of this file are subject to the terms of the Common Development
50.7 +and Distribution License (the License). You may not use this file except in
50.8 +compliance with the License.
50.9
50.10 +You can obtain a copy of the License at http://www.netbeans.org/cddl.html
50.11 +or http://www.netbeans.org/cddl.txt.
50.12 +
50.13 +When distributing Covered Code, include this CDDL Header Notice in each file
50.14 +and include the License file at http://www.netbeans.org/cddl.txt.
50.15 +If applicable, add the following below the CDDL Header, with the fields
50.16 +enclosed by brackets [] replaced by your own identifying information:
50.17 +"Portions Copyrighted [year] [name of copyright owner]"
50.18 +
50.19 +The Original Software is NetBeans. The Initial Developer of the Original
50.20 +Code is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
50.21 +Microsystems, Inc. All Rights Reserved.
50.22 +-->
50.23 <web-app>
50.24 <description>This is my Web App</description>
50.25 <display-name>MyWebApp</display-name>
51.1 --- a/schema2beans/test/unit/src/data/TestWebAppDelegator.xml Wed Oct 11 16:21:39 2006 +0000
51.2 +++ b/schema2beans/test/unit/src/data/TestWebAppDelegator.xml Thu Oct 12 14:35:56 2006 +0000
51.3 @@ -1,5 +1,22 @@
51.4 <?xml version='1.0'?>
51.5 +<!--
51.6 +The contents of this file are subject to the terms of the Common Development
51.7 +and Distribution License (the License). You may not use this file except in
51.8 +compliance with the License.
51.9
51.10 +You can obtain a copy of the License at http://www.netbeans.org/cddl.html
51.11 +or http://www.netbeans.org/cddl.txt.
51.12 +
51.13 +When distributing Covered Code, include this CDDL Header Notice in each file
51.14 +and include the License file at http://www.netbeans.org/cddl.txt.
51.15 +If applicable, add the following below the CDDL Header, with the fields
51.16 +enclosed by brackets [] replaced by your own identifying information:
51.17 +"Portions Copyrighted [year] [name of copyright owner]"
51.18 +
51.19 +The Original Software is NetBeans. The Initial Developer of the Original
51.20 +Code is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
51.21 +Microsystems, Inc. All Rights Reserved.
51.22 +-->
51.23 <web-app>
51.24 <description>This is my Web App</description>
51.25 <display-name>MyWebApp</display-name>
52.1 --- a/schema2beans/test/unit/src/data/TestWebAppDelegatorBaseBean.xml Wed Oct 11 16:21:39 2006 +0000
52.2 +++ b/schema2beans/test/unit/src/data/TestWebAppDelegatorBaseBean.xml Thu Oct 12 14:35:56 2006 +0000
52.3 @@ -1,5 +1,22 @@
52.4 <?xml version='1.0'?>
52.5 +<!--
52.6 +The contents of this file are subject to the terms of the Common Development
52.7 +and Distribution License (the License). You may not use this file except in
52.8 +compliance with the License.
52.9
52.10 +You can obtain a copy of the License at http://www.netbeans.org/cddl.html
52.11 +or http://www.netbeans.org/cddl.txt.
52.12 +
52.13 +When distributing Covered Code, include this CDDL Header Notice in each file
52.14 +and include the License file at http://www.netbeans.org/cddl.txt.
52.15 +If applicable, add the following below the CDDL Header, with the fields
52.16 +enclosed by brackets [] replaced by your own identifying information:
52.17 +"Portions Copyrighted [year] [name of copyright owner]"
52.18 +
52.19 +The Original Software is NetBeans. The Initial Developer of the Original
52.20 +Code is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
52.21 +Microsystems, Inc. All Rights Reserved.
52.22 +-->
52.23 <web-app>
52.24 <description>This is my Web App</description>
52.25 <display-name>MyWebApp</display-name>
53.1 --- a/schema2beans/test/unit/src/data/book/MyDate.java Wed Oct 11 16:21:39 2006 +0000
53.2 +++ b/schema2beans/test/unit/src/data/book/MyDate.java Thu Oct 12 14:35:56 2006 +0000
53.3 @@ -1,3 +1,21 @@
53.4 +/*
53.5 + * The contents of this file are subject to the terms of the Common Development
53.6 + * and Distribution License (the License). You may not use this file except in
53.7 + * compliance with the License.
53.8 + *
53.9 + * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
53.10 + * or http://www.netbeans.org/cddl.txt.
53.11 + *
53.12 + * When distributing Covered Code, include this CDDL Header Notice in each file
53.13 + * and include the License file at http://www.netbeans.org/cddl.txt.
53.14 + * If applicable, add the following below the CDDL Header, with the fields
53.15 + * enclosed by brackets [] replaced by your own identifying information:
53.16 + * "Portions Copyrighted [year] [name of copyright owner]"
53.17 + *
53.18 + * The Original Software is NetBeans. The Initial Developer of the Original
53.19 + * Code is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
53.20 + * Microsystems, Inc. All Rights Reserved.
53.21 + */
53.22 /*
53.23 */
53.24 package book;
54.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
54.2 +++ b/schema2beans/test/unit/src/data/goldenfiles/TestMain/testBadNames.pass Thu Oct 12 14:35:56 2006 +0000
54.3 @@ -0,0 +1,43 @@
54.4 +Calling GenBeans.doIt
54.5 +Bean Tree:
54.6 +badNames <bad-names> : BadNames
54.7 + elT <elT> : ElT
54.8 + [attr: class CDATA #REQUIRED : java.lang.String]
54.9 + [attr: package CDATA #IMPLIED : java.lang.String]
54.10 + property2 <property> : int
54.11 +
54.12 +Compiling
54.13 +Finished compiling: 0
54.14 +out: TestBadNames - creating the DOM document
54.15 +out: TestBadNames - creating the bean graph
54.16 +out: TestBadNames - bean graph created
54.17 +out: <?xml version="1.0" encoding="UTF-8"?>
54.18 +out: <bad-names>
54.19 +out: <el class="c" package="p">
54.20 +out: <property>-9</property>
54.21 +out: </el>
54.22 +out: </bad-names>
54.23 +out: <?xml version="1.0" encoding="UTF-8"?>
54.24 +out: <bad-names>
54.25 +out: <el class="c" package="p">
54.26 +out: <property>-9</property>
54.27 +out: </el>
54.28 +out: </bad-names>
54.29 +out: TestBadNames - BadNames
54.30 +out:
54.31 +out: ElT
54.32 +out: null
54.33 +out: TestBadNames - e=null
54.34 +out: TestBadNames - BadNames
54.35 +out:
54.36 +out: ElT
54.37 +out: <?xml version="1.0" encoding="UTF-8"?>
54.38 +out: <bad-names>
54.39 +out: <el class="c" package="p">
54.40 +out: <property>-9</property>
54.41 +out: </el>
54.42 +out: <elT class="other c" package="5">
54.43 +out: <property>0</property>
54.44 +out: </elT>
54.45 +out: </bad-names>
54.46 +Finished running TestBadNames: 0
55.1 --- a/schema2beans/test/unit/src/data/goldenfiles/TestMain/testEncoding.pass Wed Oct 11 16:21:39 2006 +0000
55.2 +++ b/schema2beans/test/unit/src/data/goldenfiles/TestMain/testEncoding.pass Thu Oct 12 14:35:56 2006 +0000
55.3 @@ -85,7 +85,7 @@
55.4 out: <!-- -->
55.5 out: <!-- <!DOCTYPE FORTEDDL SYSTEM "TestEncoding.dtd" []> -->
55.6 out: <FORTEDDL>
55.7 -out: <PHASE OBJECTTYPE="MetaPlan.MetaClass" OBJECTNAME="c1" NUMBER="1">
55.8 +out: <PHASE NUMBER="1" OBJECTNAME="c1" OBJECTTYPE="MetaPlan.MetaClass">
55.9 out: <ATTRIBUTE NAME="Name">c1</ATTRIBUTE>
55.10 out: <ATTRIBUTE NAME="MethodArray">
55.11 out: <ARRAY>
55.12 @@ -113,7 +113,7 @@
55.13 out: </MYOBJECT>
55.14 out: </ARRAY>
55.15 out: </ATTRIBUTE>
55.16 -out: <ANNOTATION OBJECTTYPE="CrossRefInfo" NAME="cr1">
55.17 +out: <ANNOTATION NAME="cr1" OBJECTTYPE="CrossRefInfo">
55.18 out: <ATTRIBUTE NAME="InfoArray">
55.19 out: <ARRAY>
55.20 out: <MYOBJECT CLASS="infoItem">
56.1 --- a/schema2beans/test/unit/src/data/goldenfiles/TestMain/testMerge.pass Wed Oct 11 16:21:39 2006 +0000
56.2 +++ b/schema2beans/test/unit/src/data/goldenfiles/TestMain/testMerge.pass Thu Oct 12 14:35:56 2006 +0000
56.3 @@ -283,7 +283,7 @@
56.4 out: <?xml version="1.0" encoding="UTF-8"?>
56.5 out: <book good="no">
56.6 out: <!-- BLUE -->
56.7 -out: <summary size="12" length="123" lang="us">
56.8 +out: <summary lang="us" length="123" size="12">
56.9 out: This book is about the life of a book spent between books who dreamed
56.10 out: to meet a fairy who could transform it into an XML book and travel
56.11 out: in an electronic boundary-less world.
56.12 @@ -320,7 +320,7 @@
56.13 out: Empty chapter
56.14 out: </comment>
56.15 out: </chapter>
56.16 -out: <index cross-ref="no" color="blue">
56.17 +out: <index color="blue" cross-ref="no">
56.18 out: <word>
56.19 out: Good book
56.20 out: </word>
57.1 --- a/schema2beans/test/unit/src/data/goldenfiles/TestMain/testWebAppDelegatorBaseBean.pass Wed Oct 11 16:21:39 2006 +0000
57.2 +++ b/schema2beans/test/unit/src/data/goldenfiles/TestMain/testWebAppDelegatorBaseBean.pass Thu Oct 12 14:35:56 2006 +0000
57.3 @@ -250,7 +250,7 @@
57.4 out: TestWebAppDelegatorBaseBean - creating the bean graph
57.5 out: TestWebAppDelegatorBaseBean - bean graph created
57.6 out: <?xml version="1.0" encoding="UTF-8"?>
57.7 -out: <web-app xmlns="http://java.sun.com/xml/ns/j2ee" version="2.4">
57.8 +out: <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee">
57.9 out: <description>This is my Web App</description>
57.10 out: <display-name>MyWebApp</display-name>
57.11 out: <thing>
57.12 @@ -271,7 +271,7 @@
57.13 out: </web-app>
57.14 out: TestWebAppDelegatorBaseBean - making some minor changes
57.15 out: <?xml version="1.0" encoding="UTF-8"?>
57.16 -out: <web-app xmlns="http://java.sun.com/xml/ns/j2ee" version="2.4">
57.17 +out: <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee">
57.18 out: <description>Changed the description</description>
57.19 out: <display-name>MyWebApp</display-name>
57.20 out: <thing>
57.21 @@ -297,7 +297,7 @@
57.22 out: TestWebAppDelegatorBaseBean null candidate 0 is good -> OK
57.23 out: TestWebAppDelegatorBaseBean null candidate 1 is not good -> OK
57.24 out: <?xml version="1.0" encoding="UTF-8"?>
57.25 -out: <web-app xmlns="http://java.sun.com/xml/ns/j2ee" version="2.4">
57.26 +out: <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee">
57.27 out: <description>Changed the description</description>
57.28 out: <display-name>MyWebApp</display-name>
57.29 out: <thing>
57.30 @@ -328,7 +328,7 @@
57.31 out: TestWebAppDelegatorBaseBean null Got good validate exception: getWebResourceName() == null -> OK
57.32 out: TestWebAppDelegatorBaseBean null Got good validate exception: sizeUrlPattern() == 0 -> OK
57.33 out: <?xml version="1.0" encoding="UTF-8"?>
57.34 -out: <web-app xmlns="http://java.sun.com/xml/ns/j2ee" version="2.4">
57.35 +out: <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee">
57.36 out: <description>Changed the description</description>
57.37 out: <display-name>MyWebApp</display-name>
57.38 out: <thing>
57.39 @@ -360,7 +360,7 @@
57.40 out: </web-app>
57.41 out: TestWebAppDelegatorBaseBean - Add some descriptions with xml:lang attributes.
57.42 out: <?xml version="1.0" encoding="UTF-8"?>
57.43 -out: <web-app xmlns="http://java.sun.com/xml/ns/j2ee" version="2.4">
57.44 +out: <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee">
57.45 out: <description xml:lang="en">Changed the description</description>
57.46 out: <description xml:lang="de">Das ist mein App.</description>
57.47 out: <display-name>MyWebApp</display-name>
57.48 @@ -396,7 +396,7 @@
57.49 out: TestWebAppDelegatorBaseBean null thing2 -> OK
57.50 out: TestWebAppDelegatorBaseBean null thing3 -> OK
57.51 out: <?xml version="1.0" encoding="UTF-8"?>
57.52 -out: <web-app xmlns="http://java.sun.com/xml/ns/j2ee" version="2.4" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
57.53 +out: <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
57.54 out: <description xml:lang="en">Changed the description</description>
57.55 out: <description xml:lang="de">Das ist mein App.</description>
57.56 out: <display-name>MyWebApp</display-name>
58.1 --- a/schema2beans/test/unit/src/data/tm01_g1.xml Wed Oct 11 16:21:39 2006 +0000
58.2 +++ b/schema2beans/test/unit/src/data/tm01_g1.xml Thu Oct 12 14:35:56 2006 +0000
58.3 @@ -1,5 +1,22 @@
58.4 <?xml version="1.0" encoding="ISO-8859-1"?>
58.5 +<!--
58.6 +The contents of this file are subject to the terms of the Common Development
58.7 +and Distribution License (the License). You may not use this file except in
58.8 +compliance with the License.
58.9
58.10 +You can obtain a copy of the License at http://www.netbeans.org/cddl.html
58.11 +or http://www.netbeans.org/cddl.txt.
58.12 +
58.13 +When distributing Covered Code, include this CDDL Header Notice in each file
58.14 +and include the License file at http://www.netbeans.org/cddl.txt.
58.15 +If applicable, add the following below the CDDL Header, with the fields
58.16 +enclosed by brackets [] replaced by your own identifying information:
58.17 +"Portions Copyrighted [year] [name of copyright owner]"
58.18 +
58.19 +The Original Software is NetBeans. The Initial Developer of the Original
58.20 +Code is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
58.21 +Microsystems, Inc. All Rights Reserved.
58.22 +-->
58.23 <book>
58.24 <author>
58.25 John Smith
59.1 --- a/schema2beans/test/unit/src/data/tm01_g2.xml Wed Oct 11 16:21:39 2006 +0000
59.2 +++ b/schema2beans/test/unit/src/data/tm01_g2.xml Thu Oct 12 14:35:56 2006 +0000
59.3 @@ -1,5 +1,22 @@
59.4 <?xml version="1.0" encoding="ISO-8859-1"?>
59.5 +<!--
59.6 +The contents of this file are subject to the terms of the Common Development
59.7 +and Distribution License (the License). You may not use this file except in
59.8 +compliance with the License.
59.9
59.10 +You can obtain a copy of the License at http://www.netbeans.org/cddl.html
59.11 +or http://www.netbeans.org/cddl.txt.
59.12 +
59.13 +When distributing Covered Code, include this CDDL Header Notice in each file
59.14 +and include the License file at http://www.netbeans.org/cddl.txt.
59.15 +If applicable, add the following below the CDDL Header, with the fields
59.16 +enclosed by brackets [] replaced by your own identifying information:
59.17 +"Portions Copyrighted [year] [name of copyright owner]"
59.18 +
59.19 +The Original Software is NetBeans. The Initial Developer of the Original
59.20 +Code is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
59.21 +Microsystems, Inc. All Rights Reserved.
59.22 +-->
59.23 <book>
59.24 <summary size="12">
59.25 This book is about the life of a book spent between books who dreamed
60.1 --- a/schema2beans/test/unit/src/data/tm01_g3.xml Wed Oct 11 16:21:39 2006 +0000
60.2 +++ b/schema2beans/test/unit/src/data/tm01_g3.xml Thu Oct 12 14:35:56 2006 +0000
60.3 @@ -1,5 +1,22 @@
60.4 <?xml version="1.0" encoding="ISO-8859-1"?>
60.5 +<!--
60.6 +The contents of this file are subject to the terms of the Common Development
60.7 +and Distribution License (the License). You may not use this file except in
60.8 +compliance with the License.
60.9
60.10 +You can obtain a copy of the License at http://www.netbeans.org/cddl.html
60.11 +or http://www.netbeans.org/cddl.txt.
60.12 +
60.13 +When distributing Covered Code, include this CDDL Header Notice in each file
60.14 +and include the License file at http://www.netbeans.org/cddl.txt.
60.15 +If applicable, add the following below the CDDL Header, with the fields
60.16 +enclosed by brackets [] replaced by your own identifying information:
60.17 +"Portions Copyrighted [year] [name of copyright owner]"
60.18 +
60.19 +The Original Software is NetBeans. The Initial Developer of the Original
60.20 +Code is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
60.21 +Microsystems, Inc. All Rights Reserved.
60.22 +-->
60.23 <book good="no">
60.24 <summary length="123" lang="us" size="12">
60.25 This book is about the life of a book spent between books who dreamed
61.1 --- a/schema2beans/test/unit/src/data/tm01_g4.xml Wed Oct 11 16:21:39 2006 +0000
61.2 +++ b/schema2beans/test/unit/src/data/tm01_g4.xml Thu Oct 12 14:35:56 2006 +0000
61.3 @@ -1,5 +1,22 @@
61.4 <?xml version="1.0" encoding="ISO-8859-1"?>
61.5 +<!--
61.6 +The contents of this file are subject to the terms of the Common Development
61.7 +and Distribution License (the License). You may not use this file except in
61.8 +compliance with the License.
61.9
61.10 +You can obtain a copy of the License at http://www.netbeans.org/cddl.html
61.11 +or http://www.netbeans.org/cddl.txt.
61.12 +
61.13 +When distributing Covered Code, include this CDDL Header Notice in each file
61.14 +and include the License file at http://www.netbeans.org/cddl.txt.
61.15 +If applicable, add the following below the CDDL Header, with the fields
61.16 +enclosed by brackets [] replaced by your own identifying information:
61.17 +"Portions Copyrighted [year] [name of copyright owner]"
61.18 +
61.19 +The Original Software is NetBeans. The Initial Developer of the Original
61.20 +Code is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
61.21 +Microsystems, Inc. All Rights Reserved.
61.22 +-->
61.23 <book good="no">
61.24 <!-- BLUE -->
61.25 <summary length="123" lang="us" size="12">
62.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
62.2 +++ b/serverplugins/external/JavaAVK_Plugin5_EntitlementOnly(20060507).txt Thu Oct 12 14:35:56 2006 +0000
62.3 @@ -0,0 +1,120 @@
62.4 +
62.5 +Sun Microsystems, Inc. ENTITLEMENT for SOFTWARE
62.6 +
62.7 +Licensee/Company: Entity receiving Software.
62.8 +
62.9 +Effective Date: Date Sun delivers the Software to You.
62.10 +
62.11 +Software: Java Application Verification Kit for the Enterprise Plug in, Version 5.
62.12 +
62.13 +Host Software: NetBeans.
62.14 +
62.15 +License Term: Perpetual (subject to termination under the SLA).
62.16 +
62.17 +Licensed Unit: Software Copy.
62.18 +
62.19 +Licensed unit Count: Unlimited.
62.20 +
62.21 +Permitted Use: You may reproduce and use the Software for Your own Individual, Commercial, or Research and Instructional Use for the purposes of designing, developing, testing, and running Your applets and application, subject to and conditioned on Your compliance with the Additional Terms below. You may only use the Software in conjunction with Your use of Host Software and not on a stand alone basis. If You do not have a valid license to use the Host Software, You may not use the Software for any Permitted Use, including Evaluation Use.
62.22 +
62.23 +(1) The Software contains application Testing software components ("Verifier") for your convenience. You may not use the "Java Verified for the Enterprise" trademark or logo or similar phrase designated by Sun to indicate your application's satisfaction of the Java Verified for the Enterprise Criteria ("Verification Tagline") based on the use of Software or Verifier under this Agreement. To obtain the right to use a Verification Tagline, you must license the Java Application Verification Kit (AVK) for the Enterprise from Sun, pay applicable fees, and execute a separate trademark license for the Verification Tagline.
62.24 +
62.25 +(2) Java Technology Restrictions. You may not create, modify, or change the behavior of, or authorize your licensees to create, modify, or change the behavior of, 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.
62.26 +
62.27 +
62.28 +Sun Microsystems, Inc. ("Sun")
62.29 +SOFTWARE LICENSE AGREEMENT
62.30 +
62.31 +READ THE TERMS OF THIS AGREEMENT ("AGREEMENT") CAREFULLY BEFORE OPENING SOFTWARE MEDIA PACKAGE. BY OPENING SOFTWARE MEDIA PACKAGE, YOU AGREE TO THE TERMS OF THIS AGREEMENT. IF YOU ARE ACCESSING 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 OF THE TERMS, PROMPTLY RETURN THE UNUSED SOFTWARE TO YOUR PLACE OF PURCHASE FOR A REFUND OR, IF SOFTWARE IS ACCESSED ELECTRONICALLY, SELECT THE "DECLINE" (OR "EXIT") BUTTON AT THE END OF THIS AGREEMENT. IF YOU HAVE SEPARATELY AGREED TO LICENSE TERMS ("MASTER TERMS") FOR YOUR LICENSE TO THIS SOFTWARE, THEN SECTIONS 1-5 OF THIS AGREEMENT ("SUPPLEMENTAL LICENSE TERMS") SHALL SUPPLEMENT AND SUPERSEDE THE MASTER TERMS IN RELATION TO THIS SOFTWARE.
62.32 +
62.33 +1. Definitions.
62.34 +
62.35 +(a) "Entitlement" means the collective set of applicable documents authorized by Sun evidencing your obligation to pay associated fees (if any) for the license, associated Services, and the authorized scope of use of Software under this Agreement.
62.36 +
62.37 +(b) "Licensed Unit" means the unit of measure by which your use of Software and/or Service is licensed, as described in your Entitlement.
62.38 +
62.39 +(c) "Permitted Use" means the licensed Software use(s) authorized in this Agreement as specified in your Entitlement. The Permitted Use for any bundled Sun software not specified in your Entitlement will be evaluation use as provided in Section 3.
62.40 +
62.41 +(d) "Service" means the service(s) that Sun or its delegate will provide, if any, as selected in your Entitlement and as further described in the applicable service listings at www.sun.com/service/servicelist.
62.42 +
62.43 +(e) "Software" means the Sun software described in your Entitlement. Also, certain software may be included for evaluation use under Section 3.
62.44 +
62.45 +(f) "You" and "Your" means the individual or legal entity specified in the Entitlement, or for evaluation purposes, the entity performing the evaluation.
62.46 +
62.47 +2. License Grant and Entitlement.
62.48 +
62.49 +Subject to the terms of your Entitlement, Sun grants you a nonexclusive, nontransferable limited license to use Software for its Permitted Use for the license term. Your Entitlement will specify (a) Software licensed, (b) the Permitted Use, (c) the license term, and (d) the Licensed Units.
62.50 +
62.51 +Additionally, if your Entitlement includes Services, then it will also specify the (e) Service and (f) service term.
62.52 +
62.53 +If your rights to Software or Services are limited in duration and the date such rights begin is other than the purchase date, your Entitlement will provide that beginning date(s).
62.54 +
62.55 +The Entitlement may be delivered to you in various ways depending on the manner in which you obtain Software and Services, for example, the Entitlement may be provided in your receipt, invoice or your contract with Sun or authorized Sun reseller. It may also be in electronic format if you download Software.
62.56 +
62.57 +3. Permitted Use.
62.58 +
62.59 +As selected in your Entitlement, one or more of the following Permitted Uses will apply to your use of Software. Unless you have an Entitlement that expressly permits it, you may not use Software for any of the other Permitted Uses. If you don't have an Entitlement, or if your Entitlement doesn't cover additional software delivered to you, then such software is for your Evaluation Use.
62.60 +
62.61 +(a) Evaluation Use. You may evaluate Software internally for a period of 90 days from your first use.
62.62 +
62.63 +(b) Research and Instructional Use. You may use Software internally to design, develop and test, and also to provide instruction on such uses.
62.64 +
62.65 +(c) Individual Use. You may use Software internally for personal, individual use.
62.66 +
62.67 +(d) Commercial Use. You may use Software internally for your own commercial purposes.
62.68 +
62.69 +(e) Service Provider Use. You may make Software functionality accessible (but not by providing Software itself or through outsourcing services) to your end users in an extranet deployment, but not to your affiliated companies or to government agencies.
62.70 +
62.71 +4. Licensed Units.
62.72 +
62.73 +Your Permitted Use is limited to the number of Licensed Units stated in your Entitlement. If you require additional Licensed Units, you will need additional Entitlement(s).
62.74 +
62.75 +5. Restrictions.
62.76 +
62.77 +(a) The copies of Software provided to you under this Agreement are licensed, not sold, to you by Sun. Sun reserves all rights not expressly granted. (b) You may make a single archival copy of Software, but otherwise may not copy, modify, or distribute Software. However if the Sun documentation accompanying Software lists specific portions of Software, such as header files, class libraries, reference source code, and/or redistributable files, that may be handled differently, you may do so only as provided in the Sun documentation. (c) You may not rent, lease, lend or encumber Software. (d) Unless enforcement is prohibited by applicable law, you may not decompile, or reverse engineer Software. (e) The terms and conditions of this Agreement will apply to any Software updates, provided to you at Sun's discretion, that replace and/or supplement the original Software, unless such update contains a separate license. (f) You may not publish or provide the results of any benchmark or comparison tests run on Software to any third party without the prior written consent of Sun. (g) Software is confidential and copyrighted. (h) Unless otherwise specified, if Software is delivered with embedded or bundled software that enables functionality of Software, you may not use such software on a stand-alone basis or use any portion of such software to interoperate with any program(s) other than Software. (i) Software may contain programs that perform automated collection of system data and/or automated software updating services. System data collected through such programs may be used by Sun, its subcontractors, and its service delivery partners for the purpose of providing you with remote system services and/or improving Sun's software and systems. (j) Software is not designed, licensed or intended for use in the design, construction, operation or maintenance of any nuclear facility and Sun and its licensors disclaim any express or implied warranty of fitness for such uses. (k) 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.
62.78 +
62.79 +6. Term and Termination.
62.80 +
62.81 +The license and service term are set forth in your Entitlement(s). Your rights under this Agreement will terminate immediately without notice from Sun if you materially breach it or take any action in derogation of Sun's and/or its licensors' rights to Software. Sun may terminate this Agreement should any Software become, or in Sun's reasonable opinion likely to become, the subject of a claim of intellectual property infringement or trade secret misappropriation. Upon termination, you will cease use of, and destroy, Software and confirm compliance in writing to Sun. Sections 1, 5, 6, 7, and 9-15 will survive termination of the Agreement.
62.82 +
62.83 +7. Java Compatibility and Open Source.
62.84 +
62.85 +Software may contain Java technology. You may not create additional classes to, or modifications of, the Java technology, except under compatibility requirements available under a separate agreement available at www.java.net.
62.86 +
62.87 +Sun supports and benefits from the global community of open source developers, and thanks the community for its important contributions and open standards-based technology, which Sun has adopted into many of its products.
62.88 +
62.89 +Please note that portions of Software may be provided with notices and open source licenses from such communities and third parties that govern the use of those portions, and any licenses granted hereunder do not alter any rights and obligations you may have under such open source licenses, however, the disclaimer of warranty and limitation of liability provisions in this Agreement will apply to all Software in this distribution.
62.90 +
62.91 +8. Limited Warranty.
62.92 +
62.93 +Sun warrants to you that for a period of 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. Some states do not allow limitations on certain implied warranties, so the above may not apply to you. This limited warranty gives you specific legal rights. You may have others, which vary from state to state.
62.94 +
62.95 +9. Disclaimer of Warranty.
62.96 +
62.97 +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.
62.98 +
62.99 +10. Limitation of Liability.
62.100 +
62.101 +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. Some states do not allow the exclusion of incidental or consequential damages, so some of the terms above may not be applicable to you.
62.102 +
62.103 +11. Export Regulations.
62.104 +
62.105 +All Software, documents, technical data, and any other materials delivered under this Agreement are subject to U.S. export control laws and may be subject to export or import regulations in other countries. You agree to comply strictly with these laws and regulations and acknowledge that you have the responsibility to obtain any licenses to export, re-export, or import as may be required after delivery to you.
62.106 +
62.107 +12. U.S. Government Restricted Rights.
62.108 +
62.109 +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).
62.110 +
62.111 +13. Governing Law.
62.112 +
62.113 +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.
62.114 +
62.115 +14. Severability.
62.116 +
62.117 +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.
62.118 +
62.119 +15. Integration.
62.120 +
62.121 +This Agreement, including any terms contained in your Entitlement, 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.
62.122 +
62.123 +Please contact Sun Microsystems, Inc. 4150 Network Circle, Santa Clara, California 95054 if you have questions.
63.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
63.2 +++ b/serverplugins/external/JavaAVK_Plugin5_SLA&Entitlement(20060507).txt Thu Oct 12 14:35:56 2006 +0000
63.3 @@ -0,0 +1,120 @@
63.4 +
63.5 +Sun Microsystems, Inc. ENTITLEMENT for SOFTWARE
63.6 +
63.7 +Licensee/Company: Entity receiving Software.
63.8 +
63.9 +Effective Date: Date Sun delivers the Software to You.
63.10 +
63.11 +Software: Java Application Verification Kit for the Enterprise Plug in, Version 5.
63.12 +
63.13 +Host Software: NetBeans.
63.14 +
63.15 +License Term: Perpetual (subject to termination under the SLA).
63.16 +
63.17 +Licensed Unit: Software Copy.
63.18 +
63.19 +Licensed unit Count: Unlimited.
63.20 +
63.21 +Permitted Use: You may reproduce and use the Software for Your own Individual, Commercial, or Research and Instructional Use for the purposes of designing, developing, testing, and running Your applets and application, subject to and conditioned on Your compliance with the Additional Terms below. You may only use the Software in conjunction with Your use of Host Software and not on a stand alone basis. If You do not have a valid license to use the Host Software, You may not use the Software for any Permitted Use, including Evaluation Use.
63.22 +
63.23 +(1) The Software contains application Testing software components ("Verifier") for your convenience. You may not use the "Java Verified for the Enterprise" trademark or logo or similar phrase designated by Sun to indicate your application's satisfaction of the Java Verified for the Enterprise Criteria ("Verification Tagline") based on the use of Software or Verifier under this Agreement. To obtain the right to use a Verification Tagline, you must license the Java Application Verification Kit (AVK) for the Enterprise from Sun, pay applicable fees, and execute a separate trademark license for the Verification Tagline.
63.24 +
63.25 +(2) Java Technology Restrictions. You may not create, modify, or change the behavior of, or authorize your licensees to create, modify, or change the behavior of, 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.
63.26 +
63.27 +
63.28 +Sun Microsystems, Inc. ("Sun")
63.29 +SOFTWARE LICENSE AGREEMENT
63.30 +
63.31 +READ THE TERMS OF THIS AGREEMENT ("AGREEMENT") CAREFULLY BEFORE OPENING SOFTWARE MEDIA PACKAGE. BY OPENING SOFTWARE MEDIA PACKAGE, YOU AGREE TO THE TERMS OF THIS AGREEMENT. IF YOU ARE ACCESSING 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 OF THE TERMS, PROMPTLY RETURN THE UNUSED SOFTWARE TO YOUR PLACE OF PURCHASE FOR A REFUND OR, IF SOFTWARE IS ACCESSED ELECTRONICALLY, SELECT THE "DECLINE" (OR "EXIT") BUTTON AT THE END OF THIS AGREEMENT. IF YOU HAVE SEPARATELY AGREED TO LICENSE TERMS ("MASTER TERMS") FOR YOUR LICENSE TO THIS SOFTWARE, THEN SECTIONS 1-5 OF THIS AGREEMENT ("SUPPLEMENTAL LICENSE TERMS") SHALL SUPPLEMENT AND SUPERSEDE THE MASTER TERMS IN RELATION TO THIS SOFTWARE.
63.32 +
63.33 +1. Definitions.
63.34 +
63.35 +(a) "Entitlement" means the collective set of applicable documents authorized by Sun evidencing your obligation to pay associated fees (if any) for the license, associated Services, and the authorized scope of use of Software under this Agreement.
63.36 +
63.37 +(b) "Licensed Unit" means the unit of measure by which your use of Software and/or Service is licensed, as described in your Entitlement.
63.38 +
63.39 +(c) "Permitted Use" means the licensed Software use(s) authorized in this Agreement as specified in your Entitlement. The Permitted Use for any bundled Sun software not specified in your Entitlement will be evaluation use as provided in Section 3.
63.40 +
63.41 +(d) "Service" means the service(s) that Sun or its delegate will provide, if any, as selected in your Entitlement and as further described in the applicable service listings at www.sun.com/service/servicelist.
63.42 +
63.43 +(e) "Software" means the Sun software described in your Entitlement. Also, certain software may be included for evaluation use under Section 3.
63.44 +
63.45 +(f) "You" and "Your" means the individual or legal entity specified in the Entitlement, or for evaluation purposes, the entity performing the evaluation.
63.46 +
63.47 +2. License Grant and Entitlement.
63.48 +
63.49 +Subject to the terms of your Entitlement, Sun grants you a nonexclusive, nontransferable limited license to use Software for its Permitted Use for the license term. Your Entitlement will specify (a) Software licensed, (b) the Permitted Use, (c) the license term, and (d) the Licensed Units.
63.50 +
63.51 +Additionally, if your Entitlement includes Services, then it will also specify the (e) Service and (f) service term.
63.52 +
63.53 +If your rights to Software or Services are limited in duration and the date such rights begin is other than the purchase date, your Entitlement will provide that beginning date(s).
63.54 +
63.55 +The Entitlement may be delivered to you in various ways depending on the manner in which you obtain Software and Services, for example, the Entitlement may be provided in your receipt, invoice or your contract with Sun or authorized Sun reseller. It may also be in electronic format if you download Software.
63.56 +
63.57 +3. Permitted Use.
63.58 +
63.59 +As selected in your Entitlement, one or more of the following Permitted Uses will apply to your use of Software. Unless you have an Entitlement that expressly permits it, you may not use Software for any of the other Permitted Uses. If you don't have an Entitlement, or if your Entitlement doesn't cover additional software delivered to you, then such software is for your Evaluation Use.
63.60 +
63.61 +(a) Evaluation Use. You may evaluate Software internally for a period of 90 days from your first use.
63.62 +
63.63 +(b) Research and Instructional Use. You may use Software internally to design, develop and test, and also to provide instruction on such uses.
63.64 +
63.65 +(c) Individual Use. You may use Software internally for personal, individual use.
63.66 +
63.67 +(d) Commercial Use. You may use Software internally for your own commercial purposes.
63.68 +
63.69 +(e) Service Provider Use. You may make Software functionality accessible (but not by providing Software itself or through outsourcing services) to your end users in an extranet deployment, but not to your affiliated companies or to government agencies.
63.70 +
63.71 +4. Licensed Units.
63.72 +
63.73 +Your Permitted Use is limited to the number of Licensed Units stated in your Entitlement. If you require additional Licensed Units, you will need additional Entitlement(s).
63.74 +
63.75 +5. Restrictions.
63.76 +
63.77 +(a) The copies of Software provided to you under this Agreement are licensed, not sold, to you by Sun. Sun reserves all rights not expressly granted. (b) You may make a single archival copy of Software, but otherwise may not copy, modify, or distribute Software. However if the Sun documentation accompanying Software lists specific portions of Software, such as header files, class libraries, reference source code, and/or redistributable files, that may be handled differently, you may do so only as provided in the Sun documentation. (c) You may not rent, lease, lend or encumber Software. (d) Unless enforcement is prohibited by applicable law, you may not decompile, or reverse engineer Software. (e) The terms and conditions of this Agreement will apply to any Software updates, provided to you at Sun's discretion, that replace and/or supplement the original Software, unless such update contains a separate license. (f) You may not publish or provide the results of any benchmark or comparison tests run on Software to any third party without the prior written consent of Sun. (g) Software is confidential and copyrighted. (h) Unless otherwise specified, if Software is delivered with embedded or bundled software that enables functionality of Software, you may not use such software on a stand-alone basis or use any portion of such software to interoperate with any program(s) other than Software. (i) Software may contain programs that perform automated collection of system data and/or automated software updating services. System data collected through such programs may be used by Sun, its subcontractors, and its service delivery partners for the purpose of providing you with remote system services and/or improving Sun's software and systems. (j) Software is not designed, licensed or intended for use in the design, construction, operation or maintenance of any nuclear facility and Sun and its licensors disclaim any express or implied warranty of fitness for such uses. (k) 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.
63.78 +
63.79 +6. Term and Termination.
63.80 +
63.81 +The license and service term are set forth in your Entitlement(s). Your rights under this Agreement will terminate immediately without notice from Sun if you materially breach it or take any action in derogation of Sun's and/or its licensors' rights to Software. Sun may terminate this Agreement should any Software become, or in Sun's reasonable opinion likely to become, the subject of a claim of intellectual property infringement or trade secret misappropriation. Upon termination, you will cease use of, and destroy, Software and confirm compliance in writing to Sun. Sections 1, 5, 6, 7, and 9-15 will survive termination of the Agreement.
63.82 +
63.83 +7. Java Compatibility and Open Source.
63.84 +
63.85 +Software may contain Java technology. You may not create additional classes to, or modifications of, the Java technology, except under compatibility requirements available under a separate agreement available at www.java.net.
63.86 +
63.87 +Sun supports and benefits from the global community of open source developers, and thanks the community for its important contributions and open standards-based technology, which Sun has adopted into many of its products.
63.88 +
63.89 +Please note that portions of Software may be provided with notices and open source licenses from such communities and third parties that govern the use of those portions, and any licenses granted hereunder do not alter any rights and obligations you may have under such open source licenses, however, the disclaimer of warranty and limitation of liability provisions in this Agreement will apply to all Software in this distribution.
63.90 +
63.91 +8. Limited Warranty.
63.92 +
63.93 +Sun warrants to you that for a period of 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. Some states do not allow limitations on certain implied warranties, so the above may not apply to you. This limited warranty gives you specific legal rights. You may have others, which vary from state to state.
63.94 +
63.95 +9. Disclaimer of Warranty.
63.96 +
63.97 +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.
63.98 +
63.99 +10. Limitation of Liability.
63.100 +
63.101 +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. Some states do not allow the exclusion of incidental or consequential damages, so some of the terms above may not be applicable to you.
63.102 +
63.103 +11. Export Regulations.
63.104 +
63.105 +All Software, documents, technical data, and any other materials delivered under this Agreement are subject to U.S. export control laws and may be subject to export or import regulations in other countries. You agree to comply strictly with these laws and regulations and acknowledge that you have the responsibility to obtain any licenses to export, re-export, or import as may be required after delivery to you.
63.106 +
63.107 +12. U.S. Government Restricted Rights.
63.108 +
63.109 +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).
63.110 +
63.111 +13. Governing Law.
63.112 +
63.113 +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.
63.114 +
63.115 +14. Severability.
63.116 +
63.117 +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.
63.118 +
63.119 +15. Integration.
63.120 +
63.121 +This Agreement, including any terms contained in your Entitlement, 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.
63.122 +
63.123 +Please contact Sun Microsystems, Inc. 4150 Network Circle, Santa Clara, California 95054 if you have questions.