[redland-dev] those patches...
Michael Stahl
Michael.Stahl at Sun.com
Mon Sep 29 14:49:05 CEST 2008
hi redland maintainers,
back in may i sent a couple of patches to this list. they didn't seem to
make it into release 1.0.8. any reason as to why?
well, the duplicates in context prevention patch only touched 2 storages
and is thus incomplete. (anyone want to do the other ones?)
still i'd claim that it is very counter-intuitive that a store behaves as
a _set_ of 3-tuples or a _multiset_ of 4-tuples, depending on whether
contexts are enabled.
now i have a downstream maintainer complaining that they'd rather not ship
2 redland libs in their linux distro...
plus, i recently found an additional issue:
raptor's grddl parser's init function calls the libxslt function
xsltSetDefaultSecurityPrefs, which modifies a global variable in libxslt.
as a result, other parts of our program that use libxslt fail (see [1]).
i'm not sure exactly what to do about this, because i don't know the
libxslt api. it would be nice if there were some way to set these security
prefs on the actual parsing or transformation function call. no, actually
that would not just be nice, but necessary.
ah, finally found these:
http://xmlsoft.org/XSLT/html/libxslt-security.html#xsltSetCtxtSecurityPrefs
http://xmlsoft.org/XSLT/html/libxslt-transform.html#xsltApplyStylesheetUser
i guess using these would work?
regards,
michael
[1] http://www.openoffice.org/issues/show_bug.cgi?id=93768
--
"One can think in Lisp and still realize that actually writing
programs in it has no future. (One sometimes cries.)"
-- Jamie Zawinski
More information about the redland-dev
mailing list