Verify the composition of a magic index.xml file

Cameron Fieber cfieber at gmail.com
Mon May 2 13:52:24 EDT 2005


add test (?) to INCLUDE

On 5/2/05, Seib, Broc <bseib at purdue.edu> wrote:
> Can you guys verify that this is the composition of a magic index.xml
> file?
> 
> INDEX
>   key      (1)
>   IMPORT   (0+)
>   PROJECT  (1+)
>   RESOURCE (0+)
> 
> The above means that an INDEX has four things (caps mean non-terminal
> like in BNF). An INDEX has exactly one "key", zero or more IMPORTs, one
> or more PROJECTs, and zero or more RESOURCEs. Anything else?
> 
> And then those break down like this (please verify):
> 
> IMPORT
>   (uri|href|index)    (1)    exactly one of the three - they are
> mutually exclusive.
> 
> PROJECT
>   (basedir|file)  (1)     exactly one - mutually exclusive
>   INFO            (1)
>   DEPENDENCY      (0+)
> 
> INFO
>   group    (1)
>   name     (1)
>   version  (1)
>   type     (1)
>   status   (?)  zero or one - this is an optional field
> 
> DEPENDENCY      (this must have *something* required - can't be empty!)
>   INCLUDE  (1+)
> 
> INCLUDE
>   key      (1)
>   build    (?)
>   runtime  (?)
> 
> RESOURCE
>   INFO     (1)
> 
> -broc
> _______________________________________________
> dev-dpml mailing list
> dev-dpml at lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/dev-dpml
>



More information about the dev-dpml mailing list