diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2005-03-29 19:07:56 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2005-03-29 19:07:56 +0000 |
commit | 7eebda2dde5dced763cf31f5df962745c2029e4b (patch) | |
tree | 63fbe6a1fe4d3214612438b2fd19b63a57859678 /xsltproc | |
parent | 15dfe93284a9ef4237c0e5ea7ccf3d53e5704fc4 (diff) | |
download | libxslt-7eebda2dde5dced763cf31f5df962745c2029e4b.tar.gz libxslt-7eebda2dde5dced763cf31f5df962745c2029e4b.tar.bz2 libxslt-7eebda2dde5dced763cf31f5df962745c2029e4b.zip |
working around Mark Vakoc' reported bug related to mode internaing adding
* libxslt/transform.c: working around Mark Vakoc' reported bug related
to mode internaing
* xsltproc/xsltproc.c: adding a --nodict mode to check problems with
document without a dictionnary.
* tests/REC/Makefile.am tests/general/Makefile.am: testing without
dictionnary
Daniel
Diffstat (limited to 'xsltproc')
-rw-r--r-- | xsltproc/xsltproc.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/xsltproc/xsltproc.c b/xsltproc/xsltproc.c index b53b5e2d..244826f1 100644 --- a/xsltproc/xsltproc.c +++ b/xsltproc/xsltproc.c @@ -82,6 +82,7 @@ static int dumpextensions = 0; static int novalid = 0; static int nodtdattr = 0; static int noout = 0; +static int nodict = 0; #ifdef LIBXML_HTML_ENABLED static int html = 0; #endif @@ -604,6 +605,9 @@ main(int argc, char **argv) } else if ((!strcmp(argv[i], "-profile")) || (!strcmp(argv[i], "--profile"))) { profile++; + } else if ((!strcmp(argv[i], "-nodict")) || + (!strcmp(argv[i], "--nodict"))) { + nodict++; } else if ((!strcmp(argv[i], "-norman")) || (!strcmp(argv[i], "--norman"))) { profile++; @@ -725,6 +729,8 @@ main(int argc, char **argv) options = XML_PARSE_NOENT | XML_PARSE_NOCDATA; else if (nodtdattr) options = XML_PARSE_NOENT | XML_PARSE_DTDLOAD | XML_PARSE_NOCDATA; + if (nodict != 0) + options |= XML_PARSE_NODICT; /* * Register the EXSLT extensions and the test module |