Hi Gregory, IDREFS are a space delimited list, so you can't have a space in your ID.
--Keith Gregory Fox wrote: > > I am fairly new to Castor XML and I am having trouble > with the Reference/Identity. I have predefined > Classes that I am trying to store to XML. The only > obvious unique value that I have in these Classes for > use as an identity is the "name" field. This works > great except when the name has embedded spaces such as > "My Object Name". In this case, the object reference > is not resolved when reading the XML back in. It is > written out to the XML file, but I notice that the > output file uses spaces as separators. > > For example if my objects names are as follows: > Name1 > Second Name > Name3 > > The collection output using these as identities for > references would appear as follows: > > Name1 Second Name Name3 > > Is there any easy way around this??? > > __________________________________ > Do you Yahoo!? > Yahoo! Calendar - Free online calendar with sync to Outlook(TM). > http://calendar.yahoo.com > > ----------------------------------------------------------- > If you wish to unsubscribe from this mailing, send mail to > [EMAIL PROTECTED] with a subject of: > unsubscribe castor-dev ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev
