websrv_pub/xml_extensions_api/tsrc/senxml/group/wf_constraint_elem.xml
changeset 0 62f9d29f7211
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/websrv_pub/xml_extensions_api/tsrc/senxml/group/wf_constraint_elem.xml	Thu Jan 07 16:19:19 2010 +0200
@@ -0,0 +1,40 @@
+<?xml version="1.0"?>
+
+<!-- Testcase: wf_constraint_elem.xml -->
+
+<!-- Description: To test well-formed constraints in XML. This tests 'element type match', a well-formed constraint of 'element' -->
+
+<!-- Author:  Christine Dreckman  Date: 10/28/99 -->
+
+<!-- 
+   - The contents of this file are subject to the Mozilla Public
+   - License Version 1.1 (the "License"); you may not use this file
+   - except in compliance with the License. You may obtain a copy of
+   - the License at http://www.mozilla.org/MPL/
+   - 
+   - Software distributed under the License is distributed on an "AS
+   - IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+   - implied. See the License for the specific language governing
+   - rights and limitations under the License.
+   - 
+   - The Original Code is Mozilla Communicator Test Cases.
+   - 
+   - The Initial Developer of the Original Code is Netscape Communications
+   - Corp.  Portions created by Netscape Communications Corp. are 
+   - Copyright (C) 1999 Netscape Communications Corp.  All
+   - Rights Reserved.
+   - 
+   - Contributor(s): 
+  -->
+<!-- Purpose: To test 'element type match', a well-formed constraint of 'element'. Per spec, the Name in an element's end-tag must match the element type in the start-tag  -->
+
+<!-- Expected result: This document is well-formed. The text should display -->
+
+<doc>
+
+<match>This document is well-formed. If text displays, there is no bug.
+
+</match>
+
+</doc>
+