| Index: LayoutTests/dom/xhtml/level3/core/elementgetschematypeinfo06.js
|
| diff --git a/LayoutTests/dom/xhtml/level3/core/elementgetschematypeinfo06.js b/LayoutTests/dom/xhtml/level3/core/elementgetschematypeinfo06.js
|
| index 229a68df0eb20d8613eb16a442d2a130912f5220..68e8756301f9d589a7d5091e402bee3b12c33154 100644
|
| --- a/LayoutTests/dom/xhtml/level3/core/elementgetschematypeinfo06.js
|
| +++ b/LayoutTests/dom/xhtml/level3/core/elementgetschematypeinfo06.js
|
| @@ -1,17 +1,14 @@
|
| -
|
| /*
|
| -Copyright © 2001-2004 World Wide Web Consortium,
|
| -(Massachusetts Institute of Technology, European Research Consortium
|
| -for Informatics and Mathematics, Keio University). All
|
| -Rights Reserved. This work is distributed under the W3C® Software License [1] in the
|
| -hope that it will be useful, but WITHOUT ANY WARRANTY; without even
|
| -the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
| +Copyright © 2001-2004 World Wide Web Consortium,
|
| +(Massachusetts Institute of Technology, European Research Consortium
|
| +for Informatics and Mathematics, Keio University). All
|
| +Rights Reserved. This work is distributed under the W3C® Software License [1] in the
|
| +hope that it will be useful, but WITHOUT ANY WARRANTY; without even
|
| +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
| [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
|
| */
|
|
|
| -
|
| -
|
| /**
|
| * Gets URI that identifies the test.
|
| * @return uri identifier of test
|
| @@ -42,26 +39,24 @@ function setUpPage() {
|
| setImplementationAttribute("schemaValidating", true);
|
|
|
| docsLoaded = 0;
|
| -
|
| +
|
| var docRef = null;
|
| if (typeof(this.doc) != 'undefined') {
|
| docRef = this.doc;
|
| }
|
| docsLoaded += preload(docRef, "doc", "hc_staff");
|
| -
|
| +
|
| if (docsLoaded == 1) {
|
| setUpPageStatus = 'complete';
|
| }
|
| } catch(ex) {
|
| - catchInitializationError(builder, ex);
|
| + catchInitializationError(builder, ex);
|
| setUpPageStatus = 'complete';
|
| }
|
| }
|
|
|
| -
|
| -
|
| //
|
| -// This method is called on the completion of
|
| +// This method is called on the completion of
|
| // each asychronous load started in setUpTests.
|
| //
|
| // When every synchronous loaded document has completed,
|
| @@ -73,15 +68,14 @@ function loadComplete() {
|
| }
|
| }
|
|
|
| -
|
| /**
|
| -*
|
| - The getSchemaTypeInfo method retrieves the type information associated with this element.
|
| +*
|
| + The getSchemaTypeInfo method retrieves the type information associated with this element.
|
|
|
| - Load a valid document with an XML Schema.
|
| - Invoke getSchemaTypeInfo method on an element having [type definition] property. Expose {name} and {target namespace}
|
| - properties of the [type definition] property. Verity that the typeName and typeNamespace of the strong element's
|
| - schemaTypeInfo are correct.
|
| + Load a valid document with an XML Schema.
|
| + Invoke getSchemaTypeInfo method on an element having [type definition] property. Expose {name} and {target namespace}
|
| + properties of the [type definition] property. Verity that the typeName and typeNamespace of the strong element's
|
| + schemaTypeInfo are correct.
|
|
|
| * @author IBM
|
| * @author Jenny Hsu
|
| @@ -97,7 +91,7 @@ function elementgetschematypeinfo06() {
|
| var typeNamespace;
|
| var elemList;
|
| var docElemNodeName;
|
| -
|
| +
|
| var docRef = null;
|
| if (typeof(this.doc) != 'undefined') {
|
| docRef = this.doc;
|
| @@ -113,11 +107,8 @@ function elementgetschematypeinfo06() {
|
|
|
| assertEquals("elementgetschematypeinfo06_typeName","strongType",typeName);
|
| assertEquals("elementgetschematypeinfo06_typeNamespace","http://www.w3.org/1999/xhtml",typeNamespace);
|
| -
|
| -}
|
| -
|
| -
|
|
|
| +}
|
|
|
| function runTest() {
|
| elementgetschematypeinfo06();
|
|
|