> I'm trying to use the unit located inn
> 
>   fpc-2.0.4/fcl/xml/dom.pp
> 
> to parse files starting like this (shortened):
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE office:document-meta PUBLIC "-//OpenOffice.org//DTD OfficeDocument 
> ...
> <office:document-meta xmlns:office="http://openoffice.org/2000/office"; ...
> <office:meta>
> <meta:generator>OpenOffice.org 1.1.3 (FreeBSD)</meta:generator>
> ...
> 
> but the second line naming the document type makes the parser throw an
> exception.
> 
> Is this an implementation issue (i.e. ToDo) or do I only have two
> twiddle the right knob and which one is it?

There were quite some post 2.0.4 fixes to these units. Please first try a
newer version (even if you can only use 2.0.4 for some reason).
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to