with Java (for instance, on two machines I manage, I can not run
trang, once, a FreeBSD, because it does not compile, the other, a
NetBSD, because gcj itself does not compile) and I am more experienced
with Python.
On http://www.relaxng.org/#software, I find several Python tools but
which seem really experimental:
1) rnc2rng (which may replace trang for me): it runs but it produces
broken schemas. Is it maintained.
First example: the schema is produced but refused by libxml2:
% xmllint --relaxng test.rng test.xml
test.rng:54: parser error : Premature end of data in tag value line 3
^
Relax-NG parser error : xmlRelaxNGParse: could not load test.rng
Relax-NG schema test.rng failed to compile
Second example: the schema is not produced at all.
Traceback (most recent call last):
File "/home/bortzmeyer/tmp/www.gnosis.cx/download/relax/rnc2rng", line 8, in ?
root = make_nodetree(tokens)
File "/home/bortzmeyer/tmp/www.gnosis.cx/download/relax/rnctree.py", line 306, in make_nodetree
intersperse(nodes)
File "/home/bortzmeyer/tmp/www.gnosis.cx/download/relax/rnctree.py", line 281, in intersperse
intersperse(node.value)
File "/home/bortzmeyer/tmp/www.gnosis.cx/download/relax/rnctree.py", line 272, in intersperse
raise ParseError, "Ambiguity in sequencing: %s" % node
rnctree.ParseError: Ambiguity in sequencing: Node(GROUP,None,ONE)[25]
2) xvif (which may replace xmllint): I find very little documentation
and, to tell the truth, I am not even sure I understand how I am
supposed to use it.
---- LSpots keywords ?> ---- HM ADS ?>
YAHOO! GROUPS LINKS
- Visit your group "rng-users" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
