This is an exported version of the JIRA issue tracker. Please use the Google Code site to open new tickets or report updates to these existing tickets. Feel free to contact the mailing list with any questions.

[SJN-39] XML does not work well if at all in the 0.6 release.
Created: Fri, 21 Nov 2003 02:53:26 -0800 (PST)  Updated: Sat, 6 Dec 2003 16:51:21 -0800 (PST)

Status:Closed
Project:Simple-JNDI
Component/s:
Affects Version/s:0.6
Fix Version/s:0.7

Type:BugPriority: Major
Reporter:Henri YandellAssignee:Henri Yandell
Resolution:Fixed 
Environment:


 Description   
Lorrin Nelson has pointed out problems in the XmlProperties loading code. I suspect it did work for whatever example I was based on, but not for other variants.
Comment by bayard [ Fri, 21 Nov 2003 02:54:00 -0800 (PST) ]
A first pass of code at this has been made and passes an initial unit test.
More testing is required.
Comment by bayard [ Sat, 6 Dec 2003 15:40:49 -0800 (PST) ]
Parsing itself seems okay except that the xml file must have a top level container element.

This makes DataStores a bit hard to set up as they need the org flag to say what their type is. Moving to a generic type system might help here, but it would mean _type being a special sub-element or something.
Comment by bayard [ Sat, 6 Dec 2003 16:51:21 -0800 (PST) ]
Sticking with the rule that my XML parser won't load xml files with multiple roots.
DataSources are now implemented as a type attribute or sub-tag which seems to work nicely.