websrv_pub/xml_extensions_api/tsrc/senxml/group/wf_constraint_elem.xml
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 07 Jan 2010 16:19:19 +0200
changeset 0 62f9d29f7211
permissions -rw-r--r--
Revision: 200951 Kit: 201001

<?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>