Fix a bug dealing with reading schemaLocation. BLD200311051900
authorcliffwd@netbeans.org
Wed, 05 Nov 2003 17:50:34 +0000
changeset 13894092400c0cbb
parent 1388 05a1ce9fb293
child 1390 4c902f0f000c
Fix a bug dealing with reading schemaLocation.
schema2beans/test/unit/src/data/TestFinalWebApp.xml
schema2beans/test/unit/src/data/goldenfiles/TestMain/testFinalWebApp.pass
     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>