Permalink
Browse files

fixed some wording make sure doc/examples is packaged fixed the really

* Copyright: fixed some wording
* libxml.spec.in: make sure doc/examples is packaged
* include/libxml/tree.h valid.c xmlreader.c: fixed the really
  annoying problem about xmlRemoveID and xmlReader streaming.
  Thing looks fixed now, add to add a doc reference to the
  xmlID structure though...
Daniel
  • Loading branch information...
1 parent 485fa4b commit 8d7b5c7ecdebc775257495bcdaa855916f2dfbb0 Daniel Veillard committed Nov 15, 2003
Showing with 736 additions and 617 deletions.
  1. +10 −2 ChangeLog
  2. +4 −3 Copyright
  3. +5 −4 doc/FAQ.html
  4. +8 −0 doc/examples/Makefile.am
  5. +8 −0 doc/examples/index.py
  6. BIN doc/examples/tree1.out
  7. +597 −597 doc/libxml2-api.xml
  8. +4 −3 doc/xml.html
  9. +1 −0 include/libxml/tree.h
  10. +1 −0 libxml.spec.in
  11. +29 −6 valid.c
  12. +69 −2 xmlreader.c
View
@@ -1,7 +1,15 @@
+Sat Nov 15 19:20:32 CET 2003 Daniel Veillard <daniel@veillard.com>
+
+ * Copyright: fixed some wording
+ * libxml.spec.in: make sure doc/examples is packaged
+ * include/libxml/tree.h valid.c xmlreader.c: fixed the really
+ annoying problem about xmlRemoveID and xmlReader streaming.
+ Thing looks fixed now, add to add a doc reference to the
+ xmlID structure though...
+
Sat Nov 15 09:53:36 MST 2003 John Fleck <jfleck@inkstain.net>
- * doc/docdescr.doc
- added description of man page building
+ * doc/docdescr.doc: added description of man page building
Sat Nov 15 19:08:22 HKT 2003 William Brack <wbrack@mmm.com.hk>
View
@@ -1,7 +1,8 @@
-Except where otherwise noted in the source code (trio files, hash.c and list.c)
-covered by a similar licence but with different Copyright notices:
+Except where otherwise noted in the source code (e.g. the files hash.c,
+list.c and the trio files, which are covered by a similar licence but
+with different Copyright notices) all the files are:
- Copyright (C) 1998-2002 Daniel Veillard. All Rights Reserved.
+ Copyright (C) 1998-2003 Daniel Veillard. All Rights Reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
View
@@ -182,21 +182,22 @@
<p>Check the previous points 1/ and 2/ raised before, and please send
patches.</p>
</li>
- <li><em>Where can I get more examples and information than privoded on the
+ <li><em>Where can I get more examples and information than provided on the
web page?</em>
<p>Ideally a libxml2 book would be nice. I have no such plan ... But you
can:</p>
<ul><li>check more deeply the <a href="html/libxml-lib.html">existing
generated doc</a></li>
- <li>look for examples of use for libxml2 function using the Gnome code.
+ <li>have a look at <a href="examples/index.html">the set of examples</a>.
+ </li><li>look for examples of use for libxml2 function using the Gnome code.
For example the following will query the full Gnome CVS base for the
use of the <strong>xmlAddChild()</strong> function:
<p><a href="http://cvs.gnome.org/lxr/search?string=xmlAddChild">http://cvs.gnome.org/lxr/search?string=xmlAddChild</a></p>
<p>This may be slow, a large hardware donation to the gnome project
could cure this :-)</p>
</li>
- <li><a href="http://cvs.gnome.org/bonsai/rview.cgi?cvsroot=/cvs/gnome&amp;dir=gnome-xml">Browse
- the libxml2 source</a> , I try to write code as clean and documented
+ <li><a href="http://cvs.gnome.org/bonsai/rview.cgi?cvsroot=/cvs/gnome&amp;dir=gnome-xml">Browse the libxml2 source</a> , I try to write code as clean and
+ documented
as possible, so looking at it may be helpful. In particular the code
of xmllint.c and of the various testXXX.c test programs should
provide good examples of how to do things with the library.</li>
@@ -1,4 +1,8 @@
# Beware this is autogenerated by config.py
+HTML_DIR=$(datadir)/doc
+DOC_MODULE=libxml2-$(VERSION)
+TARGET_DIR=$(HTML_DIR)/$(DOC_MODULE)/examples
+
INCLUDES = -I$(top_builddir)/include -I@srcdir@/include @THREAD_CFLAGS@ @Z_CFLAGS@
DEPS = $(top_builddir)/libxml2.la
LDADDS = @STATIC_BINARIES@ $(top_builddir)/libxml2.la @THREAD_LIBS@ @Z_LIBS@ $(ICONV_LIBS) -lm @WIN32_EXTRA_LIBADD@
@@ -11,6 +15,10 @@ examples.xml: index.py *.c
index.html: examples.xml examples.xsl
-@(xsltproc examples.xsl examples.xml && echo "Rebuilt web page" && xmllint --valid --noout index.html)
+install-data-local:
+ $(mkinstalldirs) $(DESTDIR)$(TARGET_DIR)
+ -@INSTALL@ -m 0644 $(srcdir)/*.html $(srcdir)/*.c $(srcdir)/*.xml $(srcdir)/*.xsl $(srcdir)/*.out $(DESTDIR)$(TARGET_DIR)
+
EXTRA_DIST=examples.xsl index.py test1.xml examples.xml test2.xml tree1.out
noinst_PROGRAMS=xpath1 parse1 parse2 tree1
@@ -219,6 +219,10 @@ def dump_Makefile():
for file in glob.glob('*.out'):
extras.append(file)
Makefile="""# Beware this is autogenerated by config.py
+HTML_DIR=$(datadir)/doc
+DOC_MODULE=libxml2-$(VERSION)
+TARGET_DIR=$(HTML_DIR)/$(DOC_MODULE)/examples
+
INCLUDES = -I$(top_builddir)/include -I@srcdir@/include @THREAD_CFLAGS@ @Z_CFLAGS@
DEPS = $(top_builddir)/libxml2.la
LDADDS = @STATIC_BINARIES@ $(top_builddir)/libxml2.la @THREAD_LIBS@ @Z_LIBS@ $(ICONV_LIBS) -lm @WIN32_EXTRA_LIBADD@
@@ -231,6 +235,10 @@ def dump_Makefile():
index.html: examples.xml examples.xsl
-@(xsltproc examples.xsl examples.xml && echo "Rebuilt web page" && xmllint --valid --noout index.html)
+install-data-local:
+ $(mkinstalldirs) $(DESTDIR)$(TARGET_DIR)
+ -@INSTALL@ -m 0644 $(srcdir)/*.html $(srcdir)/*.c $(srcdir)/*.xml $(srcdir)/*.xsl $(srcdir)/*.out $(DESTDIR)$(TARGET_DIR)
+
"""
EXTRA_DIST=""
for extra in extras:
View
Binary file not shown.
Oops, something went wrong.

0 comments on commit 8d7b5c7

Please sign in to comment.