From 454b89e6332cb661dab821052b3f9e96c168dc54 Mon Sep 17 00:00:00 2001 From: Thomas Leonard Date: Mon, 18 Jun 2007 20:44:48 +0000 Subject: [PATCH] Added to the known elements. Added doc-dir to the known implementation attributes. git-svn-id: file:///home/talex/Backups/sf.net/Subversion/zero-install/trunk/0publish@1894 9f8c893c-44ee-0310-b757-c8ca8341c71e --- validator.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/validator.py b/validator.py index 947edba..3fb8735 100644 --- a/validator.py +++ b/validator.py @@ -18,7 +18,9 @@ known_elements = { 'feed-for' : ['interface'], 'group' : ['version', 'released', 'main', 'stability', 'arch', 'license', 'doc-dir'], - 'implementation' : ['id', 'version', 'released', 'main', 'stability', 'arch', 'version-modifier', 'license'], + 'implementation' : ['id', 'version', 'released', 'main', 'stability', 'arch', 'version-modifier', 'license', 'doc-dir'], + 'package-implementation' : ['package'], + 'archive' : ['href', 'size', 'extract', 'type', 'start-offset'], 'recipe' : [], 'requires' : ['interface'], -- 2.11.4.GIT