On Mon, 13 Nov 2006 10:53:29 +0100 (CET) Michael Van Canneyt <[EMAIL PROTECTED]> wrote:
> > > On Mon, 13 Nov 2006, Marc Santhoff wrote: > > > Hi, > > > > while planning an XML-centric program I found some related units in > > the fcl sources and many more inside the lazarus source tree. > > > > Which set of them would be the best choice? > > It depends on what you want. The XML support in FPC is based on the > DOM specifications. It is also tested against the specs on W3. The lazarus xml units are speed optimized versions for XML config files. They are 2 to 10 times faster, because/but do not convert special characters. > > According to the comments in some files there is (or was) change to > > come. > > > > Do these xml parsers validate against a schema file (.xsd)? > > No, the parsing is currently not validating. I think Sergei Gorelkin > planned this, but I am not sure. > > > > > My goal will be parsing (of course) and looking up types of read > > elements in .xsd files for further evaluation. Techniques to use > > will be both, sax-style stream parsing and building DOM trees. The > > program will have a gui, so lcl will be in use, too. > > The FCL contains a SAX 2 compliant reader. Mattias _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal