File: dotnet-resx.rnc

package info (click to toggle)
emacs-non-dfsg 1%3A30.1%2B1-1
  • links: PTS
  • area: non-free
  • in suites: forky, sid, trixie
  • size: 35,612 kB
  • sloc: makefile: 809; sh: 55
file content (57 lines) | stat: -rw-r--r-- 1,552 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
default namespace = ""
namespace msdata = "urn:schemas-microsoft-com:xml-msdata"
namespace xsd = "http://www.w3.org/2001/XMLSchema"

start =
  element root {
    element xsd:schema {
      attribute id { xsd:NCName },
      element xsd:import {
        attribute namespace { xsd:anyURI }
      }?,
      xsd.element
    },
    element resheader {
      attribute name { xsd:NCName },
      value
    }+,
    (element assembly {
       attribute alias { xsd:NCName },
       attribute name { text }
     }
     | element data {
         attribute mimetype { text }?,
         attribute name { text },
         attribute type { text }?,
         attribute xml:space { xsd:NCName }?,
         value
       }
     | element metadata {
         attribute name { xsd:NCName },
         attribute type { text },
         value
       })*
  }
xsd.element =
  element xsd:element {
    attribute minOccurs { xsd:integer }?,
    attribute name { xsd:NCName },
    attribute type { xsd:NMTOKEN }?,
    attribute msdata:IsDataSet { xsd:boolean }?,
    attribute msdata:Ordinal { xsd:integer }?,
    element xsd:complexType {
      element xsd:choice {
        attribute maxOccurs { xsd:NCName },
        xsd.element+
      }?,
      element xsd:sequence { xsd.element+ }?,
      element xsd:attribute {
        attribute name { xsd:NCName }?,
        attribute ref { xsd:NMTOKEN }?,
        attribute type { xsd:NMTOKEN }?,
        attribute use { xsd:NCName }?,
        attribute msdata:Ordinal { xsd:integer }?
      }*
    }*
  }
value = element value { text }