Thanks Chris, Folks from software AG, especially Ralf, can probably shed some light on this. From the code, look like XMLValue is used to handle element values which are PCDATA (xml itself). What get me stuck is that even if I added <collection/> to resourcetype response, Web folder client still show it as file. (Note 4 below). Appreciate your help. Jiantao
-----Original Message----- From: Christopher Lenz [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 18, 2002 4:00 PM To: Slide Developers Mailing List Subject: Re: resourcetype problem for collection Hi Jiantao, I've been having the same problem, and agree it's in the "showstopper" category. I haven't yet understood what XMLValue's purpose is, and how it accomplishes that purpose though, so I'm of not much help :P. Jiantao Pan wrote: > Regarding the problem Raimo and I having with collection resourcetype(see below for >previous discussion). > First of all, This is really serious problem, without fixing it, the rest of slide >features can not be tested. Unless there is something wrong with our building >procedure. > I looked into the code, notice that: > 1. The property value "<collection/>" get stored into database right. > 2. The revisiondescriptor retrieved for a collection also have the correct value. > 3. In PropertyRetrieverImpl 's getPropertyElement method, For XMLValue, the iterator >for <collection/> is empty, so no resourcetype value get added into the returned >value. (around line 616). > 4. However, even if I added the <collection/> as value of <resourcetype>, WebFolder >still show the folder as a file?! How did you add the <collection/>? Have you verified it's being sent to the client correctly (using a TCP monitor or something)? What do other clients (slide, cadaver, DAV-Explorer, etc) say? > Is it someproblem related to namespace or something else? > Could somebody help with this? > Thanks > Jiantao -- Christopher Lenz /=/ cmlenz at gmx.de -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
