Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

81 lines
3.2 KiB

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
  2. "http://www.w3.org/TR/REC-html40/loose.dtd">
  3. <HTML>
  4. <TITLE>expat</TITLE>
  5. <BODY>
  6. <H1>expat - XML Parser Toolkit</H1>
  7. <H3>Version 19990728</H3>
  8. <P>Copyright (c) 1998, 1999 James Clark. Expat is subject to the <A
  9. HREF="http://www.mozilla.org/NPL/NPL-1_1Final.html">Mozilla Public
  10. License Version 1.1</A>. Alternatively you may use expat under the <A
  11. href="http://www.gnu.org/copyleft/gpl.html">GNU General Public
  12. License</A> instead. Please contact me if you wish to negotiate an
  13. alternative license.</P>
  14. <P>This is a test version of expat which adds support for parsing
  15. external DTDs and parameter entities. Compiling with -DXML_DTD
  16. enables this support. There's a new <CODE>-p</CODE> option for xmlwf
  17. which will cause it to process external DTDs and parameter entities;
  18. this implies the <CODE>-x</CODE> option. See the comment above
  19. <CODE>XML_SetParamEntityParsing</CODE> in <CODE>xmlparse.h</CODE> for
  20. the API addition that enables this.</P>
  21. <P>Expat is an <A
  22. HREF="http://www.w3.org/TR/1998/REC-xml-19980210">XML 1.0</A> parser
  23. written in C. It aims to be fully conforming. It is currently not a
  24. validating XML processor. The current production version of expat can
  25. be downloaded from <A href = "ftp://ftp.jclark.com/pub/xml/expat.zip"
  26. >ftp://ftp.jclark.com/pub/xml/expat.zip</A>.</P>
  27. <P>The directory <SAMP>xmltok</SAMP> contains a low-level library for
  28. tokenizing XML. The interface is documented in
  29. <SAMP>xmltok/xmltok.h</SAMP>.</P>
  30. <P>The directory <SAMP>xmlparse</SAMP> contains an XML parser library
  31. which is built on top of the <SAMP>xmltok</SAMP> library. The
  32. interface is documented in <SAMP>xmlparse/xmlparse.h</SAMP>. The
  33. directory <SAMP>sample</SAMP> contains a simple example program using
  34. this interface; <SAMP>sample/build.bat</SAMP> is a batch file to build
  35. the example using Visual C++.</P>
  36. <P>The directory <SAMP>xmlwf</SAMP> contains the <SAMP>xmlwf</SAMP>
  37. application, which uses the <SAMP>xmlparse</SAMP> library. The
  38. arguments to <SAMP>xmlwf</SAMP> are one or more files which are each
  39. to be checked for well-formedness. An option <SAMP>-d
  40. <VAR>dir</VAR></SAMP> can be specified; for each well-formed input
  41. file the corresponding <A
  42. href="http://www.jclark.com/xml/canonxml.html">canonical XML</A> will
  43. be written to <SAMP>dir/<VAR>f</VAR></SAMP>, where
  44. <SAMP><VAR>f</VAR></SAMP> is the filename (without any path) of the
  45. input file. A <CODE>-x</CODE> option will cause references to
  46. external general entities to be processed. A <CODE>-s</CODE> option
  47. will make documents that are not standalone cause an error (a document
  48. is considered standalone if either it is intrinsically standalone
  49. because it has no external subset and no references to parameter
  50. entities in the internal subset or it is declared as standalone in the
  51. XML declaration).</P>
  52. <P>The <SAMP>bin</SAMP> directory contains Win32 executables. The
  53. <SAMP>lib</SAMP> directory contains Win32 import libraries.</P>
  54. <P>Answers to some frequently asked questions about expat can be found
  55. in the <A HREF="http://www.jclark.com/xml/expatfaq.html">expat
  56. FAQ</A>.</P>
  57. <P></P>
  58. <ADDRESS>
  59. <A HREF="mailto:[email protected]">James Clark</A>
  60. </ADDRESS>
  61. </BODY>
  62. </HTML>