Hi, It seems that after I upgraded expat, things started to work. If so, this might be a solution, and the reason might be in the changelog: - Fix the UTF-8 BOM bug. I have an idea wht UTF-8 is (charset isn't it?) so this might be the reason if not, well I'll do some more work today, and report my experiences. Thanks for the help :) Tarjei
Emiliano wrote: > > 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
