Tarjei Huse wrote:

> > Use 'xmlwf' on the file, it'll pinpoint the problem. It's installed as part
> > of expat, so you probably have it.
>
> had to upgrade expat, well, xmlwf didn't give any output at all ;/

That means it's well-formed. In which case I don't know why repligard
would claim otherwise. Alexander?

> > 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
>
> Ok, eh,I'm sorry, what language is this? How do I use the program?

Straight lex. What works for me is:

$ flex nocdata.l
$ gcc -o nocdata lex.yy.c -lfl

This generates 'nocdata', which is a filter. You use it like:

zcat nadmin.xml.gz | ./nocdata > nadmin-nocdata.xml

But if xmlwf doesn't report anything, the file is well-formed, and using
nocdata shouldn't make a difference.

Emile



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to