1 <?xml version="1.0" encoding="UTF-8"?>
   2 <!--
   3  Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
   4  DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   5 
   6  This code is free software; you can redistribute it and/or modify it
   7  under the terms of the GNU General Public License version 2 only, as
   8  published by the Free Software Foundation.
   9 
  10  This code is distributed in the hope that it will be useful, but WITHOUT
  11  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  12  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  13  version 2 for more details (a copy is included in the LICENSE file that
  14  accompanied this code).
  15 
  16  You should have received a copy of the GNU General Public License version
  17  2 along with this work; if not, write to the Free Software Foundation,
  18  Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  19 
  20  Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  21  or visit www.oracle.com if you need additional information or have any
  22  questions.
  23   
  24 -->
  25 
  26 <!ELEMENT trace (xi:include, relation_decls, events*, xi:include, xi:include)>
  27 <!ELEMENT types (content_types, primary_types)>
  28 <!ELEMENT content_types (content_type|struct_type)*>
  29 <!ELEMENT content_type (value|structvalue|structarray|array)*>
  30 <!ELEMENT struct_type (value*)>
  31 <!ELEMENT primary_types (primary_type*)>
  32 <!ELEMENT primary_type EMPTY>
  33 <!ELEMENT relation_decls (relation_decl*)>
  34 <!ELEMENT relation_decl EMPTY>
  35 <!ELEMENT events (event|struct)*>
  36 <!ELEMENT event (value|structvalue)*>
  37 <!ELEMENT struct (value|structvalue)*>
  38 <!ELEMENT value EMPTY>
  39 <!ELEMENT structvalue EMPTY>
  40 <!ELEMENT structarray EMPTY>
  41 <!ELEMENT array EMPTY>
  42 <!ATTLIST content_type  id             CDATA #REQUIRED
  43                         hr_name        CDATA #REQUIRED
  44                         type           CDATA #REQUIRED
  45                         jvm_type       CDATA #IMPLIED
  46                         builtin_type   CDATA #IMPLIED>
  47 <!ATTLIST struct_type   id             CDATA #REQUIRED>
  48 <!ATTLIST structarray   type           CDATA #REQUIRED
  49                         field          CDATA #REQUIRED
  50                         label          CDATA #REQUIRED>
  51 <!ATTLIST primary_type  symbol         CDATA #REQUIRED
  52                         datatype       CDATA #REQUIRED
  53                         contenttype    CDATA #REQUIRED
  54                         type           CDATA #REQUIRED
  55                         sizeop         CDATA #REQUIRED>
  56 <!ATTLIST relation_decl id             CDATA #REQUIRED
  57                         uri            CDATA #REQUIRED>
  58 <!ATTLIST event         id             CDATA #REQUIRED
  59                         path           CDATA #REQUIRED
  60                         label          CDATA #REQUIRED
  61                         description    CDATA #IMPLIED
  62                         has_thread     CDATA "false"
  63                         ignore_check   CDATA "false"
  64                         has_stacktrace CDATA "false"
  65                         is_instant     CDATA "false"
  66                         is_constant    CDATA "false"
  67                         is_requestable CDATA "false">
  68 <!ATTLIST struct        id             CDATA #REQUIRED>
  69 <!ATTLIST value         type           CDATA #REQUIRED
  70                         field          CDATA #REQUIRED
  71                         label          CDATA #REQUIRED
  72                         description    CDATA #IMPLIED
  73                         relation       CDATA "NOT_AVAILABLE"
  74                         transition     CDATA "NONE">
  75 <!ATTLIST array         type           CDATA #REQUIRED
  76                         field          CDATA #REQUIRED
  77                         label          CDATA #REQUIRED
  78                         description    CDATA #IMPLIED>
  79 <!ATTLIST structarray   type           CDATA #REQUIRED
  80                         field          CDATA #REQUIRED
  81                         label          CDATA #REQUIRED
  82                         description    CDATA #IMPLIED>
  83 <!ATTLIST structvalue   type           CDATA #REQUIRED
  84                         field          CDATA #REQUIRED
  85                         label          CDATA #REQUIRED
  86                         description    CDATA #IMPLIED>