Thorsten Scherler wrote:
El lun, 20-03-2006 a las 10:28 +0100, Andreas Hartmann escribió:
Michael Wechner wrote:
Thorsten Scherler wrote:
[...]


I came up with nearly the same config, so yeah +1 to add it in the
config, but the only problem is that one need to patch the conf when
adding a new resource type. That is not that nice.
Why?

http://svn.apache.org/viewcvs?rev=386656&view=rev
You would need to add new resource types here.

Hmmm, why would you need to add resource types there?
Isn't it sufficient to reference registered resource types?


Is there a simpler way?

Could be overcome with a centralized registration.


at the moment it's a problem recognizing resource types anyway ;-)
What is the problem with recognizing resource types?


Well, webDAV PUT is adding just a file e.g. index.xml, that could be a
forrest xdoc or a xhtml or ... How can we determine this?

Well, that's a general problem, it is not related to the resource
type recognition. You can't determine the type of a file in a
generic way without meta information. I see two options:

1) explicit mapping (that's what you do)

2) ask all resource types: Does this file belong to you?

The second option has the advantage that it doesn't require any
special WebDAV configuration. But I guess it is hard to implement.


and I think we should change this.

But centralized registration makes sense in order to avoid conflicts.
IMO we need a centralized registration.


Yeah, that makes perfect sense.
+1

Does that mean you don't want to change anything? We already
have a centralized registration ...

-- Andreas


--
Andreas Hartmann
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
[EMAIL PROTECTED]                     [EMAIL PROTECTED]


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

Reply via email to