hi everyone!

our current resource type configuration syntax is a little confusing imho:

<schema src="foo" language=""/>

<link-rewrite xpath="/foo/bar"/>

<sample-name name="foo" mime-type="application/bar">foo://bar</sample-name>
or
<samples uri="foo://bar.xml"/>

<format name="foo" uri="foo://bar"/>

<expires secords="42"/>

first of all, what does "expires" mean? the xhtml doctype gives this
very helpful comment:
<!-- Default time in seconds until the resource-type has expired -->
does the resource type self-destruct one hour after the servlet engine
has started? are documents older than one hour automatically deleted?
please enlighten me...

next, we have three ways of specifying a uri: by an attribute "src", an
attribute "uri" or by element content.

third, "sample-name" is not a very lucky choice imho. clearly, it's not
a name for a sample that's being defined, but the sample itself.

then, remind me again of the meaning of "link-rewrite"... is it still
necessary after the Grand Proxying Rewrite of 2007? if yes, can it be
folded into proxy or uuid2uri rewriting?


there's a (trivial) patch in my queue that cleans up the syntax of
resource type declarations a bit. i'd like to sneak it in before 2.0,
but it will mean people have to change their custom resource types a
little. any objections?


regards,

jörn



--
Jörn Nettingsmeier

"One of my most productive days was throwing away 1000 lines of code."
  - Ken Thompson.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to