Fix a bug dealing with reading schemaLocation.
1.1 --- a/schema2beans/test/unit/src/data/TestFinalWebApp.xml Tue Nov 04 22:23:46 2003 +0000
1.2 +++ b/schema2beans/test/unit/src/data/TestFinalWebApp.xml Wed Nov 05 17:50:34 2003 +0000
1.3 @@ -1,6 +1,6 @@
1.4 <?xml version='1.0'?>
1.5
1.6 -<web-app xmlns:testNS='http://testNS' qname-test-attrib='testNS:at'>
1.7 +<web-app xmlns:testNS='http://testNS' xmlns:sl='http://www.w3.org/2001/XMLSchema-instance' sl:schemaLocation='foo' qname-test-attrib='testNS:at'>
1.8 <description>This is my Web App</description>
1.9 <display-name>MyWebApp</display-name>
1.10 <filter>
2.1 --- a/schema2beans/test/unit/src/data/goldenfiles/TestMain/testFinalWebApp.pass Tue Nov 04 22:23:46 2003 +0000
2.2 +++ b/schema2beans/test/unit/src/data/goldenfiles/TestMain/testFinalWebApp.pass Wed Nov 05 17:50:34 2003 +0000
2.3 @@ -341,7 +341,7 @@
2.4 out: TestFinalWebApp - creating the bean graph
2.5 out: TestFinalWebApp - bean graph created
2.6 out: <?xml version='1.0' encoding='UTF-8' ?>
2.7 -out: <web-app xmlns='http://java.sun.com/xml/ns/j2ee' xmlns:testNS='http://testNS' version='2.4' qname-test-attrib='testNS:at'>
2.8 +out: <web-app xmlns='http://java.sun.com/xml/ns/j2ee' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='foo' xmlns:testNS='http://testNS' version='2.4' qname-test-attrib='testNS:at'>
2.9 out: <description>This is my Web App</description>
2.10 out: <display-name>MyWebApp</display-name>
2.11 out: <filter>
2.12 @@ -376,7 +376,7 @@
2.13 out: </web-app>
2.14 out: TestFinalWebApp - Adding filters
2.15 out: <?xml version='1.0' encoding='UTF-8' ?>
2.16 -out: <web-app xmlns='http://java.sun.com/xml/ns/j2ee' xmlns:testNS='http://testNS' version='2.4' qname-test-attrib='testNS:at'>
2.17 +out: <web-app xmlns='http://java.sun.com/xml/ns/j2ee' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='foo' xmlns:testNS='http://testNS' version='2.4' qname-test-attrib='testNS:at'>
2.18 out: <description>This is my Web App</description>
2.19 out: <display-name>MyWebApp</display-name>
2.20 out: <filter>
2.21 @@ -417,7 +417,7 @@
2.22 out: TestFinalWebApp - Validating
2.23 out: TestFinalWebApp - Got exception: getFilterName() minLength (1)
2.24 out: <?xml version='1.0' encoding='UTF-8' ?>
2.25 -out: <web-app xmlns='http://java.sun.com/xml/ns/j2ee' xmlns:testNS='http://testNS' version='2.4' qname-test-attrib='testNS:at'>
2.26 +out: <web-app xmlns='http://java.sun.com/xml/ns/j2ee' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='foo' xmlns:testNS='http://testNS' version='2.4' qname-test-attrib='testNS:at'>
2.27 out: <description>This is my Web App</description>
2.28 out: <display-name>MyWebApp</display-name>
2.29 out: <filter>