On Monday 10 December 2001 22:31, you wrote: > Hi, > > I'm working on the holy dream of getting my staging server to work. Now, > everything is set up, but when look at the logs from the cronjob i see: > > Message: Reading config file > /etc/repligard/repligard_hourly_import_live.conf Message: Importing > /tmp/hourly_export_200112102201.xml.gz > > REPLIGARD/READ-CRITICAL **: not well-formed (invalid token) in line 816 > > REPLIGARD/READ-CRITICAL **: not well-formed (invalid token) in line 816 > > Now, when I unzip the xml.gz file and look at line 816 I find: > </Database> > It's the last line in the repligard db.
Use 'xmlwf' on the file, it'll pinpoint the problem. It's installed as part of expat, so you probably have it. > I can supply more info if needed. Does anyone know why repligard would > export a file with misstakes in it? Well not on purpose, of course :) Alexander just explained to me that repligard exports content by putting it in <![CDATA[......]]>. Unfortunately, repligard doesn't yet escape the content in that CDATA section, so if your content has ']]>' in it, it will be taken as the end of your cdata section. I've seen nadmin versions exposing this same bug, and the error message that produced sounds similar (by my recollection) to the message above. The file can be hand-fixed, and I posted a simple fixing program at http://marc.theaimsgroup.com/?l=midgard-user&m=100681445323138&w=2 and http://marc.theaimsgroup.com/?l=midgard-user&m=100681408121364&w=2 The latter will be safer in general, the first makes the leats amount of change in the repligard file. Emile --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
