websrv_pub/xml_extensions_api/tsrc/senxml/group/wf_constraint_elem.xml
changeset 0 62f9d29f7211
equal deleted inserted replaced
-1:000000000000 0:62f9d29f7211
       
     1 <?xml version="1.0"?>
       
     2 
       
     3 <!-- Testcase: wf_constraint_elem.xml -->
       
     4 
       
     5 <!-- Description: To test well-formed constraints in XML. This tests 'element type match', a well-formed constraint of 'element' -->
       
     6 
       
     7 <!-- Author:  Christine Dreckman  Date: 10/28/99 -->
       
     8 
       
     9 <!-- 
       
    10    - The contents of this file are subject to the Mozilla Public
       
    11    - License Version 1.1 (the "License"); you may not use this file
       
    12    - except in compliance with the License. You may obtain a copy of
       
    13    - the License at http://www.mozilla.org/MPL/
       
    14    - 
       
    15    - Software distributed under the License is distributed on an "AS
       
    16    - IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
       
    17    - implied. See the License for the specific language governing
       
    18    - rights and limitations under the License.
       
    19    - 
       
    20    - The Original Code is Mozilla Communicator Test Cases.
       
    21    - 
       
    22    - The Initial Developer of the Original Code is Netscape Communications
       
    23    - Corp.  Portions created by Netscape Communications Corp. are 
       
    24    - Copyright (C) 1999 Netscape Communications Corp.  All
       
    25    - Rights Reserved.
       
    26    - 
       
    27    - Contributor(s): 
       
    28   -->
       
    29 <!-- 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  -->
       
    30 
       
    31 <!-- Expected result: This document is well-formed. The text should display -->
       
    32 
       
    33 <doc>
       
    34 
       
    35 <match>This document is well-formed. If text displays, there is no bug.
       
    36 
       
    37 </match>
       
    38 
       
    39 </doc>
       
    40