Bug 21462 - [patch] collection name and some additional tests
[patch] collection name and some additional tests
Status: RESOLVED FIXED
Product: Xindice
Classification: Unclassified
Component: Server
cvs head (1.1)
Other other
: P3 normal
: ---
Assigned To: Xindice Developers
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2003-07-10 11:30 UTC by Kevin O'Neill
Modified: 2004-11-16 19:05 UTC (History)
0 users



Attachments
The patch file containing the modifications (5.01 KB, patch)
2003-07-10 11:31 UTC, Kevin O'Neill
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin O'Neill 2003-07-10 11:30:30 UTC
If a collection is requested and it's name ends with a / then the collection
name returned from getName is "". This patch strips the / from the end of the
name when the collection object is created.

There is also an additional test for this condition and a getContentAsSAX test I
used to debug a problem elsewhere.
Comment 1 Kevin O'Neill 2003-07-10 11:31:14 UTC
Created attachment 7208 [details]
The patch file containing the modifications
Comment 2 Kevin Ross 2003-07-10 14:57:55 UTC
patch applied, thanks