diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2005-09-24 03:31:41 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2005-09-24 03:31:41 +0800 |
commit | f2d6cd25da72ef28a94acb0983c5eb55dfae5e3a (patch) | |
tree | 339d730387e7d475076d8064bd518cfb3177c776 /data | |
parent | fd6836b171fa8f5acbb9f37113809490fd9893fb (diff) | |
download | gsoc2013-epiphany-f2d6cd25da72ef28a94acb0983c5eb55dfae5e3a.tar.gz gsoc2013-epiphany-f2d6cd25da72ef28a94acb0983c5eb55dfae5e3a.tar.zst gsoc2013-epiphany-f2d6cd25da72ef28a94acb0983c5eb55dfae5e3a.zip |
R data/epiphany-extension.xsd:
2005-09-23 Christian Persch <chpe@cvs.gnome.org>
* data/Makefile.am:
R data/epiphany-extension.xsd:
* src/ephy-extensions-manager.c:
(ephy_extensions_manager_load_xml_string),
(ephy_extensions_manager_startup),
(ephy_extensions_manager_finalize):
Since the .xml format is deprecated, remove the (already #if 0'd)
schema validation code.
Diffstat (limited to 'data')
-rw-r--r-- | data/Makefile.am | 4 | ||||
-rw-r--r-- | data/epiphany-extension.xsd | 78 |
2 files changed, 0 insertions, 82 deletions
diff --git a/data/Makefile.am b/data/Makefile.am index d24827a59..039aa59a6 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -42,9 +42,6 @@ schemadir = $(GCONF_SCHEMA_FILE_DIR) schema_in_files = epiphany.schemas.in epiphany-lockdown.schemas.in schema_DATA = epiphany.schemas epiphany-lockdown.schemas -extensionschemadir = $(pkgdatadir) -extensionschema_DATA = epiphany-extension.xsd - aboutdir = $(pkgdatadir) about_DATA = epiphany.xhtml @@ -76,7 +73,6 @@ EXTRA_DIST = \ $(about_DATA) \ $(applications_DATA) \ $(mimepermission_DATA) \ - $(extensionschema_DATA) \ $(pkgconfig_DATA) \ $(default_prefs_in_FILES) \ $(xsl_DATA) \ diff --git a/data/epiphany-extension.xsd b/data/epiphany-extension.xsd deleted file mode 100644 index 63272a79f..000000000 --- a/data/epiphany-extension.xsd +++ /dev/null @@ -1,78 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> - <xsd:annotation> - <xsd:documentation xml:lang="en"> - Epiphany Web Browser extension metadata schema. - Copyright (c) 2004 Adam Hooper - </xsd:documentation> - </xsd:annotation> - - <xsd:element name="extension" type="ExtensionType"/> - - <xsd:complexType name="ExtensionType"> - <xsd:annotation> - <xsd:documentation xml:lang="en"> - Metadata about an extension. Note: the elements - must appear *in order* (unfortunately). - </xsd:documentation> - </xsd:annotation> - <xsd:sequence> - <xsd:element name="name" type="xsd:string"/> - <xsd:element name="description" type="xsd:string"/> - <xsd:element name="author" type="AuthorType" - maxOccurs="unbounded"/> - <xsd:element name="url" type="xsd:anyURI" - minOccurs="0"/> - <xsd:element name="version" - type="ExtensionVersionType"/> - <xsd:element name="gettext-domain" type="xsd:string"/> - <xsd:element name="locale-directory" type="xsd:string"/> - <xsd:element name="loader" type="LoaderType"/> - </xsd:sequence> - </xsd:complexType> - - <xsd:simpleType name="ExtensionVersionType"> - <xsd:annotation> - <xsd:documentation xml:lang="en"> - The version of the extension's API. For most - extensions, this number will remain at - "1" indefinitely. The only reason to - increase it would be if any GObject classes - within the extension change parents. - </xsd:documentation> - </xsd:annotation> - <xsd:restriction base="xsd:positiveInteger"/> - </xsd:simpleType> - - <xsd:simpleType name="AuthorType"> - <xsd:annotation> - <xsd:documentation xml:lang="en"> - An extension author -- a name and (optionally) - an email address. - </xsd:documentation> - </xsd:annotation> - <xsd:restriction base="xsd:string"/> - </xsd:simpleType> - - <xsd:complexType name="LoaderType"> - <xsd:annotation> - <xsd:documentation xml:lang="en"> - The type of loader to use for the extension. - For example, "shlib". - </xsd:documentation> - </xsd:annotation> - <xsd:sequence> - <xsd:element name="attribute" maxOccurs="unbounded"> - <xsd:complexType> - <xsd:simpleContent> - <xsd:extension base="xsd:string"> - <xsd:attribute name="name" type="xsd:ID"/> - </xsd:extension> - </xsd:simpleContent> - </xsd:complexType> - </xsd:element> - </xsd:sequence> - <xsd:attribute name="type" type="xsd:ID" use="required"/> - </xsd:complexType> - -</xsd:schema> |