Paul Sandoz <[EMAIL PROTECTED]> writes:
>
> Thanks! I see the light.
> I was stuck in some precipitous local minima
> of thought.
Heh; I like this turn of phrase. :-)
> Copying somthing similar to ldap filter is
> a good idea:
>
> uri = scheme ":" path [ "?" query ]
> query = "(" queryexpression ")"
> querycomp = and | or | not | querycondition
> and = "&" queryexpression
> or = "|" queryexpression
> not = "!" query
> queryexpression = 1*query
> querycondition = attr "," condition "," value
> condition = equal | notequal |
> lessthan | greaterthan |
> beginswith | endswith |
> contains | doesnotcontain |
> soundslike | regex |
> equal = "="
> notequal = "!="
> lessthan = "lt"
> greaterthan = "gt"
> beginswith = "bw"
> endswith = "ew"
> contains = "c"
> doesnotcontain = "!c"
> soundslike = "~="
> regex = "regex"
> attr = *(alphanum | escaped)
> value = *(alphanum | escaped)
> escaped = from RFC 2396
> alphanum = from RFC 2396
>
> This conforms to RFC 2396.
At first read, it looks good to me.
> Should be 'reasonably' easy to parse so
> i think i can do it fairly quickly.
Cool!
> There may be value in having a Dublin Core data
> source which could read DC meta data values from
> HTML data.
Yeah, if the Dublin Core starts to really catch on, it
would be nice to be able to drive XUL templates using it
automatically.
Dan
--