On Mon, Jan 22, 2001 at 12:18:44AM +0800, Alan Knowles wrote:
>
> > >> I already encountered this kind of problem, and it was in fact
> > >> the 'url' field of an article that contained an '&'
> > >> character... (BTW, Alexander, this 'url' field should be
> > >> defined as CDATA cause some people use it as an 'extra'
> > >> field...)
> >
> > try to change the type of the 'url' field from string to text in your
> > /usr/local/share/midgard-lib/repligard.xml file, and export again your
> > database.
>
> I found that repligard failed quite often on illegal characters in names and
> other things -
> eg. a name like 'xyz & abc' will kill it
> eg. a name like '<this is a unusual snippet>'
>
> is there any logic in using 'string' rather than text ??? = other than it
> saves a few characters in the file?
Main idea was to provide different field types for different SQL types.
Text means something big and with possible violations to XML markup.
String means something like numbers, GUIDs, etc. We can change all possible
'unsafe' entries to 'text' but keep 'string' for GUIDs, numbers, revisions, etc.
I'm fine with such changes if you can provide proof for particular field :-)
> It doesnt affect import even if the it was exported as text and imported as
> string .....
--
Sincerely yours, Alexander Bokovoy
The Midgard Project | www.midgard-project.org | Aurora R&D team
Minsk Linux Users Group | www.minsk-lug.net | www.aurora-linux.com
IPLabs Linux Team | linux.iplabs.ru | Architecte Open Source
-- "Trust me. I know what I'm doing."
-- Sledge Hammer
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]