1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE schema PUBLIC "-//W3C//DTD XMLSCHEMA 200102//EN" "http://www.w3.org/2001/XMLSchema.dtd">
4 * Copyright 2007 Johannes Lehtinen
5 * This file is free software; Johannes Lehtinen gives unlimited
6 * permission to copy, distribute and modify it.
8 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
9 <xs:element name="extension">
11 <xs:attribute name="point" type="xs:string" use="required"/>
12 <xs:attribute name="id" type="simpleIdentifier"/>
13 <xs:attribute name="name" type="xs:string"/>
16 * The classifier is the name of a symbol pointing to
17 * classifier_t strucutre. Priority determines the order
18 * the file classifiers are tried.
20 <xs:attribute name="classifier" type="xs:string" use="required"/>
21 <xs:attribute name="priority" type="xs:integer" use="required"/>
25 <xs:simpleType name="simpleIdentifier">
26 <xs:restriction base="xs:string">
27 <xs:pattern value="[^.]+"/>