Jörn Nettingsmeier schrieb:
> Andreas Hartmann wrote:
>>> 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?
>>
>> Would you mind attaching the patch so that we can take a look? TIA!
> 
> i'd rather not do that, but do a series of incremental commits instead...
> here are the changes i'm thinking of, maybe you can comment on them:
> 
>>> <schema src="foo" language=""/>
> 
> <schema uri="foo" language="rng"/>

+1

> 
>>> <link-rewrite xpath="/foo/bar"/>
> 
> unchanged (or maybe removed, depending on how it interacts with proxying
> and link rewriting)
> 
>>> <sample-name name="foo"
>>> mime-type="application/bar">foo://bar</sample-name>
>>> or
>>> <samples uri="foo://bar.xml"/>
> 
> <sample name="foo" mime-type="application/bar" uri="foo://bar"/>
> <samples uri="foo://bar/baz.xml"/>

+1

>>> <format name="foo" uri="foo://bar"/>
> 
> unchanged
> 
>>> <expires secords="42"/>
> 
> <cache seconds="42"/>

The problem here is that the method is "ResourceType.getExpires()".
If we change the configuration, we should also change the API.
"expires" is maybe more precise. What do the others think?

-- Andreas

-- 
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch


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

Reply via email to