You can subscribe to this list here.
2005 |
Jan
(4) |
Feb
(37) |
Mar
(7) |
Apr
(9) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
|
Feb
|
Mar
(12) |
Apr
(4) |
May
(1) |
Jun
(1) |
Jul
(18) |
Aug
(36) |
Sep
(15) |
Oct
|
Nov
|
Dec
|
2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(7) |
Nov
(2) |
Dec
|
2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(7) |
Nov
(3) |
Dec
|
2012 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(2) |
2013 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Arnaud L. <leg...@us...> - 2006-03-21 16:49:35
|
Update of /cvsroot/flexml/flexml/debian In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26621/debian Modified Files: changelog Log Message: Make flexml work with the current flex (2.5.33) that seem to dislike ]] in the comments. Index: changelog =================================================================== RCS file: /cvsroot/flexml/flexml/debian/changelog,v retrieving revision 1.19 retrieving revision 1.20 diff -u -d -r1.19 -r1.20 --- changelog 21 Mar 2006 08:24:13 -0000 1.19 +++ changelog 21 Mar 2006 12:04:14 -0000 1.20 @@ -1,11 +1,13 @@ -flexml (1.4-1) UNRELEASED +flexml (1.4-1) unstable; urgency=low [Arnaud Legrand] * Add a -P option to enable multiple versions of flexml to live in the same C code. + * Make flexml work with the current flex (2.5.33) that seem to dislike + ]] in the comments. - -- Martin Quinson <mqu...@de...> + -- flexml (1.3-1) unstable; urgency=low |
From: Martin Q. <mqu...@us...> - 2006-03-21 16:47:23
|
Update of /cvsroot/flexml/flexml In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26937 Modified Files: Makefile.defs Log Message: Allow to overide some default values Index: Makefile.defs =================================================================== RCS file: /cvsroot/flexml/flexml/Makefile.defs,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- Makefile.defs 6 Apr 2005 12:04:52 -0000 1.4 +++ Makefile.defs 21 Mar 2006 13:07:29 -0000 1.5 @@ -3,7 +3,8 @@ # To get rid of it (and do a non-versionned install, for example), do: # make whatever SUFF= -SUFF ?=-$(VER) +#SUFF ?=-$(VER) +SUFF ?= VER = 1.4 @@ -13,8 +14,8 @@ # BASE_DIR: like --prefix for configure # BASE_DIR_ARCH: like --exec-prefix for configure -BASE_DIR = /usr -BASE_DIR_ARCH = $(BASE_DIR) +BASE_DIR ?= /usr +BASE_DIR_ARCH ?= $(BASE_DIR) FLEXML= flexml$(SUFF) FLEXML_ACT = flexml-act$(SUFF) @@ -27,8 +28,8 @@ DATADIR = $(SHARE)/$(FLEXML) TMPDIR = /var/tmp -ACT = $(LIBDIR)/$(FLEXML_ACT) -SKEL = $(DATADIR)/skel +ACT ?= $(LIBDIR)/$(FLEXML_ACT) +SKEL ?= $(DATADIR)/skel # Permanent program locations PERL_DIR = /usr/bin |
From: Martin Q. <mqu...@us...> - 2006-03-21 16:47:12
|
Update of /cvsroot/flexml/flexml In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28276 Modified Files: flexml.pl Log Message: Add a -T option allowing to overide the flexml-act file to use. This allows to test a version before installing it Index: flexml.pl =================================================================== RCS file: /cvsroot/flexml/flexml/flexml.pl,v retrieving revision 1.47 retrieving revision 1.48 diff -u -d -r1.47 -r1.48 --- flexml.pl 21 Mar 2006 11:12:57 -0000 1.47 +++ flexml.pl 21 Mar 2006 13:09:12 -0000 1.48 @@ -55,6 +55,7 @@ my $pubid; # -p option string my $stacksize; # -b option flag my $tagprefix; # -P option flag +my $actbin; # -T option content my $dtd; # DTD file name (or URI) my $dtdrevision; # DTD version pruned from file @@ -486,10 +487,10 @@ # Parse options. -$Use = "Usage: flexml [-ASHDvdqnLXV] [-s skel] [-p pubid] [-u uri]\n" +$Use = "Usage: flexml [-ASHDvdqnLXV] [-s skel] [-T actbin] [-p pubid] [-u uri]\n" . " [-b stack_size] [-r roottags] [-a actions] [-P prefix] name[.dtd]"; -getopts('ASHDvdnLXVqp:b:P:s:u:r:a:', \%opt); +getopts('ASHDvdnLXVqp:b:P:s:T:u:r:a:', \%opt); # Version! print "FleXML version $Id.\n" if $opt{V} or $opt{v}; @@ -519,6 +520,9 @@ # Specific tagprefix? $tagprefix = ($opt{'P'} ? $opt{'P'}."_" : ""); +# Specific actbin? +$actbin = ($opt{'T'} ? $opt{'T'} : "./flexml-act"); + # Set skeleton scanner file name and check it is readable (if needed). $SKELETON = ($opt{'s'} ? $opt{'s'} : './skel'); die "$0: No skeleton file $SKELETON.\n" if not -r $SKELETON and $opt{S}; @@ -1547,7 +1551,7 @@ # Get requested actions. if ($ACTIONS) { - open ACTIONS, "./flexml-act $ACTIONS|" || die "$0: Cannot exec ./flexml-act $ACTIONS: $!\n"; + open ACTIONS, "$actbin $ACTIONS|" || die "$0: Cannot exec $actbin $ACTIONS: $!\n"; my ($tag,$attribute); my @myattributes; @@ -1622,7 +1626,7 @@ print $_; } - close ACTIONS || die "$0: Cannot close pipe to flexml-act: $!\n"; + close ACTIONS || die "$0: Cannot close pipe to $actbin: $!\n"; print "\n"; } @@ -1766,6 +1770,11 @@ Use the skeleton scanner I<skel> instead of the default. +=item B<-T> I<flexml-act> + +This is an internal option mainly used to test versions of flexml not +installed yet. + =item B<-b> I<stack_size> Sets the FLEXML_BUFFERSTACKSIZE to stack_size (100000 by default). Use |
From: Martin Q. <mqu...@us...> - 2006-03-21 16:47:10
|
Update of /cvsroot/flexml/flexml/examples In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29760/examples Modified Files: Makefile Log Message: Make more clear which test passed and which failed. Do test against the version in the current dir, not the installed one Index: Makefile =================================================================== RCS file: /cvsroot/flexml/flexml/examples/Makefile,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- Makefile 18 Mar 2005 22:10:52 -0000 1.4 +++ Makefile 21 Mar 2006 13:11:27 -0000 1.5 @@ -24,6 +24,10 @@ include ../Makefile.defs +# Test the version in this dir, not the installed one +SKEL=../skel +ACT=../flexml-act + SAMPS = my.dtd my-show.act my-joke.xml my-joke2.xml my-joke3.xml \ tricky.dtd tricky.act tricky.xml \ test.html @@ -55,7 +59,7 @@ # DEFAULT RULES. -FLEXML_PROG = ../$(FLEXML) +FLEXML_PROG = ../$(FLEXML) -s$(SKEL) -T$(ACT) # Generate C source from flex scanner. %.c: %.l @@ -89,9 +93,10 @@ my-show: my-show.o my.o test:: my-show - ./my-show <my-joke.xml && echo OK - ./my-show <my-joke2.xml && echo OK - ./my-show <my-joke3.xml || echo OK + @echo "XXXXX Test: LINK processor with application" + if ./my-show <my-joke.xml ; then echo "TEST PASSED"; else echo "TEST FAILED"; fi + if ./my-show <my-joke2.xml ; then echo "TEST PASSED"; else echo "TEST FAILED"; fi + if ./my-show <my-joke3.xml ; then echo "TEST FAILED"; else echo "TEST PASSED"; fi clean::; $(RM) my.c my-show my-show.c my-dummy my-dummy.c @@ -103,7 +108,8 @@ tricky: tricky.o test:: tricky - ./tricky <tricky.xml + @echo "XXXXX Test: COMPILE processor with application" + if ./tricky <tricky.xml ; then echo "TEST PASSED"; else echo "TEST FAILED"; fi clean::; $(RM) tricky.[lco] tricky @@ -113,7 +119,7 @@ wget 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd' xhtml1-transitional.l xhtml1-transitional.h: xhtml1-transitional.dtd - ../$(FLEXML) $(FLEXDEBUG) -rhtml \ + $(FLEXML_PROG) -rhtml \ -p "-//IETF//DTD XHTML 1.0 Transitional//EN" \ -u "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" \ xhtml1-transitional.dtd @@ -128,8 +134,9 @@ xhtml-href: xhtml-href.o xhtml1-transitional.o test:: xhtml-href FleXML.xml - ./xhtml-href <test.html - ./xhtml-href < FleXML.xml + @echo "XXXXX Test: application to print XHTML <a href=...> values" + if ./xhtml-href <test.html ; then echo "TEST PASSED"; else echo "TEST FAILED"; fi + if ./xhtml-href < FleXML.xml ; then echo "TEST PASSED"; else echo "TEST FAILED"; fi clean::; $(RM) xhtml1-*.dtd xhtml1-*.[lhco] xhtml-href.[co] xhtml-href @@ -137,6 +144,7 @@ clean::; @echo "Done cleaning." test::; @echo "Done testing." +test:: clean .PHONEY : echov |
From: Martin Q. <mqu...@us...> - 2006-03-21 16:46:48
|
Update of /cvsroot/flexml/flexml/debian In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1574/debian Modified Files: changelog Log Message: Document my last changes Index: changelog =================================================================== RCS file: /cvsroot/flexml/flexml/debian/changelog,v retrieving revision 1.20 retrieving revision 1.21 diff -u -d -r1.20 -r1.21 --- changelog 21 Mar 2006 12:04:14 -0000 1.20 +++ changelog 21 Mar 2006 13:16:21 -0000 1.21 @@ -1,13 +1,16 @@ flexml (1.4-1) unstable; urgency=low [Arnaud Legrand] - * Add a -P option to enable multiple versions of flexml to live in the same C code. * Make flexml work with the current flex (2.5.33) that seem to dislike - ]] in the comments. + ]] in the comments. Bug against flex underway. - -- + [Martin Quinson] + * Do test the version in the current dir, not the installed one. + * Normalize the distributed archive name and content layout. + + -- Martin Quinson <mqu...@de...> Tue, 21 Mar 2006 14:03:16 +0100 flexml (1.3-1) unstable; urgency=low |
From: Martin Q. <mqu...@us...> - 2006-03-21 16:46:47
|
Update of /cvsroot/flexml/flexml In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1132 Modified Files: Makefile Log Message: Normalize the distributed archive name and content layout. Index: Makefile =================================================================== RCS file: /cvsroot/flexml/flexml/Makefile,v retrieving revision 1.38 retrieving revision 1.39 diff -u -d -r1.38 -r1.39 --- Makefile 6 Apr 2005 10:43:27 -0000 1.38 +++ Makefile 21 Mar 2006 13:16:08 -0000 1.39 @@ -64,19 +64,17 @@ fi make -C examples install -# This should probably be something different -FLEXML_DIR = $(FLEXML) - +FLEXML_DISTDIR = $(FLEXML)-$(VER) dist: clean @echo "Building distribution..." - mkdir $(FLEXML_DIR) + mkdir $(FLEXML_DISTDIR) cp $(STUFF) $(DATA) $(DOCS) $(HTMLS) flexml-act-bootstrap.c \ - $(FLEXML_DIR) - cp -r examples $(FLEXML_DIR) - find $(FLEXML_DIR) -name CVS | xargs rm -rf - find $(FLEXML_DIR) -name .cvsignore | xargs rm -rf - tar cvfz $(FLEXML_DIR).tar.gz $(FLEXML_DIR) - rm -rf $(FLEXML_DIR) + $(FLEXML_DISTDIR) + cp -r examples $(FLEXML_DISTDIR) + find $(FLEXML_DISTDIR) -name CVS | xargs rm -rf + find $(FLEXML_DISTDIR) -name .cvsignore | xargs rm -rf + tar cvfz $(FLEXML_DISTDIR).tar.gz $(FLEXML_DISTDIR) + rm -rf $(FLEXML_DISTDIR) #rsync -v FleXML.html $(WEBHOME)/FleXML.html #rsync -va --cvs-exclude --delete-excluded ./ $(FTPHOME)/ |
From: Martin Q. <mqu...@us...> - 2006-03-21 16:44:49
|
Update of /cvsroot/flexml/flexml/debian In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12804/debian Added Files: compat Log Message: Modernity, here we come --- NEW FILE: compat --- 4 |
From: Arnaud L. <leg...@us...> - 2006-03-21 08:24:21
|
Update of /cvsroot/flexml/flexml/debian In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12924/debian Modified Files: changelog Log Message: Add a -P option to enable multiple versions of flexml to live in the same C code. Note that this is a minor modification that doesn't break backward compatibility and that it unfortunately doesn't enable to have two dtd with common tags. Index: changelog =================================================================== RCS file: /cvsroot/flexml/flexml/debian/changelog,v retrieving revision 1.18 retrieving revision 1.19 diff -u -d -r1.18 -r1.19 --- changelog 6 Apr 2005 12:04:53 -0000 1.18 +++ changelog 21 Mar 2006 08:24:13 -0000 1.19 @@ -1,6 +1,9 @@ flexml (1.4-1) UNRELEASED - * + [Arnaud Legrand] + + * Add a -P option to enable multiple versions of flexml to live in the + same C code. -- Martin Quinson <mqu...@de...> |
From: Arnaud L. <leg...@us...> - 2006-03-21 08:24:20
|
Update of /cvsroot/flexml/flexml In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12924 Modified Files: flexml.pl skel Log Message: Add a -P option to enable multiple versions of flexml to live in the same C code. Note that this is a minor modification that doesn't break backward compatibility and that it unfortunately doesn't enable to have two dtd with common tags. Index: skel =================================================================== RCS file: /cvsroot/flexml/flexml/skel,v retrieving revision 1.26 retrieving revision 1.27 diff -u -d -r1.26 -r1.27 --- skel 23 Feb 2005 22:22:20 -0000 1.26 +++ skel 21 Mar 2006 08:24:12 -0000 1.27 @@ -67,12 +67,14 @@ /* Text buffer stack handling. */ char bufferstack[FLEXML_BUFFERSTACKSIZE]; -char* limit = bufferstack + FLEXML_BUFFERSTACKSIZE; +static char* limit = bufferstack + FLEXML_BUFFERSTACKSIZE; typedef struct BufferLast_s { struct BufferLast_s *old; char* saved; char new1[1]; } BufferLast; -BufferLast* last = (BufferLast*)0; -char* next = bufferstack; +#ifdef FLEXML_HasMixed +static BufferLast* last = (BufferLast*)0; +#endif +static char* next = bufferstack; #define BUFFERSET(P) (P = next) #define BUFFERPUTC(C) (assert(next<limit), *(next++) = (C)) Index: flexml.pl =================================================================== RCS file: /cvsroot/flexml/flexml/flexml.pl,v retrieving revision 1.45 retrieving revision 1.46 diff -u -d -r1.45 -r1.46 --- flexml.pl 3 Mar 2006 19:25:46 -0000 1.45 +++ flexml.pl 21 Mar 2006 08:24:12 -0000 1.46 @@ -54,6 +54,7 @@ my $uri; # -u option uri my $pubid; # -p option string my $stacksize; # -b option flag +my $tagprefix; # -P option flag my $dtd; # DTD file name (or URI) my $dtdrevision; # DTD version pruned from file @@ -486,9 +487,9 @@ # Parse options. $Use = "Usage: flexml [-ASHDvdqnLXV] [-s skel] [-p pubid] [-u uri]\n" - . " [-b stack_size] [-r roottags] [-a actions] name[.dtd]"; + . " [-b stack_size] [-r roottags] [-a actions] [-P prefix] name[.dtd]"; -getopts('ASHDvdnLXVqp:b:s:u:r:a:', \%opt); +getopts('ASHDvdnLXVqp:b:P:s:u:r:a:', \%opt); # Version! print "FleXML version $Id.\n" if $opt{V} or $opt{v}; @@ -515,6 +516,9 @@ # Specific stack size? $stacksize = ($opt{'b'} ? $opt{'b'} : 100000); +# Specific tagprefix? +$tagprefix = ($opt{'P'} ? $opt{'P'}."_" : ""); + # Set skeleton scanner file name and check it is readable (if needed). $SKELETON = ($opt{'s'} ? $opt{'s'} : './skel'); die "$0: No skeleton file $SKELETON.\n" if not -r $SKELETON and $opt{S}; @@ -1070,14 +1074,14 @@ print "\n"; print "/* XML application utilities. */\n"; - print "extern int element_context(int);\n"; + print "extern int ${tagprefix}element_context(int);\n"; print "\n"; print "/* XML processor entry point. */\n"; print "extern int yylex(void);\n"; print "\n"; print "/* Flexml error handling function (useful only when -q flag passed to flexml) */\n"; - print "const char * parse_err_msg(void);\n"; + print "const char * ${tagprefix}parse_err_msg(void);\n"; print "#endif\n"; @@ -1118,7 +1122,7 @@ if ( /^FLEXML_VERSION$/ ) { - print "const char rcs_flexml[] =\n" + print "const char rcs_${tagprefix}flexml[] =\n" . " \"\$\" \"$Id \$\";\n"; print "const char rcs_${cdtd}_dtd[] =\n" @@ -1171,7 +1175,7 @@ print "%{\n"; print "/* State names. */\n"; - print "const char* *statenames=NULL;\n"; + print "const char* *${tagprefix}statenames=NULL;\n"; print "%}\n"; } @@ -1181,16 +1185,16 @@ print " /* FleXML_init */\n"; print " next = bufferstack;\n"; - print " if(!statenames) {statenames= (const char **)calloc(IMPOSSIBLE,sizeof(char*));\n"; + print " if(!${tagprefix}statenames) {${tagprefix}statenames= (const char **)calloc(IMPOSSIBLE,sizeof(char*));\n"; for ('PROLOG','DOCTYPE','EPILOG','INCOMMENT','INPI','VALUE1','VALUE2','CDATA') { - print " statenames[$_] = NULL;\n"; + print " ${tagprefix}statenames[$_] = NULL;\n"; } for my $tag (@tags) { my $c = $ctag{$tag}; - print " statenames[ROOT_$c] = NULL;\n" if $roottags{$tag}; - print " statenames[AL_$c] = NULL;\n"; + print " ${tagprefix}statenames[ROOT_$c] = NULL;\n" if $roottags{$tag}; + print " ${tagprefix}statenames[AL_$c] = NULL;\n"; for (split ',',$states{$tag}) { - print " statenames[$_] = \"$tag\";\n"; + print " ${tagprefix}statenames[$_] = \"$tag\";\n"; } } print " }\n"; @@ -1478,6 +1482,10 @@ } else { s/"\$Id/"\$" "Id/; + s/statenames/${tagprefix}statenames/g; + s/element_context/${tagprefix}element_context/g; + s/parse_err_msg/${tagprefix}parse_err_msg/g; + s/rcs_flexml_skeleton/rcs_${tagprefix}flexml_skeleton/g; print; } @@ -1750,6 +1758,11 @@ this option when you get an error like "Assertion `next<limit' failed". +=item B<-p> I<STRING> + +Use STRING to differentiate multiple versions of flexml in the same C +code. + =item B<-u> I<uri> Sets the URI of the DTD, used in the C<DOCTYPE> header, to the |
From: William D. <wdo...@us...> - 2006-03-03 19:25:50
|
Update of /cvsroot/flexml/flexml In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4453 Modified Files: flexml.pl Log Message: Add "confess" to list of symbols used from Carp. Index: flexml.pl =================================================================== RCS file: /cvsroot/flexml/flexml/flexml.pl,v retrieving revision 1.44 retrieving revision 1.45 diff -u -d -r1.44 -r1.45 --- flexml.pl 23 Feb 2005 23:08:16 -0000 1.44 +++ flexml.pl 3 Mar 2006 19:25:46 -0000 1.45 @@ -29,7 +29,7 @@ use Getopt::Std; use LWP::UserAgent; -use Carp qw/cluck/; +use Carp qw/cluck confess/; use strict; |
From: Martin Q. <mqu...@us...> - 2005-04-06 12:05:09
|
Update of /cvsroot/flexml/flexml In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17530 Modified Files: Makefile.defs Log Message: on the road to 1.4 Index: Makefile.defs =================================================================== RCS file: /cvsroot/flexml/flexml/Makefile.defs,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- Makefile.defs 6 Apr 2005 10:26:13 -0000 1.3 +++ Makefile.defs 6 Apr 2005 12:04:52 -0000 1.4 @@ -5,7 +5,7 @@ SUFF ?=-$(VER) -VER = 1.3 +VER = 1.4 # SETUP. |
From: Martin Q. <mqu...@us...> - 2005-04-06 12:05:09
|
Update of /cvsroot/flexml/flexml/debian In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17530/debian Modified Files: changelog Log Message: on the road to 1.4 Index: changelog =================================================================== RCS file: /cvsroot/flexml/flexml/debian/changelog,v retrieving revision 1.17 retrieving revision 1.18 diff -u -d -r1.17 -r1.18 --- changelog 6 Apr 2005 10:27:21 -0000 1.17 +++ changelog 6 Apr 2005 12:04:53 -0000 1.18 @@ -1,3 +1,9 @@ +flexml (1.4-1) UNRELEASED + + * + + -- Martin Quinson <mqu...@de...> + flexml (1.3-1) unstable; urgency=low [William Dowling] |
From: Martin Q. <mqu...@us...> - 2005-04-06 10:43:36
|
Update of /cvsroot/flexml/flexml In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27954 Modified Files: Makefile Log Message: Please don't remove the flexml binary when SUFF='' Index: Makefile =================================================================== RCS file: /cvsroot/flexml/flexml/Makefile,v retrieving revision 1.37 retrieving revision 1.38 diff -u -d -r1.37 -r1.38 --- Makefile 6 Apr 2005 10:25:52 -0000 1.37 +++ Makefile 6 Apr 2005 10:43:27 -0000 1.38 @@ -58,8 +58,10 @@ install -m444 $(MANS) $(DESTDIR)$(MAN1DIR)/ install -m444 $(DOCS) $(DESTDIR)$(DOCDIR)/ install -m444 $(HTMLS) $(DESTDIR)$(DOCDIR)/html/ - rm -f $(DESTDIR)$(BINDIR)/flexml - test "x$(SUFF)" = "x" || ln -s $(DESTDIR)$(BINDIR)/$(FLEXML) $(DESTDIR)$(BINDIR)/flexml + if test "x$(SUFF)" != "x" ; then \ + rm -f $(DESTDIR)$(BINDIR)/flexml; \ + ln -s $(DESTDIR)$(BINDIR)/$(FLEXML) $(DESTDIR)$(BINDIR)/flexml;\ + fi make -C examples install # This should probably be something different |
From: Martin Q. <mqu...@us...> - 2005-04-06 10:39:16
|
Update of /cvsroot/flexml/flexml/debian In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27035/debian Modified Files: doc-base Log Message: Use existing files only Index: doc-base =================================================================== RCS file: /cvsroot/flexml/flexml/debian/doc-base,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- doc-base 12 Feb 2003 02:55:41 -0000 1.2 +++ doc-base 6 Apr 2005 10:39:07 -0000 1.3 @@ -6,5 +6,5 @@ Section: devel Format: HTML -Index: /usr/share/doc/flexml/html/index.html -Files: /usr/share/doc/flexml/html/paper.html /usr/share/doc/flexml/html/flexml.html +Index: /usr/share/doc/flexml/html/FleXML.html +Files: /usr/share/doc/flexml/html/paper.html |
From: Martin Q. <mqu...@us...> - 2005-04-06 10:27:33
|
Update of /cvsroot/flexml/flexml/debian In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24471/debian Modified Files: changelog Log Message: Document last changes Index: changelog =================================================================== RCS file: /cvsroot/flexml/flexml/debian/changelog,v retrieving revision 1.16 retrieving revision 1.17 diff -u -d -r1.16 -r1.17 --- changelog 23 Feb 2005 23:30:07 -0000 1.16 +++ changelog 6 Apr 2005 10:27:21 -0000 1.17 @@ -3,19 +3,26 @@ [William Dowling] (infrastructure) * Enhance main makefile to allow versionned installs - * various cleanups to the makefiles + * Various cleanups to the makefiles + * Get a working "make test" (some of the tests themselves are still to be + fixed) (generated parsers) * Don't allocate the statenames array over and over (plug memleak) * Try not to exaust the stack when possible - + [Ulrik Petersen] * Fix statenames array on terminaison (plug memleak) [Martin Quinson] (flexml.pl script) * Get paranoid on file open()/close(). + (infrastructure) + * Let FleXML.html be valid XHTML1.1 (so that it can be used in tests) + * Install the paper as documentation + (debian package) + * Fix the doc-base file (Closes: #303220). - -- Martin Quinson <mqu...@de...> Thu, 24 Feb 2005 00:24:27 +0100 + -- Martin Quinson <mqu...@de...> Wed, 6 Apr 2005 12:27:04 +0200 flexml (1.2-2) unstable; urgency=low |
From: Martin Q. <mqu...@us...> - 2005-04-06 10:26:40
|
Update of /cvsroot/flexml/flexml In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24248 Modified Files: Makefile.defs Log Message: On the road to 1.3 Index: Makefile.defs =================================================================== RCS file: /cvsroot/flexml/flexml/Makefile.defs,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- Makefile.defs 24 Feb 2005 17:26:18 -0000 1.2 +++ Makefile.defs 6 Apr 2005 10:26:13 -0000 1.3 @@ -5,7 +5,7 @@ SUFF ?=-$(VER) -VER = 1.2 +VER = 1.3 # SETUP. |
From: Martin Q. <mqu...@us...> - 2005-04-06 10:26:03
|
Update of /cvsroot/flexml/flexml In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24089 Modified Files: Makefile Log Message: Also install the paper Index: Makefile =================================================================== RCS file: /cvsroot/flexml/flexml/Makefile,v retrieving revision 1.36 retrieving revision 1.37 diff -u -d -r1.36 -r1.37 --- Makefile 18 Mar 2005 22:00:55 -0000 1.36 +++ Makefile 6 Apr 2005 10:25:52 -0000 1.37 @@ -35,7 +35,7 @@ DATA = skel MANS = flexml.1 DOCS = README NOTES TODO flexml-act.dtd EnlargeFlex.patch -HTMLS = FleXML.html +HTMLS = FleXML.html paper.html SRC = $(STUFF) $(DATA) $(DOCS) $(HTMLS) ALL = $(PROGS) $(LIBS) $(DATA) $(MANS) $(DOCS) $(HTMLS) |
From: Martin Q. <mqu...@us...> - 2005-04-06 10:12:36
|
Update of /cvsroot/flexml/flexml In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21246 Modified Files: paper.html Log Message: some validating work, not done yet Index: paper.html =================================================================== RCS file: /cvsroot/flexml/flexml/paper.html,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- paper.html 12 Feb 2003 02:55:41 -0000 1.11 +++ paper.html 6 Apr 2005 10:12:27 -0000 1.12 @@ -1,4 +1,6 @@ -<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> +<?xml version="1.0" encoding="iso-8859-1"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" + "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html> <head> <title>Generating Fast Validating XML Processors</title> @@ -39,34 +41,34 @@ </h6> <h6> - Kristoffer Rose<br> - LIP, ENS-Lyon<br> + Kristoffer Rose<br/> + LIP, ENS-Lyon<br/> <a href="mailto:kri...@de...">kri...@de...</a> </h6> <h6> Abstract </h6> - We present <em>FleXML</em>, a program that generates fast + <p>We present <em>FleXML</em>, a program that generates fast validating XML processors from `self-contained' XML DTDs. It uses the <em>flex</em> (lexical analyser generator) program to translate the DTD into a <em>finite automaton</em> enriched with a stack with the `element context'. This means that the XML processor will act directly on each character received. The program is freely redistributable and modifyable (under GNU - `copyleft'). + `copyleft').</p> <h6> Keywords </h6> - Validating XML, DTD, lexical analysis, finite automata. + <p>Validating XML, DTD, lexical analysis, finite automata.</p> <h4> Overview </h4> - The `X' of XML stands for <em>Extensible</em> [<cite><a + <p>The `X' of XML stands for <em>Extensible</em> [<cite><a href="#XML">XML</a></cite>]. This signifies that each and every XML document specifies in its header the details of the format that it will use and <em>may</em> change its format a bit relative - to the used base format. + to the used base format.</p> <p> This has influenced the tools available to write validating XML processors: they use a <em>call-back</em> model where the XML @@ -76,13 +78,13 @@ extending its own notation with more tags and attributes. For <em>well-formed</em> but non-validated XML documents this makes a lot of sense, of course, but we would in general like to - exploit the information in the DTD for optimizations. + exploit the information in the DTD for optimizations.</p> <p> In particular, for many applications a <em>fixed</em> format suffices in the sense that a single DTD is used without individual extensions for a large number of documents. In that case we can do much better because the possible tags and - attributes are static. + attributes are static.</p> <p> We have implemented an XML processor <em>generator</em> using the <cite><a href="#Flex">Flex</a></cite> scanner generator that @@ -91,7 +93,7 @@ no overhead for XML processing: the generated XML processors read the XML document character by character and can immediately dispatch the actions associated with each element (or reject the - document as invalid). + document as invalid).</p> <p> Furthermore we have devised a simple extension of the C programming language that facilitates the writing of `element @@ -99,18 +101,18 @@ applications. In particular we represent XML attribute values efficiently in C when this is possible, thus avoiding the otherwise ubiquitous conversions between strings and data - values. + values.</p> <p> FleXML is available for free (from <a href="http://flexml.sourceforge.net">SourceForge</a>). In this paper we present FleXML through an elaborated <a href="#what">example</a> and discuss some of the - <a href="#how">technical issues</a>. + <a href="#how">technical issues</a>.</p> <h4><a name="what">What can it do?</a></h4> - Assume that we have an XML document <code>my-joke.xml</code> + <p>Assume that we have an XML document <code>my-joke.xml</code> containing the classical joke <blockquote><code><pre><!DOCTYPE joke SYSTEM "my.dtd"> @@ -130,12 +132,12 @@ </pre></code></blockquote> and, furthermore, we wish to write an XML application for - displaying such messages in an amusing way. + displaying such messages in an amusing way.</p> <p> With FleXML this can be done by creating an `actions file' <code>my-show.act</code> which implements the desired actions for each element. The remainder of this section explains the - contents of such an actions file. + contents of such an actions file.</p> <p> An actions file is itself an XML document which must begin with @@ -144,17 +146,17 @@ </pre></code></blockquote> (the <code>flexml-act.dtd</code> DTD is part of the FleXML - system and is reproduced in the manual page. + system and is reproduced in the manual page.</p> <p> We decide that our application should react to a <code>line</code> element by printing the text inside it, and that it should differentiate between the three possible `type' - attribute values by printing corresponding trailing punctuation. + attribute values by printing corresponding trailing punctuation.</p> <p> This introduces a slight complication, because the attribute values are available when parsing the start tag whereas the element text is not available until we parse the end tag (where - it has been read). + it has been read).</p> <p> This means that we must declare a top-level variable. @@ -165,7 +167,7 @@ Notice how we use <code>CDATA</code> sections to make sure that all characters (including white-space) are passed unmodified to - the C compiler. + the C compiler.</p> <p> With this we can write the action to set it when reading the <code>line</code> start tag as @@ -178,7 +180,7 @@ case {type=punch-line}: terminator = "!!"; break; } ]]></start> -</pre></code></blockquote> +</pre></code></blockquote></p> <p> The idea is that the enumeration attribute <code>type</code> is @@ -194,7 +196,7 @@ setting the attribute; in this example the attribute has a default value so this can never happen, however, we include the choice anyway to prevent the C compiler from issuing warnings - about missing choices in <code>switch</code> statements. + about missing choices in <code>switch</code> statements.</p> <p> With this in place we can write the action for <code></line></code>. Since it prints something, however, @@ -207,7 +209,7 @@ <end tag='line'><![CDATA[ printf("%s%s\n", pcdata, terminator); ]]></end> -</pre></code></blockquote> +</pre></code></blockquote></p> <p> Finally, we will make the application amusing by `displaying' @@ -221,7 +223,7 @@ <start tag='suspense'><![CDATA[ sleep(2); ]]></start> -</pre></code></blockquote> +</pre></code></blockquote></p> <p> That is all; the only remaining thing is to terminate the action |
From: Martin Q. <mqu...@us...> - 2005-04-06 10:05:31
|
Update of /cvsroot/flexml/flexml In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19763 Modified Files: FleXML.html Log Message: Change to valid XHTML1.1 Index: FleXML.html =================================================================== RCS file: /cvsroot/flexml/flexml/FleXML.html,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- FleXML.html 12 Feb 2003 02:55:41 -0000 1.4 +++ FleXML.html 6 Apr 2005 10:05:15 -0000 1.5 @@ -1,5 +1,6 @@ -<!DOCTYPE html PUBLIC "-//IETF//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" + "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html> <head> <title>FleXML - An XML Processor Generator</title> @@ -18,35 +19,34 @@ </style> </head> - <body bgcolor='white'> + <body> <table> <tr valign='top'><td> -<p><a href="http://sourceforge.net"> -<img src="http://sourceforge.net/sflogo.php?group_id=34654&type=1" width="88" - height="31" border="0" alt="SourceForge Logo"></a><br> -<center><font size=-2><i>Visit our Sponsor</i></font></center></p> - -<p><font size=-1> -<HR SIZE="1" NoShade> -<b><A class=tabs href="http://sourceforge.net/projects/flexml/">Project Summary</A></b><br> -<!-- <A class=tabs href="http://flexml.sourceforge.net">Home Page</A><br> --> -<A class=tabs href="http://sourceforge.net/forum/?group_id=34654">Forums</A><br> -<A class=tabs href="http://sourceforge.net/tracker/?group_id=34654">Tracker</A><br> -<A class=tabs href="http://sourceforge.net/tracker/?group_id=34654&atid=411869">Bugs</A><br> -<A class=tabs href="http://sourceforge.net/tracker/?group_id=34654&atid=411870">Support</A><br> -<A class=tabs href="http://sourceforge.net/tracker/?group_id=34654&atid=411871">Patches</A><br> -<A class=tabs href="http://sourceforge.net/mail/?group_id=34654">Lists</A><br> -<A class=tabs href="http://sourceforge.net/pm/?group_id=34654">Tasks</A><br> -<A class=tabs href="http://sourceforge.net/docman/?group_id=34654">Docs</A><br> -<A class=tabs href="http://sourceforge.net/news/?group_id=34654">News</A><br> -<A class=tabs href="http://sourceforge.net/cvs/?group_id=34654">CVS</A><br> -<A class=tabs href="http://sourceforge.net/project/showfiles.php?group_id=34654">Files</A><br> -<HR SIZE="1" NoShade><BR> +<p style='font-size:0.8em'><a href="http://sourceforge.net"> +<img src="http://sourceforge.net/sflogo.php?group_id=34654&type=1" width="88" + height="31" alt="SourceForge Logo" /></a><br /> +<i>Visit our Sponsor</i></p> -</font></p> +<hr style="height:1px" /> +<p style='font-size:0.9em'> +<b><a class='tabs' href="http://sourceforge.net/projects/flexml/">Project Summary</a></b><br /> +<!-- <a class='tabs' href="http://flexml.sourceforge.net">Home Page</a><br> --> +<a class='tabs' href="http://sourceforge.net/forum/?group_id=34654">Forums</a><br/> +<a class='tabs' href="http://sourceforge.net/tracker/?group_id=34654">Tracker</a><br/> +<a class='tabs' href="http://sourceforge.net/tracker/?group_id=34654&atid=411869">Bugs</a><br/> +<a class='tabs' href="http://sourceforge.net/tracker/?group_id=34654&atid=411870">Support</a><br/> +<a class='tabs' href="http://sourceforge.net/tracker/?group_id=34654&atid=411871">Patches</a><br/> +<a class='tabs' href="http://sourceforge.net/mail/?group_id=34654">Lists</a><br/> +<a class='tabs' href="http://sourceforge.net/pm/?group_id=34654">Tasks</a><br/> +<a class='tabs' href="http://sourceforge.net/docman/?group_id=34654">Docs</a><br/> +<a class='tabs' href="http://sourceforge.net/news/?group_id=34654">News</a><br/> +<a class='tabs' href="http://sourceforge.net/cvs/?group_id=34654">CVS</a><br/> +<a class='tabs' href="http://sourceforge.net/project/showfiles.php?group_id=34654">Files</a><br/> +</p> +<hr style="height:1px" /><br/> </td><td> @@ -55,9 +55,9 @@ <blockquote><p><em> See also <a href="flexml.html">the manual page</a> and a short <a href="paper.html">white paper</a>. -<!-- and a short <a href="http://sourceforge.net/docman/display_doc.php?docid=6373&group_id=34654">white paper</a>.--> +<!-- and a short <a href="http://sourceforge.net/docman/display_doc.php?docid=6373&group_id=34654">white paper</a>.--> Or peek into the -<A href="http://sourceforge.net/cvs/?group_id=34654"> +<a href="http://sourceforge.net/cvs/?group_id=34654"> master source archive</a>. </em></p></blockquote> @@ -149,7 +149,7 @@ described below. The elements are used as follows: </p> - <dl compact='compact'> + <dl> <dt>top</dt> <dd><p> Use for top-level C code such as global declarations, utility @@ -218,14 +218,14 @@ `copyleft'). </p> <hr /> - <address>Copyright © + <address>Copyright (C) <a href="mailto:kri...@de...">Kristoffer Rose</a>. <!-- Created: Thu Dec 9 08:09:41 CET 1999 --> <!-- hhmts start -->Last modified: Tue Feb 11 18:06:44 EST 2003 <!-- hhmts end --> </address> - </body> </td></tr></table> - <p><font size='-2'>$Id$</font> + <p style='font-size:0.8em'>$Id$</p> + </body> </html> |
From: William D. <wdo...@us...> - 2005-03-21 16:43:28
|
Update of /cvsroot/flexml/flexml/examples In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16289 Added Files: xhtml-special.ent Log Message: Initial revision -- needed for xhtml parsing. --- NEW FILE: xhtml-special.ent --- <!-- Special characters for HTML --> <!-- Character entity set. Typical invocation: <!ENTITY % HTMLspecial PUBLIC "-//W3C//ENTITIES Special for XHTML//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml-special.ent"> %HTMLspecial; --> <!-- Portions (C) International Organization for Standardization 1986: Permission to copy in any form is granted for use with conforming SGML systems and applications as defined in ISO 8879, provided this notice is included in all copies. --> <!-- Relevant ISO entity set is given unless names are newly introduced. New names (i.e., not in ISO 8879 list) do not clash with any existing ISO 8879 entity names. ISO 10646 character numbers are given for each character, in hex. values are decimal conversions of the ISO 10646 values and refer to the document character set. Names are Unicode names. --> <!-- C0 Controls and Basic Latin --> <!ENTITY quot """> <!-- quotation mark = APL quote, U+0022 ISOnum --> <!ENTITY amp "&#38;"> <!-- ampersand, U+0026 ISOnum --> <!ENTITY lt "&#60;"> <!-- less-than sign, U+003C ISOnum --> <!ENTITY gt ">"> <!-- greater-than sign, U+003E ISOnum --> <!ENTITY apos "'"> <!-- apostrophe mark, U+0027 ISOnum --> <!-- Latin Extended-A --> <!ENTITY OElig "Œ"> <!-- latin capital ligature OE, U+0152 ISOlat2 --> <!ENTITY oelig "œ"> <!-- latin small ligature oe, U+0153 ISOlat2 --> <!-- ligature is a misnomer, this is a separate character in some languages --> <!ENTITY Scaron "Š"> <!-- latin capital letter S with caron, U+0160 ISOlat2 --> <!ENTITY scaron "š"> <!-- latin small letter s with caron, U+0161 ISOlat2 --> <!ENTITY Yuml "Ÿ"> <!-- latin capital letter Y with diaeresis, U+0178 ISOlat2 --> <!-- Spacing Modifier Letters --> <!ENTITY circ "ˆ"> <!-- modifier letter circumflex accent, U+02C6 ISOpub --> <!ENTITY tilde "˜"> <!-- small tilde, U+02DC ISOdia --> <!-- General Punctuation --> <!ENTITY ensp " "> <!-- en space, U+2002 ISOpub --> <!ENTITY emsp " "> <!-- em space, U+2003 ISOpub --> <!ENTITY thinsp " "> <!-- thin space, U+2009 ISOpub --> <!ENTITY zwnj "‌"> <!-- zero width non-joiner, U+200C NEW RFC 2070 --> <!ENTITY zwj "‍"> <!-- zero width joiner, U+200D NEW RFC 2070 --> <!ENTITY lrm "‎"> <!-- left-to-right mark, U+200E NEW RFC 2070 --> <!ENTITY rlm "‏"> <!-- right-to-left mark, U+200F NEW RFC 2070 --> <!ENTITY ndash "–"> <!-- en dash, U+2013 ISOpub --> <!ENTITY mdash "—"> <!-- em dash, U+2014 ISOpub --> <!ENTITY lsquo "‘"> <!-- left single quotation mark, U+2018 ISOnum --> <!ENTITY rsquo "’"> <!-- right single quotation mark, U+2019 ISOnum --> <!ENTITY sbquo "‚"> <!-- single low-9 quotation mark, U+201A NEW --> <!ENTITY ldquo "“"> <!-- left double quotation mark, U+201C ISOnum --> <!ENTITY rdquo "”"> <!-- right double quotation mark, U+201D ISOnum --> <!ENTITY bdquo "„"> <!-- double low-9 quotation mark, U+201E NEW --> <!ENTITY dagger "†"> <!-- dagger, U+2020 ISOpub --> <!ENTITY Dagger "‡"> <!-- double dagger, U+2021 ISOpub --> <!ENTITY permil "‰"> <!-- per mille sign, U+2030 ISOtech --> <!ENTITY lsaquo "‹"> <!-- single left-pointing angle quotation mark, U+2039 ISO proposed --> <!-- lsaquo is proposed but not yet ISO standardized --> <!ENTITY rsaquo "›"> <!-- single right-pointing angle quotation mark, U+203A ISO proposed --> <!-- rsaquo is proposed but not yet ISO standardized --> <!ENTITY euro "€"> <!-- euro sign, U+20AC NEW --> |
From: William D. <wdo...@us...> - 2005-03-21 16:42:36
|
Update of /cvsroot/flexml/flexml/examples In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15874 Added Files: xhtml-symbol.ent Log Message: Initial revision -- needed for xhtml parsing. --- NEW FILE: xhtml-symbol.ent --- <!-- Mathematical, Greek and Symbolic characters for HTML --> <!-- Character entity set. Typical invocation: <!ENTITY % HTMLsymbol PUBLIC "-//W3C//ENTITIES Symbols for XHTML//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml-symbol.ent"> %HTMLsymbol; --> <!-- Portions (C) International Organization for Standardization 1986: Permission to copy in any form is granted for use with conforming SGML systems and applications as defined in ISO 8879, provided this notice is included in all copies. --> <!-- Relevant ISO entity set is given unless names are newly introduced. New names (i.e., not in ISO 8879 list) do not clash with any existing ISO 8879 entity names. ISO 10646 character numbers are given for each character, in hex. values are decimal conversions of the ISO 10646 values and refer to the document character set. Names are Unicode names. --> <!-- Latin Extended-B --> <!ENTITY fnof "ƒ"> <!-- latin small f with hook = function = florin, U+0192 ISOtech --> <!-- Greek --> <!ENTITY Alpha "Α"> <!-- greek capital letter alpha, U+0391 --> <!ENTITY Beta "Β"> <!-- greek capital letter beta, U+0392 --> <!ENTITY Gamma "Γ"> <!-- greek capital letter gamma, U+0393 ISOgrk3 --> <!ENTITY Delta "Δ"> <!-- greek capital letter delta, U+0394 ISOgrk3 --> <!ENTITY Epsilon "Ε"> <!-- greek capital letter epsilon, U+0395 --> <!ENTITY Zeta "Ζ"> <!-- greek capital letter zeta, U+0396 --> <!ENTITY Eta "Η"> <!-- greek capital letter eta, U+0397 --> <!ENTITY Theta "Θ"> <!-- greek capital letter theta, U+0398 ISOgrk3 --> <!ENTITY Iota "Ι"> <!-- greek capital letter iota, U+0399 --> <!ENTITY Kappa "Κ"> <!-- greek capital letter kappa, U+039A --> <!ENTITY Lambda "Λ"> <!-- greek capital letter lambda, U+039B ISOgrk3 --> <!ENTITY Mu "Μ"> <!-- greek capital letter mu, U+039C --> <!ENTITY Nu "Ν"> <!-- greek capital letter nu, U+039D --> <!ENTITY Xi "Ξ"> <!-- greek capital letter xi, U+039E ISOgrk3 --> <!ENTITY Omicron "Ο"> <!-- greek capital letter omicron, U+039F --> <!ENTITY Pi "Π"> <!-- greek capital letter pi, U+03A0 ISOgrk3 --> <!ENTITY Rho "Ρ"> <!-- greek capital letter rho, U+03A1 --> <!-- there is no Sigmaf, and no U+03A2 character either --> <!ENTITY Sigma "Σ"> <!-- greek capital letter sigma, U+03A3 ISOgrk3 --> <!ENTITY Tau "Τ"> <!-- greek capital letter tau, U+03A4 --> <!ENTITY Upsilon "Υ"> <!-- greek capital letter upsilon, U+03A5 ISOgrk3 --> <!ENTITY Phi "Φ"> <!-- greek capital letter phi, U+03A6 ISOgrk3 --> <!ENTITY Chi "Χ"> <!-- greek capital letter chi, U+03A7 --> <!ENTITY Psi "Ψ"> <!-- greek capital letter psi, U+03A8 ISOgrk3 --> <!ENTITY Omega "Ω"> <!-- greek capital letter omega, U+03A9 ISOgrk3 --> <!ENTITY alpha "α"> <!-- greek small letter alpha, U+03B1 ISOgrk3 --> <!ENTITY beta "β"> <!-- greek small letter beta, U+03B2 ISOgrk3 --> <!ENTITY gamma "γ"> <!-- greek small letter gamma, U+03B3 ISOgrk3 --> <!ENTITY delta "δ"> <!-- greek small letter delta, U+03B4 ISOgrk3 --> <!ENTITY epsilon "ε"> <!-- greek small letter epsilon, U+03B5 ISOgrk3 --> <!ENTITY zeta "ζ"> <!-- greek small letter zeta, U+03B6 ISOgrk3 --> <!ENTITY eta "η"> <!-- greek small letter eta, U+03B7 ISOgrk3 --> <!ENTITY theta "θ"> <!-- greek small letter theta, U+03B8 ISOgrk3 --> <!ENTITY iota "ι"> <!-- greek small letter iota, U+03B9 ISOgrk3 --> <!ENTITY kappa "κ"> <!-- greek small letter kappa, U+03BA ISOgrk3 --> <!ENTITY lambda "λ"> <!-- greek small letter lambda, U+03BB ISOgrk3 --> <!ENTITY mu "μ"> <!-- greek small letter mu, U+03BC ISOgrk3 --> <!ENTITY nu "ν"> <!-- greek small letter nu, U+03BD ISOgrk3 --> <!ENTITY xi "ξ"> <!-- greek small letter xi, U+03BE ISOgrk3 --> <!ENTITY omicron "ο"> <!-- greek small letter omicron, U+03BF NEW --> <!ENTITY pi "π"> <!-- greek small letter pi, U+03C0 ISOgrk3 --> <!ENTITY rho "ρ"> <!-- greek small letter rho, U+03C1 ISOgrk3 --> <!ENTITY sigmaf "ς"> <!-- greek small letter final sigma, U+03C2 ISOgrk3 --> <!ENTITY sigma "σ"> <!-- greek small letter sigma, U+03C3 ISOgrk3 --> <!ENTITY tau "τ"> <!-- greek small letter tau, U+03C4 ISOgrk3 --> <!ENTITY upsilon "υ"> <!-- greek small letter upsilon, U+03C5 ISOgrk3 --> <!ENTITY phi "φ"> <!-- greek small letter phi, U+03C6 ISOgrk3 --> <!ENTITY chi "χ"> <!-- greek small letter chi, U+03C7 ISOgrk3 --> <!ENTITY psi "ψ"> <!-- greek small letter psi, U+03C8 ISOgrk3 --> <!ENTITY omega "ω"> <!-- greek small letter omega, U+03C9 ISOgrk3 --> <!ENTITY thetasym "ϑ"> <!-- greek small letter theta symbol, U+03D1 NEW --> <!ENTITY upsih "ϒ"> <!-- greek upsilon with hook symbol, U+03D2 NEW --> <!ENTITY piv "ϖ"> <!-- greek pi symbol, U+03D6 ISOgrk3 --> <!-- General Punctuation --> <!ENTITY bull "•"> <!-- bullet = black small circle, U+2022 ISOpub --> <!-- bullet is NOT the same as bullet operator, U+2219 --> <!ENTITY hellip "…"> <!-- horizontal ellipsis = three dot leader, U+2026 ISOpub --> <!ENTITY prime "′"> <!-- prime = minutes = feet, U+2032 ISOtech --> <!ENTITY Prime "″"> <!-- double prime = seconds = inches, U+2033 ISOtech --> <!ENTITY oline "‾"> <!-- overline = spacing overscore, U+203E NEW --> <!ENTITY frasl "⁄"> <!-- fraction slash, U+2044 NEW --> <!-- Letterlike Symbols --> <!ENTITY weierp "℘"> <!-- script capital P = power set = Weierstrass p, U+2118 ISOamso --> <!ENTITY image "ℑ"> <!-- blackletter capital I = imaginary part, U+2111 ISOamso --> <!ENTITY real "ℜ"> <!-- blackletter capital R = real part symbol, U+211C ISOamso --> <!ENTITY trade "™"> <!-- trade mark sign, U+2122 ISOnum --> <!ENTITY alefsym "ℵ"> <!-- alef symbol = first transfinite cardinal, U+2135 NEW --> <!-- alef symbol is NOT the same as hebrew letter alef, U+05D0 although the same glyph could be used to depict both characters --> <!-- Arrows --> <!ENTITY larr "←"> <!-- leftwards arrow, U+2190 ISOnum --> <!ENTITY uarr "↑"> <!-- upwards arrow, U+2191 ISOnum--> <!ENTITY rarr "→"> <!-- rightwards arrow, U+2192 ISOnum --> <!ENTITY darr "↓"> <!-- downwards arrow, U+2193 ISOnum --> <!ENTITY harr "↔"> <!-- left right arrow, U+2194 ISOamsa --> <!ENTITY crarr "↵"> <!-- downwards arrow with corner leftwards = carriage return, U+21B5 NEW --> <!ENTITY lArr "⇐"> <!-- leftwards double arrow, U+21D0 ISOtech --> <!-- Unicode does not say that lArr is the same as the 'is implied by' arrow but also does not have any other character for that function. So ? lArr can be used for 'is implied by' as ISOtech suggests --> <!ENTITY uArr "⇑"> <!-- upwards double arrow, U+21D1 ISOamsa --> <!ENTITY rArr "⇒"> <!-- rightwards double arrow, U+21D2 ISOtech --> <!-- Unicode does not say this is the 'implies' character but does not have another character with this function so ? rArr can be used for 'implies' as ISOtech suggests --> <!ENTITY dArr "⇓"> <!-- downwards double arrow, U+21D3 ISOamsa --> <!ENTITY hArr "⇔"> <!-- left right double arrow, U+21D4 ISOamsa --> <!-- Mathematical Operators --> <!ENTITY forall "∀"> <!-- for all, U+2200 ISOtech --> <!ENTITY part "∂"> <!-- partial differential, U+2202 ISOtech --> <!ENTITY exist "∃"> <!-- there exists, U+2203 ISOtech --> <!ENTITY empty "∅"> <!-- empty set = null set = diameter, U+2205 ISOamso --> <!ENTITY nabla "∇"> <!-- nabla = backward difference, U+2207 ISOtech --> <!ENTITY isin "∈"> <!-- element of, U+2208 ISOtech --> <!ENTITY notin "∉"> <!-- not an element of, U+2209 ISOtech --> <!ENTITY ni "∋"> <!-- contains as member, U+220B ISOtech --> <!-- should there be a more memorable name than 'ni'? --> <!ENTITY prod "∏"> <!-- n-ary product = product sign, U+220F ISOamsb --> <!-- prod is NOT the same character as U+03A0 'greek capital letter pi' though the same glyph might be used for both --> <!ENTITY sum "∑"> <!-- n-ary sumation, U+2211 ISOamsb --> <!-- sum is NOT the same character as U+03A3 'greek capital letter sigma' though the same glyph might be used for both --> <!ENTITY minus "−"> <!-- minus sign, U+2212 ISOtech --> <!ENTITY lowast "∗"> <!-- asterisk operator, U+2217 ISOtech --> <!ENTITY radic "√"> <!-- square root = radical sign, U+221A ISOtech --> <!ENTITY prop "∝"> <!-- proportional to, U+221D ISOtech --> <!ENTITY infin "∞"> <!-- infinity, U+221E ISOtech --> <!ENTITY ang "∠"> <!-- angle, U+2220 ISOamso --> <!ENTITY and "∧"> <!-- logical and = wedge, U+2227 ISOtech --> <!ENTITY or "∨"> <!-- logical or = vee, U+2228 ISOtech --> <!ENTITY cap "∩"> <!-- intersection = cap, U+2229 ISOtech --> <!ENTITY cup "∪"> <!-- union = cup, U+222A ISOtech --> <!ENTITY int "∫"> <!-- integral, U+222B ISOtech --> <!ENTITY there4 "∴"> <!-- therefore, U+2234 ISOtech --> <!ENTITY sim "∼"> <!-- tilde operator = varies with = similar to, U+223C ISOtech --> <!-- tilde operator is NOT the same character as the tilde, U+007E, although the same glyph might be used to represent both --> <!ENTITY cong "≅"> <!-- approximately equal to, U+2245 ISOtech --> <!ENTITY asymp "≈"> <!-- almost equal to = asymptotic to, U+2248 ISOamsr --> <!ENTITY ne "≠"> <!-- not equal to, U+2260 ISOtech --> <!ENTITY equiv "≡"> <!-- identical to, U+2261 ISOtech --> <!ENTITY le "≤"> <!-- less-than or equal to, U+2264 ISOtech --> <!ENTITY ge "≥"> <!-- greater-than or equal to, U+2265 ISOtech --> <!ENTITY sub "⊂"> <!-- subset of, U+2282 ISOtech --> <!ENTITY sup "⊃"> <!-- superset of, U+2283 ISOtech --> <!-- note that nsup, 'not a superset of, U+2283' is not covered by the Symbol font encoding and is not included. Should it be, for symmetry? It is in ISOamsn --> <!ENTITY nsub "⊄"> <!-- not a subset of, U+2284 ISOamsn --> <!ENTITY sube "⊆"> <!-- subset of or equal to, U+2286 ISOtech --> <!ENTITY supe "⊇"> <!-- superset of or equal to, U+2287 ISOtech --> <!ENTITY oplus "⊕"> <!-- circled plus = direct sum, U+2295 ISOamsb --> <!ENTITY otimes "⊗"> <!-- circled times = vector product, U+2297 ISOamsb --> <!ENTITY perp "⊥"> <!-- up tack = orthogonal to = perpendicular, U+22A5 ISOtech --> <!ENTITY sdot "⋅"> <!-- dot operator, U+22C5 ISOamsb --> <!-- dot operator is NOT the same character as U+00B7 middle dot --> <!-- Miscellaneous Technical --> <!ENTITY lceil "⌈"> <!-- left ceiling = apl upstile, U+2308 ISOamsc --> <!ENTITY rceil "⌉"> <!-- right ceiling, U+2309 ISOamsc --> <!ENTITY lfloor "⌊"> <!-- left floor = apl downstile, U+230A ISOamsc --> <!ENTITY rfloor "⌋"> <!-- right floor, U+230B ISOamsc --> <!ENTITY lang "〈"> <!-- left-pointing angle bracket = bra, U+2329 ISOtech --> <!-- lang is NOT the same character as U+003C 'less than' or U+2039 'single left-pointing angle quotation mark' --> <!ENTITY rang "〉"> <!-- right-pointing angle bracket = ket, U+232A ISOtech --> <!-- rang is NOT the same character as U+003E 'greater than' or U+203A 'single right-pointing angle quotation mark' --> <!-- Geometric Shapes --> <!ENTITY loz "◊"> <!-- lozenge, U+25CA ISOpub --> <!-- Miscellaneous Symbols --> <!ENTITY spades "♠"> <!-- black spade suit, U+2660 ISOpub --> <!-- black here seems to mean filled as opposed to hollow --> <!ENTITY clubs "♣"> <!-- black club suit = shamrock, U+2663 ISOpub --> <!ENTITY hearts "♥"> <!-- black heart suit = valentine, U+2665 ISOpub --> <!ENTITY diams "♦"> <!-- black diamond suit, U+2666 ISOpub --> |
From: William D. <wdo...@us...> - 2005-03-21 16:40:23
|
Update of /cvsroot/flexml/flexml/examples In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14920 Added Files: xhtml-lat1.ent Log Message: Initial revision -- needed for xhtml parsing. --- NEW FILE: xhtml-lat1.ent --- <!-- Portions (C) International Organization for Standardization 1986 Permission to copy in any form is granted for use with conforming SGML systems and applications as defined in ISO 8879, provided this notice is included in all copies. --> <!-- Character entity set. Typical invocation: <!ENTITY % HTMLlat1 PUBLIC "-//W3C//ENTITIES Latin 1 for XHTML//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent"> %HTMLlat1; --> <!ENTITY nbsp " "> <!-- no-break space = non-breaking space, U+00A0 ISOnum --> <!ENTITY iexcl "¡"> <!-- inverted exclamation mark, U+00A1 ISOnum --> <!ENTITY cent "¢"> <!-- cent sign, U+00A2 ISOnum --> <!ENTITY pound "£"> <!-- pound sign, U+00A3 ISOnum --> <!ENTITY curren "¤"> <!-- currency sign, U+00A4 ISOnum --> <!ENTITY yen "¥"> <!-- yen sign = yuan sign, U+00A5 ISOnum --> <!ENTITY brvbar "¦"> <!-- broken bar = broken vertical bar, U+00A6 ISOnum --> <!ENTITY sect "§"> <!-- section sign, U+00A7 ISOnum --> <!ENTITY uml "¨"> <!-- diaeresis = spacing diaeresis, U+00A8 ISOdia --> <!ENTITY copy "©"> <!-- copyright sign, U+00A9 ISOnum --> <!ENTITY ordf "ª"> <!-- feminine ordinal indicator, U+00AA ISOnum --> <!ENTITY laquo "«"> <!-- left-pointing double angle quotation mark = left pointing guillemet, U+00AB ISOnum --> <!ENTITY not "¬"> <!-- not sign = discretionary hyphen, U+00AC ISOnum --> <!ENTITY shy "­"> <!-- soft hyphen = discretionary hyphen, U+00AD ISOnum --> <!ENTITY reg "®"> <!-- registered sign = registered trade mark sign, U+00AE ISOnum --> <!ENTITY macr "¯"> <!-- macron = spacing macron = overline = APL overbar, U+00AF ISOdia --> <!ENTITY deg "°"> <!-- degree sign, U+00B0 ISOnum --> <!ENTITY plusmn "±"> <!-- plus-minus sign = plus-or-minus sign, U+00B1 ISOnum --> <!ENTITY sup2 "²"> <!-- superscript two = superscript digit two = squared, U+00B2 ISOnum --> <!ENTITY sup3 "³"> <!-- superscript three = superscript digit three = cubed, U+00B3 ISOnum --> <!ENTITY acute "´"> <!-- acute accent = spacing acute, U+00B4 ISOdia --> <!ENTITY micro "µ"> <!-- micro sign, U+00B5 ISOnum --> <!ENTITY para "¶"> <!-- pilcrow sign = paragraph sign, U+00B6 ISOnum --> <!ENTITY middot "·"> <!-- middle dot = Georgian comma = Greek middle dot, U+00B7 ISOnum --> <!ENTITY cedil "¸"> <!-- cedilla = spacing cedilla, U+00B8 ISOdia --> <!ENTITY sup1 "¹"> <!-- superscript one = superscript digit one, U+00B9 ISOnum --> <!ENTITY ordm "º"> <!-- masculine ordinal indicator, U+00BA ISOnum --> <!ENTITY raquo "»"> <!-- right-pointing double angle quotation mark = right pointing guillemet, U+00BB ISOnum --> <!ENTITY frac14 "¼"> <!-- vulgar fraction one quarter = fraction one quarter, U+00BC ISOnum --> <!ENTITY frac12 "½"> <!-- vulgar fraction one half = fraction one half, U+00BD ISOnum --> <!ENTITY frac34 "¾"> <!-- vulgar fraction three quarters = fraction three quarters, U+00BE ISOnum --> <!ENTITY iquest "¿"> <!-- inverted question mark = turned question mark, U+00BF ISOnum --> <!ENTITY Agrave "À"> <!-- latin capital letter A with grave = latin capital letter A grave, U+00C0 ISOlat1 --> <!ENTITY Aacute "Á"> <!-- latin capital letter A with acute, U+00C1 ISOlat1 --> <!ENTITY Acirc "Â"> <!-- latin capital letter A with circumflex, U+00C2 ISOlat1 --> <!ENTITY Atilde "Ã"> <!-- latin capital letter A with tilde, U+00C3 ISOlat1 --> <!ENTITY Auml "Ä"> <!-- latin capital letter A with diaeresis, U+00C4 ISOlat1 --> <!ENTITY Aring "Å"> <!-- latin capital letter A with ring above = latin capital letter A ring, U+00C5 ISOlat1 --> <!ENTITY AElig "Æ"> <!-- latin capital letter AE = latin capital ligature AE, U+00C6 ISOlat1 --> <!ENTITY Ccedil "Ç"> <!-- latin capital letter C with cedilla, U+00C7 ISOlat1 --> <!ENTITY Egrave "È"> <!-- latin capital letter E with grave, U+00C8 ISOlat1 --> <!ENTITY Eacute "É"> <!-- latin capital letter E with acute, U+00C9 ISOlat1 --> <!ENTITY Ecirc "Ê"> <!-- latin capital letter E with circumflex, U+00CA ISOlat1 --> <!ENTITY Euml "Ë"> <!-- latin capital letter E with diaeresis, U+00CB ISOlat1 --> <!ENTITY Igrave "Ì"> <!-- latin capital letter I with grave, U+00CC ISOlat1 --> <!ENTITY Iacute "Í"> <!-- latin capital letter I with acute, U+00CD ISOlat1 --> <!ENTITY Icirc "Î"> <!-- latin capital letter I with circumflex, U+00CE ISOlat1 --> <!ENTITY Iuml "Ï"> <!-- latin capital letter I with diaeresis, U+00CF ISOlat1 --> <!ENTITY ETH "Ð"> <!-- latin capital letter ETH, U+00D0 ISOlat1 --> <!ENTITY Ntilde "Ñ"> <!-- latin capital letter N with tilde, U+00D1 ISOlat1 --> <!ENTITY Ograve "Ò"> <!-- latin capital letter O with grave, U+00D2 ISOlat1 --> <!ENTITY Oacute "Ó"> <!-- latin capital letter O with acute, U+00D3 ISOlat1 --> <!ENTITY Ocirc "Ô"> <!-- latin capital letter O with circumflex, U+00D4 ISOlat1 --> <!ENTITY Otilde "Õ"> <!-- latin capital letter O with tilde, U+00D5 ISOlat1 --> <!ENTITY Ouml "Ö"> <!-- latin capital letter O with diaeresis, U+00D6 ISOlat1 --> <!ENTITY times "×"> <!-- multiplication sign, U+00D7 ISOnum --> <!ENTITY Oslash "Ø"> <!-- latin capital letter O with stroke = latin capital letter O slash, U+00D8 ISOlat1 --> <!ENTITY Ugrave "Ù"> <!-- latin capital letter U with grave, U+00D9 ISOlat1 --> <!ENTITY Uacute "Ú"> <!-- latin capital letter U with acute, U+00DA ISOlat1 --> <!ENTITY Ucirc "Û"> <!-- latin capital letter U with circumflex, U+00DB ISOlat1 --> <!ENTITY Uuml "Ü"> <!-- latin capital letter U with diaeresis, U+00DC ISOlat1 --> <!ENTITY Yacute "Ý"> <!-- latin capital letter Y with acute, U+00DD ISOlat1 --> <!ENTITY THORN "Þ"> <!-- latin capital letter THORN, U+00DE ISOlat1 --> <!ENTITY szlig "ß"> <!-- latin small letter sharp s = ess-zed, U+00DF ISOlat1 --> <!ENTITY agrave "à"> <!-- latin small letter a with grave = latin small letter a grave, U+00E0 ISOlat1 --> <!ENTITY aacute "á"> <!-- latin small letter a with acute, U+00E1 ISOlat1 --> <!ENTITY acirc "â"> <!-- latin small letter a with circumflex, U+00E2 ISOlat1 --> <!ENTITY atilde "ã"> <!-- latin small letter a with tilde, U+00E3 ISOlat1 --> <!ENTITY auml "ä"> <!-- latin small letter a with diaeresis, U+00E4 ISOlat1 --> <!ENTITY aring "å"> <!-- latin small letter a with ring above = latin small letter a ring, U+00E5 ISOlat1 --> <!ENTITY aelig "æ"> <!-- latin small letter ae = latin small ligature ae, U+00E6 ISOlat1 --> <!ENTITY ccedil "ç"> <!-- latin small letter c with cedilla, U+00E7 ISOlat1 --> <!ENTITY egrave "è"> <!-- latin small letter e with grave, U+00E8 ISOlat1 --> <!ENTITY eacute "é"> <!-- latin small letter e with acute, U+00E9 ISOlat1 --> <!ENTITY ecirc "ê"> <!-- latin small letter e with circumflex, U+00EA ISOlat1 --> <!ENTITY euml "ë"> <!-- latin small letter e with diaeresis, U+00EB ISOlat1 --> <!ENTITY igrave "ì"> <!-- latin small letter i with grave, U+00EC ISOlat1 --> <!ENTITY iacute "í"> <!-- latin small letter i with acute, U+00ED ISOlat1 --> <!ENTITY icirc "î"> <!-- latin small letter i with circumflex, U+00EE ISOlat1 --> <!ENTITY iuml "ï"> <!-- latin small letter i with diaeresis, U+00EF ISOlat1 --> <!ENTITY eth "ð"> <!-- latin small letter eth, U+00F0 ISOlat1 --> <!ENTITY ntilde "ñ"> <!-- latin small letter n with tilde, U+00F1 ISOlat1 --> <!ENTITY ograve "ò"> <!-- latin small letter o with grave, U+00F2 ISOlat1 --> <!ENTITY oacute "ó"> <!-- latin small letter o with acute, U+00F3 ISOlat1 --> <!ENTITY ocirc "ô"> <!-- latin small letter o with circumflex, U+00F4 ISOlat1 --> <!ENTITY otilde "õ"> <!-- latin small letter o with tilde, U+00F5 ISOlat1 --> <!ENTITY ouml "ö"> <!-- latin small letter o with diaeresis, U+00F6 ISOlat1 --> <!ENTITY divide "÷"> <!-- division sign, U+00F7 ISOnum --> <!ENTITY oslash "ø"> <!-- latin small letter o with stroke, = latin small letter o slash, U+00F8 ISOlat1 --> <!ENTITY ugrave "ù"> <!-- latin small letter u with grave, U+00F9 ISOlat1 --> <!ENTITY uacute "ú"> <!-- latin small letter u with acute, U+00FA ISOlat1 --> <!ENTITY ucirc "û"> <!-- latin small letter u with circumflex, U+00FB ISOlat1 --> <!ENTITY uuml "ü"> <!-- latin small letter u with diaeresis, U+00FC ISOlat1 --> <!ENTITY yacute "ý"> <!-- latin small letter y with acute, U+00FD ISOlat1 --> <!ENTITY thorn "þ"> <!-- latin small letter thorn with, U+00FE ISOlat1 --> <!ENTITY yuml "ÿ"> <!-- latin small letter y with diaeresis, U+00FF ISOlat1 --> |
From: William D. <wdo...@us...> - 2005-03-18 22:11:07
|
Update of /cvsroot/flexml/flexml/examples In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22016 Modified Files: Makefile Log Message: Remove cruft; name/use flexml executable built in ../ in default rules; remove unnecessary dependencies on ../skel; use FleXML.xml (newly checked in) not .html. Index: Makefile =================================================================== RCS file: /cvsroot/flexml/flexml/examples/Makefile,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- Makefile 15 Feb 2005 19:35:25 -0000 1.3 +++ Makefile 18 Mar 2005 22:10:52 -0000 1.4 @@ -53,7 +53,9 @@ test:: all @echo "Testing..." + # DEFAULT RULES. +FLEXML_PROG = ../$(FLEXML) # Generate C source from flex scanner. %.c: %.l @@ -62,44 +64,19 @@ # Direct generation of stand-alone XML processor+application. # Note: The dependency must be of the form "appl.l: appl.act proc.dtd". %.l: %.act - ../flexml.pl $(FLEXDEBUG) -vA -a $^ + $(FLEXML_PROG) $(FLEXDEBUG) -vA -a $^ # Generate XML processor to link with application. -%.l %.h: %.dtd ../skel - ../flexml.pl $(FLEXDEBUG) -v -s ../skel $< +%.l %.h: %.dtd + $(FLEXML_PROG) $(FLEXDEBUG) -v $< # Generate XML application C source to compile and link with processor. # Note: The dependency must be of the form "appl.c: appl.act proc.dtd". %.c: %.act - ../flexml.pl $(FLEXDEBUG) -vD -a $^ - - -# MAIN PROGRAM. - -clean::; $(RM) flexml flexml-act flexml-act.c - -flexml: flexml.pl - sed -e "s;^[#][!].*perl;#!$(PERL);" \ - -e "s;[.][/]flexml-act;$(ACT);g" \ - -e "s;[.][/]skel;$(SKEL);g" \ - -e "s;/var/tmp;$(TMPDIR);g" \ - -e "s;/usr/share/doc/;$(DOCDIR)/;g" flexml.pl >flexml - chmod +x flexml - -# Action language... -flexml-act.l: flexml-act.dtd ../skel - ../flexml.pl $(FLEXDEBUG) -Lv -ractions -s ../skel $< - -flexml-act.c: flexml-act.l - $(FLEX) -B -s -v -oflexml-act.c flexml-act.l - -flexml-act.o: flexml-act.c flexml-act.h -flexml-act-bootstrap.o: flexml-act-bootstrap.c flexml-act.h -flexml-act: flexml-act.o flexml-act-bootstrap.o + $(FLEXML_PROG) $(FLEXDEBUG) -vD -a $^ -# DOCUMENTS. -# TESTS. +clean::; $(RM) flexml-act flexml-act.c # Example: LINK processor with application: @@ -131,15 +108,13 @@ clean::; $(RM) tricky.[lco] tricky # Complex example: application to print XHTML <a href=...> values. -# XHTML is big, so...we must use a patched flex (included in Debian). - xhtml1-transitional.dtd: wget 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd' -xhtml1-transitional.l xhtml1-transitional.h: xhtml1-transitional.dtd ../skel - ./flexml.pl $(FLEXDEBUG) -s../skel -rhtml \ - -p "-//W3C//DTD XHTML 1.0 Transitional//EN" \ +xhtml1-transitional.l xhtml1-transitional.h: xhtml1-transitional.dtd + ../$(FLEXML) $(FLEXDEBUG) -rhtml \ + -p "-//IETF//DTD XHTML 1.0 Transitional//EN" \ -u "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" \ xhtml1-transitional.dtd @@ -152,9 +127,9 @@ xhtml-href.o: xhtml-href.c xhtml1-transitional.h xhtml-href: xhtml-href.o xhtml1-transitional.o -test:: xhtml-href +test:: xhtml-href FleXML.xml ./xhtml-href <test.html - ./xhtml-href <FleXML.html + ./xhtml-href < FleXML.xml clean::; $(RM) xhtml1-*.dtd xhtml1-*.[lhco] xhtml-href.[co] xhtml-href @@ -162,3 +137,10 @@ clean::; @echo "Done cleaning." test::; @echo "Done testing." + +.PHONEY : echov + +# on command line say 'make v=foo echov' to see the value +# of the variable foo +echov: + @echo "$(subst ",\",$($(v)))"; #"# for emacs |
From: William D. <wdo...@us...> - 2005-03-18 22:04:13
|
Update of /cvsroot/flexml/flexml/examples In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18231 Removed Files: test Log Message: Remove cruft. --- test DELETED --- |
From: William D. <wdo...@us...> - 2005-03-18 22:03:00
|
Update of /cvsroot/flexml/flexml/examples In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17452 Added Files: FleXML.xml Log Message: Add input file for xhtml-href; copied from version 1.2 of ../FleXML.html, but logically independent from it. --- NEW FILE: FleXML.xml --- <!DOCTYPE html PUBLIC "-//IETF//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!--$Id: FleXML.xml,v 1.1 2005/03/18 22:02:50 wdowling Exp $--> <html> <head> <title>FleXML - XML Processor Generator</title> </head> <body bgcolor='white'> <h1> FleXML - XML Processor Generator </h1> <blockquote><p><em> See also <a href="ftp/FleXML/flexml.html">the manual page</a> and a short <a href="ftp/FleXML/paper.html">white paper</a>. Or peek into the <a href="http://www.ens-lyon.fr/~krisrose/ftp/FleXML/">master source archive</a>. </em></p></blockquote> <p> FleXML reads a DTD (Document Type Definition) describing the format of XML (Extensible Markup Language) documents; it may be specified as a URI to the DTD on the web. From this FleXML produces a validating XML processor with an interface to support XML applications. Proper applications can be generated optionally from special action files, either for linking or textual combination with the processor. </p> <p> FleXML is specifically developed for XML applications where a fixed data format suffices in the sense that a single DTD is used without individual extensions for a large number of documents. (Specifically it restricts XML rule [28] to </p> <pre> [28r] doctypedecl ::= '<code><!DOCTYPE</code>' S Name S ExternalID S? '<code>></code>' </pre> <p> where the ExternalId denotes the used DTD - one might say, in fact, that FleXML implements ``non-extensible'' markup. :) </p> <p> With this restriction we can do much better because the possible tags and attributes are static: FleXML-generated XML processors read the XML document character by character and can immediately dispatch the actions associated with each element (or reject the document as invalid). Technically this is done by using the Flex scanner generator to produce a deterministic finite automaton with an element context stack for the DTD, which means that there is almost no overhead for XML processing. </p> <p> Furthermore we have devised a simple extension of the C programming language that facilitates the writing of `element actions' in C, making it easy to write really fast XML applications. In particular we represent XML attribute values efficiently in C when this is possible, thus avoiding the otherwise ubiquitous conversions between strings and data values. </p> <p> Compared to SAX and its XSL-based friends, FleXML immediately produces efficient code in that the interdiction of extension makes it possible to encode efficiently, FleXML for example uses native C `enum' types to implement enumeration attribute types. However, the above limitation does prevent uses in more complex settings. </p> <p> As an example: the following is all that is needed to produce a fast program that prints all href-attributes in <code><a...></code> tags in XHTML documents (and rejects invalid XHTML documents). </p> <pre><code> <!DOCTYPE actions SYSTEM "flexml-act.dtd"> <actions> <top><![CDATA[ #include <stdio.h> ]]></top> <start tag='a'><![CDATA[ if ({href}) printf("%s\n", {href}); ]]></start> </actions> </code></pre> <p> In general, action files are themselves XML documents conforming to the DTD </p> <pre><code> <!ELEMENT actions ((top|start|end)*,main?)> <!ENTITY % C-code "(#PCDATA)"> <!ELEMENT top %C-code;> <!ELEMENT start %C-code;> <!ATTLIST start tag NMTOKEN #REQUIRED> <!ELEMENT end %C-code;> <!ATTLIST end tag NMTOKEN #REQUIRED> <!ELEMENT main %C-code;> </code></pre> <p> with <code>%C-code;</code> segments being in C enriched as described below. The elements are used as follows: </p> <dl compact='compact'> <dt>top</dt> <dd><p> Use for top-level C code such as global declarations, utility functions, etc. </p></dd> <dt>start</dt> <dd> <p> Attaches the code as an action to the element with the name of the required ``tag'' attribute. The ``%C-code;'' component should be C code suitable for inclusion in a C block (i.e., within {...} so it may contain local variables); furthermore the following extensions are available: {attribute} Can be used to access the value of the attribute as set with attribute=value in the start tag. In C, {attribute} will be interpreted depending on the declaration of the attribute. If the attribute is declared as an enumerated type like </p> <pre><code> <!ATTLIST attrib (alt1 | alt2 |...) ...> </code></pre> <p> then the C attribute value is of an enumerated type with the elements written <code>{attrib=alt1}</code>, <code>{attrib=alt2}</code>, etc.; furthermore an unset attribute has the ``value'' <code>{!attrib}</code>. If the attribute is not an enumeration then <code>{attrib}</code> is a null-terminated C string (of type <code>char*</code>) and <code>{!attrib}</code> is <code>NULL</code>. </p> </dd> <dt>end</dt> <dd> <p> Similarly attaches the code as an action to the end tag with the name of the required ``tag'' attribute; also here the ``%C-code;'' component should be C code suitable for inclusion in a C block. In case the element has ``Mixed'' contents, i.e, was declared to permit <code>#PCDATA</code>, then the special variable <code>{#PCDATA}</code> contains the text (<code>#PCDATA</code>) of the element as a null-terminated C string (of type char*). In case the Mixed contents element actually mixed text and child elements then <code>{#PCDATA}</code> contains the plain concatenation of the text fragments as one string. </p> </dd> <dt>main</dt> <dd> <p> Finally, an optional ``main'' element can contain the C main function of the XML application. Normally the main function should include (at least) one call of the XML processor <code>yylex</code>. </p> </dd> </dl> <p> The program is freely redistributable and modifiable (under GNU `copyleft'). </p> <hr /> <address>Copyright © <a href="mailto:Kri...@en...">Kristoffer Rose</a>. <!-- Created: Thu Dec 9 08:09:41 CET 1999 --> <!-- hhmts start --> Last modified: Mon Dec 13 17:17:44 CET 1999 <!-- hhmts end --> </address> </body> </html> |