Commit Graph

18 Commits

Author SHA1 Message Date
sebd 0e23581fbd NMU
Python 2.4
2006-03-05 16:56:00 +00:00
fpeters 122421c48c marked as 0.4 2004-10-01 11:10:00 +00:00
fpeters abf837b1ed updated to 0.3 (forgot to commit before) 2004-09-01 17:46:09 +00:00
fpeters 93b0d72ff9 updated to 0.2; released on time. 2004-08-01 20:49:08 +00:00
fpeters 7d7f350fdb properly install things in the right places
python setup.py install --prefix /usr/local/ \
	--install-lib /usr/local/lib/expression/modules \
	--install-data /usr/local/share/
2004-06-15 07:39:16 +00:00
eraviart b6b19547be Cleaned up setup.py
Directories now have a view mode, which displays its default view (used by
docs-manager).

Added element pythonPath. It allows to specify where to search for a
pythonClass.
2004-06-12 07:47:50 +00:00
eraviart 9a13c2d3fe Changed the way descriptions & schemas are found.
Instead of using an heuristic to find them in the current directory or in
the modules or in the application or..., it now uses absolute URIs and
catalogs.
2004-06-11 15:17:37 +00:00
sebd ec0b25b71e setup.py now installs index.xml files under share/expression/* 2004-05-27 09:47:19 +00:00
sebd 5aedb964ee installs the missing javascript files 2004-05-27 09:02:49 +00:00
sebd bde385c9a8 updated in a failed attempt to make things work on my machine 2004-05-24 13:17:40 +00:00
eraviart 42a4a98f59 Added XHTML DTDs & entities as XML catalogs. These catalogs are handled the
Debian way <http://debian-xml-sgml.alioth.debian.org/>.


Q: Why do you use manage XML catalogs the standard way instead of libxml2 way?
A: Because the Debian way is the standard (Oasis) way and it is partially
incompatible with libxml2 way.

Q: Why do you use XML catalogs?
A: Because I needed to store XHTML entities definitions in the local
filesystem.

Q: Why do you need to store XHTML DTDs & entities definitions in the local
filesystem?
A: For speed reasons. Otherwise calls to libxml2 function xmlReadDoc with
option XML_PARSE_DTDLOAD require HTTP calls to get the DTD and its entities.

Q: Why do you need to use xmlReadDoc function with option XML_PARSE_DTDLOAD?
A: Otherwise, the parsing of XHTML files fails when the files contain
entities like &eacute;, etc.

Q: Why are entities definitions needed? You don't need entities substitution
when parsing XML & XHTML files.
A: Because after spending several hours testing and reading libxml2
documentation, I discovered that even when not substituting entities,
libxml2 needs to know their definitions (the reason is it stores both
entities declarations and substitutions inside XML tree. See
http://xmlsoft.org/entities.html).

Q: Why do you use xmlReadDoc instead of xmlParseDoc?
A: Because after spending several hours testing and reading libxml2
documentation, I discovered that xmlParse functions are deprecated.

Q: Why don't you use htmlParseDoc (or htmlReadDoc) anymore to read XHTML
files? They worked well with entities without requiring DTDs.
A: Because html(Parse|Read)Doc ignore namespace declarations.

Q: Why don't you ignore namespace declarations when parsing XHTML files?
A: Because XHTML files are XML files. And we need to differentiate XML tags
with and without namespaces.

Q: Why did you repair XHTML namespaces handling today.
A: Because Fred asked for it yesterday: "je crée un fichier xml, je ne
spécifie pas de namespace, pq l'attribution à l'holder et à l'élément
du namespace xhtml ?".

Q: Did you spent the whole day programming this small feature request?
A: No, I also wrote this FAQ.
2004-05-23 23:13:05 +00:00
sebd 9722692a2f untested begining of something hopefully useful for packaging 2004-05-23 14:47:04 +00:00
fpeters 1f9345230c added versionNumber to __init__.py; renamed expression to expression.py (so
that it is possible to ln -s src expression and run without installing
anything).  Still doesn't work (sth with _expressionEnviron)
2004-05-14 21:49:17 +00:00
fpeters 4c20edc922 src/expression.py is moved to src/core/main.py; new really simple expression
script to start expression; working setup.py
2004-05-14 21:32:11 +00:00
eraviart 699111e163 Trying to allow Expression to work again (but doesn't work yet). 2004-05-14 10:48:51 +00:00
eraviart 5f631d0b2d Changed everything (even the application name). 2004-03-31 07:53:26 +00:00
eraviart bfb74c1d6d Updated copyright assignment. 2004-02-01 10:16:19 +00:00
eraviart 6d8e80665f Ajout d'un setup distutils non encore opérationnel. 2004-01-09 22:01:39 +00:00