From ibr at hyperwerk.ch Thu Feb 28 10:34:10 2002
From: ibr at hyperwerk.ch (igor brodnik)
Date: Sun Aug 10 16:54:50 2008
Subject: [Zope-xml] install problem
Message-ID: <200111281425.fASEPke11926@eda.hyperwerk.ch>
Hi
First of all: sorry for the long mail...
I've got an install problem and since people on the list do not have a
problem on installing it with linux, I definetely have one, I really
appreciate any help.
I posted a similar mail on the dev mailing-list, so I hope that noone will be
angry...
My running system is suse linux 7.3,
python 2.1.1 src, pyxml src, zope src
first the pyexpat test fails:
# /usr/.../bin/python2.1 regrtest.py
test_dom
test_domu
test test_domu skipped -- an optional feature could not be imported
test_encodings
test_howto
test_htmlb
test_javadom
Warning: can't open ./output/test_javadom
test test_javadom skipped -- an optional feature could not be imported
test_marshal
test test_marshal failed -- Writing: '',
expected: 'subobjectlist11063382396627932698323045648224275660819.721.0
5.0here is a string & a <fake
tag>self'
test_minidom
test_pyexpat
test test_pyexpat failed -- Writing: "u'attr2': u'value2\\\\u1f40',",
expected:
"u'attr2': u'value2\\\\\\u1f40'"
test_sax
test_sax_xmlproc
test_saxdrivers
test_utils
9 tests OK.
2 tests failed: test_marshal test_pyexpat
2 tests skipped: test_domu test_javadom
then when I try to run:python setup.py (in the expat dir in the from you
described location) before the script executes the make command I get the
following lines...
:it doesn't find Setup.thread
: too many arguments to function 'PyFrame_New'
-m Makefile.pre -c /usr/lib/python2.1/config/config.c.in Setup -n
/usr/lib/python2.1/config/Setup.thread
/usr/lib/python2.1/config/Setup.local /usr/lib/python2.1/config/Setup
cat: /usr/lib/python2.1/config/Setup.thread: No such file or directory
make -f Makefile do-it-again
make[2]: Entering directory
`/usr/local/zope/Zope-2.4.3-src/lib/python/Products/ParsedXML/Expat'
/usr/lib/python2.1/config/makesetup \
-m Makefile.pre -c /usr/lib/python2.1/config/config.c.in Setup -n
/usr/lib/python2.1/config/Setup.thread
/usr/lib/python2.1/config/Setup.local /usr/lib/python2.1/config/Setup
cat: /usr/lib/python2.1/config/Setup.thread: No such file or directory
make[2]: Leaving directory
`/usr/local/zope/Zope-2.4.3-src/lib/python/Products/ParsedXML/Expat'
make[1]: Leaving directory
`/usr/local/zope/Zope-2.4.3-src/lib/python/Products/ParsedXML/Expat'
gcc -fPIC -D_FILE_OFFSET_BITS=64 -DHAVE_LARGEFILE_SUPPORT -O2 -mcpu=i486
-ma rch=i486 -I/usr/include/python2.1 -I/usr/include/python2.1
-DHAVE_CONFIG_H -DHAVE_EXPAT_H -Ilib -c ././pyexpat.c -o ./pyexpat.o
././pyexpat.c: In function `call_with_frame':
././pyexpat.c:365: too many arguments to function `PyFrame_New'
make: *** [pyexpat.o] Error 1
I'd appreciate any help
kind regards
igor
From faassen at vet.uu.nl Fri Feb 1 18:14:26 2002
From: faassen at vet.uu.nl (Martijn Faassen)
Date: Sun Aug 10 16:54:51 2008
Subject: [Zope-xml] ParsedXML and Zope 2.5.0
In-Reply-To:
References:
Message-ID: <20020201231426.GA25356@vet.uu.nl>
Hi there,
That's a known problem in Zope 2.5.0, introduced with Zope 2.5's security
optimizations (cAccessControl). As a temporary fix you can set the
environment variable ZOPE_SECURITY_POLICY to PYTHON; for instance on
Linux I do this before starting Zope:
export ZOPE_SECURITY_POLICY=PYTHON
This disables the new cAccessControl.
We had some issues getting the problem reproduced; today I finally
found out it doesn't occur if you place a ParsedXML object into the
Zope root, but does crash if you put it in a folder somewhere. This
discovery enabled Matt Kromer to come up with this patch to cAccessControl;
when I applied it the crashing behavior disappeared.
If you or anyone else can try it out (it's just an added Py_INCREF
at the right place) then I'd be grateful. :)
Index: cAccessControl.c
===================================================================
RCS file: /cvs-repository/Zope/lib/python/AccessControl/cAccessControl.c,v
retrieving revision 1.13
diff -u -r1.13 cAccessControl.c
--- cAccessControl.c 11 Jan 2002 17:14:27 -0000 1.13
+++ cAccessControl.c 1 Feb 2002 17:27:31 -0000
@@ -1703,6 +1703,7 @@
Py_DECREF(r);
r = self->__roles__;
if (r == NULL) goto err;
+ Py_INCREF(r);
}
/*|
From zanotti.m at apss.tn.it Tue Feb 5 04:42:07 2002
From: zanotti.m at apss.tn.it (Zanotti Michele)
Date: Sun Aug 10 16:54:51 2008
Subject: [Zope-xml] ParsedXML on Windows: how?
Message-ID:
Hi all,
I have tried to install XMLParsed on Win2k without result. If I follow the
instructions in expat readme I obtain an error message sayng:". Is not
recognized as an internal or external command... "; so I have Installed
cygwin and I have used the python (2.1.1) in Cygwin distribution (from
cygwin command line), but I obtain a long output ending with "***[pyExpat.o]
Error 1".
I have tried in documentation, and I have found "Installing ParsedXML on
Windows" but I haven't visual C++. Can I use the GCC compiler in Cygwin
distribution and if so, can anyone tell me how (I'm not an expert c/python
programmer)? Thanks.
Michele
From Eric.Roby at noaa.gov Wed Feb 13 10:27:09 2002
From: Eric.Roby at noaa.gov (Eric Roby)
Date: Sun Aug 10 16:54:51 2008
Subject: [Zope-xml] ParsedXML Install Question
Message-ID: <3C6A85CD.E5BB18FB@noaa.gov>
I have been unable to successfully load the ParsedXML product on the
following system:
Platform/OS: linux2 / Redhat 7.1
Zope: Zope 2.5.0 (binary release, python 2.1, linux2-x86), python 2.1.2,
linux2
Python: 2.1.2 (#1, Jan 25 2002, 13:17:56) [GCC 2.7.2.3]
I have attempted to install it as the owner and as root but either way I
consistently get the following error:
make[1]: execvp:
/usr/local/zope/Zope-2.5.0-linux2-x86/lib/python2.1/config/makesetup:
Permission denied
make[1]: *** [Makefile] Error 127
make[1]: Leaving directory
`/usr/local/zope/Zope-2.5.0-linux2-x86/lib/python/Products/ParsedXML/Expat'
make: *** [boot] Error 2
The complete output is listed below:
*******************************************************************************************************
Building static Expat library...
loading cache ./config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for ANSI C header files... (cached) yes
checking for fcntl.h... (cached) yes
checking for unistd.h... (cached) yes
checking whether byte ordering is bigendian... (cached) no
checking for working const... (cached) yes
checking for off_t... (cached) yes
checking for size_t... (cached) yes
checking for 8-bit clean memcmp... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) yes
checking for memmove... (cached) yes
checking for bcopy... (cached) yes
creating ./config.status
creating Makefile
creating expat.h
creating config.h
config.h is unchanged
gcc -DHAVE_CONFIG_H -DPACKAGE='"expat"' -DVERSION='"expat_1.95.2"' -I.
-g -O2 -c xmlparse.c
ar cr libexpat.a xmlparse.o xmltok.o xmlrole.o
Building pyexpat extension...
rm -f *.o *~
rm -f *.a tags TAGS config.c Makefile.pre python sedscript
rm -f *.so *.sl so_locations
VERSION=`/usr/local/zope/Zope-2.5.0-linux2-x86/bin/python -c "import
sys; print sys.version[:3]"`; \
installdir=`/usr/local/zope/Zope-2.5.0-linux2-x86/bin/python -c "import
sys; print sys.prefix"`; \
exec_installdir=`/usr/local/zope/Zope-2.5.0-linux2-x86/bin/python -c
"import sys; print sys.exec_prefix"`; \
make -f ./Makefile.pre.in VPATH=. srcdir=. \
VERSION=$VERSION \
installdir=$installdir \
exec_installdir=$exec_installdir \
Makefile
make[1]: Entering directory
`/usr/local/zope/Zope-2.5.0-linux2-x86/lib/python/Products/ParsedXML/Expat'
sed -n \
-e '1s/.*/1i\\/p' \
-e '2s%.*%# Generated automatically from Makefile.pre.in by
sedscript.%p' \
-e '/^VERSION=/s/^VERSION=[ ]*\(.*\)/s%@VERSION[@]%\1%/p' \
-e '/^CC=/s/^CC=[ ]*\(.*\)/s%@CC[@]%\1%/p' \
-e '/^CCC=/s/^CCC=[ ]*\(.*\)/s%#@SET_CCC[@]%CCC=\1%/p' \
-e '/^LINKCC=/s/^LINKCC=[ ]*\(.*\)/s%@LINKCC[@]%\1%/p' \
-e '/^OPT=/s/^OPT=[ ]*\(.*\)/s%@OPT[@]%\1%/p' \
-e '/^LDFLAGS=/s/^LDFLAGS=[ ]*\(.*\)/s%@LDFLAGS[@]%\1%/p' \
-e '/^LDLAST=/s/^LDLAST=[ ]*\(.*\)/s%@LDLAST[@]%\1%/p' \
-e '/^DEFS=/s/^DEFS=[ ]*\(.*\)/s%@DEFS[@]%\1%/p' \
-e '/^LIBS=/s/^LIBS=[ ]*\(.*\)/s%@LIBS[@]%\1%/p' \
-e '/^LIBM=/s/^LIBM=[ ]*\(.*\)/s%@LIBM[@]%\1%/p' \
-e '/^LIBC=/s/^LIBC=[ ]*\(.*\)/s%@LIBC[@]%\1%/p' \
-e '/^RANLIB=/s/^RANLIB=[ ]*\(.*\)/s%@RANLIB[@]%\1%/p' \
-e '/^MACHDEP=/s/^MACHDEP=[ ]*\(.*\)/s%@MACHDEP[@]%\1%/p' \
-e '/^SO=/s/^SO=[ ]*\(.*\)/s%@SO[@]%\1%/p' \
-e '/^LDSHARED=/s/^LDSHARED=[ ]*\(.*\)/s%@LDSHARED[@]%\1%/p' \
-e '/^CCSHARED=/s/^CCSHARED=[ ]*\(.*\)/s%@CCSHARED[@]%\1%/p' \
-e '/^SGI_ABI=/s/^SGI_ABI=[ ]*\(.*\)/s%@SGI_ABI[@]%\1%/p' \
-e '/^LINKFORSHARED=/s/^LINKFORSHARED=[
]*\(.*\)/s%@LINKFORSHARED[@]%\1%/p' \
-e '/^prefix=/s/^prefix=\(.*\)/s%^prefix=.*%prefix=\1%/p' \
-e
'/^exec_prefix=/s/^exec_prefix=\(.*\)/s%^exec_prefix=.*%exec_prefix=\1%/p'
\
/usr/local/zope/Zope-2.5.0-linux2-x86/lib/python2.1/config/Makefile
>sedscript
echo "/^#@SET_CCC@/d" >>sedscript
echo "/^installdir=/s%=.*%= /usr/local/zope/Zope-2.5.0-linux2-x86%"
>>sedscript
echo "/^exec_installdir=/s%=.*%=/usr/local/zope/Zope-2.5.0-linux2-x86%"
>>sedscript
echo "/^srcdir=/s%=.*%= .%" >>sedscript
echo "/^VPATH=/s%=.*%= .%" >>sedscript
echo "/^LINKPATH=/s%=.*%= %" >>sedscript
echo "/^BASELIB=/s%=.*%= %" >>sedscript
echo "/^BASESETUP=/s%=.*%= %" >>sedscript
sed -f sedscript ./Makefile.pre.in >Makefile.pre
/usr/local/zope/Zope-2.5.0-linux2-x86/lib/python2.1/config/makesetup \
-m Makefile.pre -c
/usr/local/zope/Zope-2.5.0-linux2-x86/lib/python2.1/config/config.c.in
Setup -n
/usr/local/zope/Zope-2.5.0-linux2-x86/lib/python2.1/config/Setup.thread
/usr/local/zope/Zope-2.5.0-linux2-x86/lib/python2.1/config/Setup.local
/usr/local/zope/Zope-2.5.0-linux2-x86/lib/python2.1/config/Setup
make[1]: execvp:
/usr/local/zope/Zope-2.5.0-linux2-x86/lib/python2.1/config/makesetup:
Permission denied
make[1]: *** [Makefile] Error 127
make[1]: Leaving directory
`/usr/local/zope/Zope-2.5.0-linux2-x86/lib/python/Products/ParsedXML/Expat'
make: *** [boot] Error 2
*******************************************************************************************************
Any clues as to what I need to change to successfully complete the
installation???
Thanks in advance...
Eric
From Eric.Roby at noaa.gov Wed Feb 13 13:16:13 2002
From: Eric.Roby at noaa.gov (Eric Roby)
Date: Sun Aug 10 16:54:51 2008
Subject: [Zope-xml] DOM implementation view within the ZMI
Message-ID: <3C6AAD6D.C9408CEE@noaa.gov>
I have experimented with a couple docs (FGDC Metadata standard) and am
not sure if this is a side-effect or what...
XML clip:
19990916204615001999092921044000
When I view the DOM, I see the following:
- timeperd
#text
- timeinfo
#text
- rngdates
#text
- begdate
#text
- begtime
#text
- enddate
#text
- endtime
#text
#text
#text
#text
And, when I try to walk the dom with url traversal, the elements that
are
accessable are odd-numbers only. I understand the #text references for
begdata, begtime, enddate & endtime but am baffled but the #text
references for the others. If I edit one of those #text elements, it
just hangs it out there above the other sub-elements. And if I try and
delete the text I added,
it gives me an error. The DOM view isn't handling compound elements
quite like I had expected.
I guess what I expected to see when I view the DOM (expanded) is the
following:
- timeperd
- timeinfo
- rngdates
- begdate
#text
- begtime
#text
- enddate
#text
- endtime
#text
Eric
From kugraw at rostock.igd.fhg.de Thu Feb 14 11:39:35 2002
From: kugraw at rostock.igd.fhg.de (Kay-Uwe Graw)
Date: Sun Aug 10 16:54:51 2008
Subject: [Zope-xml] Trouble with ParsedXml and ISO-8859-1 char set
Message-ID: <3C6BE847.5B092026@rostock.igd.fhg.de>
I have trouble using xml-files which contain data
with special character from Latin-1 (German Umlaute).
I've created a ParsedXML-object (MyParsedXml) which
I use for temporary storage of data from xml-files.
I use this object by uploading an xml-file and puting
it into the ParsedXml-object via
Everything works fine as long as I don't use special
German characters from ISO-8859-1 the char. Then I get
an UnicodeError. Although I use the encoding="ISO-8859-1"
attribute in the xml-header.
Is there any other way of putting xml-data in a ParsedXml
object using dtml-calls?
Kay
From saludes at ma2.upc.es Fri Feb 15 03:43:29 2002
From: saludes at ma2.upc.es (Jordi Saludes Closa)
Date: Sun Aug 10 16:54:51 2008
Subject: [Zope-xml] Trouble with ParsedXml and ISO-8859-1 char set
In-Reply-To: <3C6BE847.5B092026@rostock.igd.fhg.de>
References: <3C6BE847.5B092026@rostock.igd.fhg.de>
Message-ID: <02021509432900.00623@zeus>
> I have trouble using xml-files which contain data
> with special character from Latin-1 (German Umlaute).
>
> Everything works fine as long as I don't use special
> German characters from ISO-8859-1 the char. Then I get
> an UnicodeError. Although I use the encoding="ISO-8859-1"
> attribute in the xml-header.
>
> Is there any other way of putting xml-data in a ParsedXml
> object using dtml-calls?
I had the same problem when using "Upload File" in the Edit tab of ParsedXML,
but now it goes ok. Check the following:
In python do:
>>> import site
>>> site.encoding
if it is not 'ISO8859-1' but 'ascii' you should activate the use of locale
encodings at the file 'site.py' in your python library.
In the following fragment, change 'if 0:' to 'if 1:'
encoding = "ascii" # Default value set by _PyUnicode_Init()
if 0:
# Enable to support locale aware default string encodings.
import locale
loc = locale.getdefaultlocale()
if loc[1]:
encoding = loc[1]
Hope this works!
From saludes at ma2.upc.es Fri Feb 15 04:02:24 2002
From: saludes at ma2.upc.es (Jordi Saludes Closa)
Date: Sun Aug 10 16:54:51 2008
Subject: [Zope-xml] DOM implementation view within the ZMI
In-Reply-To: <3C6AAD6D.C9408CEE@noaa.gov>
References: <3C6AAD6D.C9408CEE@noaa.gov>
Message-ID: <02021510022401.00623@zeus>
> I have experimented with a couple docs (FGDC Metadata standard) and am
> not sure if this is a side-effect or what...
I'm affraid the extra #text you see are the newlines between an end-tag and
the following tag. Try to write all in a line
From cnd at ecn.purdue.edu Fri Feb 15 07:38:20 2002
From: cnd at ecn.purdue.edu (Christopher N. Deckard)
Date: Sun Aug 10 16:54:51 2008
Subject: [Zope-xml] ParsedXML and Zope 2.5.0
References: <20020201231426.GA25356@vet.uu.nl>
Message-ID: <3C6D013C.51502A1D@ecn.purdue.edu>
FYI to all,
The cAccessControl.c patch seems to work for zope 2.5.0 and the
ParsedXML out of CVS. It also seems to be working with the latest
stable ParsedXML. I finally had time to try it all out and it works
great.
-Chris
Martijn Faassen wrote:
>
> Hi there,
>
> That's a known problem in Zope 2.5.0, introduced with Zope 2.5's security
> optimizations (cAccessControl). As a temporary fix you can set the
> environment variable ZOPE_SECURITY_POLICY to PYTHON; for instance on
> Linux I do this before starting Zope:
>
> export ZOPE_SECURITY_POLICY=PYTHON
>
> This disables the new cAccessControl.
>
> We had some issues getting the problem reproduced; today I finally
> found out it doesn't occur if you place a ParsedXML object into the
> Zope root, but does crash if you put it in a folder somewhere. This
> discovery enabled Matt Kromer to come up with this patch to cAccessControl;
> when I applied it the crashing behavior disappeared.
>
> If you or anyone else can try it out (it's just an added Py_INCREF
> at the right place) then I'd be grateful. :)
>
> Index: cAccessControl.c
> ===================================================================
> RCS file: /cvs-repository/Zope/lib/python/AccessControl/cAccessControl.c,v
> retrieving revision 1.13
> diff -u -r1.13 cAccessControl.c
> --- cAccessControl.c 11 Jan 2002 17:14:27 -0000 1.13
> +++ cAccessControl.c 1 Feb 2002 17:27:31 -0000
> @@ -1703,6 +1703,7 @@
> Py_DECREF(r);
> r = self->__roles__;
> if (r == NULL) goto err;
> + Py_INCREF(r);
> }
>
> /*|
>
> _______________________________________________
> Zope-xml mailing list
> Zope-xml@zope.org
> http://lists.zope.org/mailman/listinfo/zope-xml
--
--------------------------------------------------------------------
Christopher N. Deckard | Lead Web Systems Developer
cnd@ecn.purdue.edu | Engineering Computer Network
http://www.ecn.purdue.edu/ | Purdue University
---- zlib.decompress('x\234K\316Kq((-J)M\325KM)\005\000)"\005w') ---
From faassen at vet.uu.nl Fri Feb 15 11:08:38 2002
From: faassen at vet.uu.nl (Martijn Faassen)
Date: Sun Aug 10 16:54:51 2008
Subject: [Zope-xml] Trouble with ParsedXml and ISO-8859-1 char set
In-Reply-To: <02021509432900.00623@zeus>
References: <3C6BE847.5B092026@rostock.igd.fhg.de> <02021509432900.00623@zeus>
Message-ID: <20020215160837.GA15561@vet.uu.nl>
Jordi Saludes Closa wrote:
> > I have trouble using xml-files which contain data
> > with special character from Latin-1 (German Umlaute).
> >
> > Everything works fine as long as I don't use special
> > German characters from ISO-8859-1 the char. Then I get
> > an UnicodeError. Although I use the encoding="ISO-8859-1"
> > attribute in the xml-header.
> >
> > Is there any other way of putting xml-data in a ParsedXml
> > object using dtml-calls?
>
> I had the same problem when using "Upload File" in the Edit tab of ParsedXML,
> but now it goes ok. Check the following:
>
> In python do:
>
> >>> import site
> >>> site.encoding
>
> if it is not 'ISO8859-1' but 'ascii' you should activate the use of locale
> encodings at the file 'site.py' in your python library.
> In the following fragment, change 'if 0:' to 'if 1:'
>
> encoding = "ascii" # Default value set by _PyUnicode_Init()
>
> if 0:
> # Enable to support locale aware default string encodings.
> import locale
> loc = locale.getdefaultlocale()
> if loc[1]:
> encoding = loc[1]
>
>
> Hope this works!
Hm, this is interesting, but I suspect ParsedXML is still buggy in this
regard even so.. If people can help me with Python unicode issues to
figure out what's going wrong I'd appreciate it though. I suspect
ExtraDOM.writeStream is involved, which has an encoding argument. It's called
from ManageableDOM in several places, so perhaps you need to look there.
The DOM has some way to find out encoding that I cannot recall currently. :)
Anyway, that should be enough to get some of you started, and I'd much
appreciate patches. I run into that unicode error issue myself sometimes.
(can add non-ascii programmatically, but then cannot view it in the browser)
Regards,
Martijn
From jmunoz at softhome.net Fri Feb 15 11:24:44 2002
From: jmunoz at softhome.net (=?ISO-8859-1?Q?Juli=E1n_Mu=F1oz?=)
Date: Sun Aug 10 16:54:51 2008
Subject: [Zope-xml] An interesting question :-)
Message-ID:
Hello,
I am reading this list from a while.
But I don't understand what is zope-xml for :-(
I know what is xml, I know Zope, I know that zope can export objects in
xml format.
So beeing bored to no understand, I ask: what is zope-xml for ?
:-))
Life is too short
--
__o
_ \<_
(_)/(_)
Saludos de Juli?n
EA4ACL
-.-
Foro Wireless Madrid
http://opennetworks.rg3.net
From cnd at ecn.purdue.edu Fri Feb 15 13:54:39 2002
From: cnd at ecn.purdue.edu (Christopher N. Deckard)
Date: Sun Aug 10 16:54:51 2008
Subject: [Zope-xml] An interesting question :-)
References:
Message-ID: <3C6D596F.3D39E636@ecn.purdue.edu>
Simple explanation is that the zope-xml mailing list is for
discussions and development about XML in Zope, particularly with the
ParsedXML product. With ParsedXML you can store xml objects in Zope
and use them in your web applications.
That's a simple explanation. Martijin can probably answer it
better. My opinion, this list is too quiet and everyone on it
should start making more noise. :-)
-Chris
Juli?n Mu?oz wrote:
>
> Hello,
>
> I am reading this list from a while.
>
> But I don't understand what is zope-xml for :-(
>
> I know what is xml, I know Zope, I know that zope can export objects in
> xml format.
>
> So beeing bored to no understand, I ask: what is zope-xml for ?
>
> :-))
>
> Life is too short
> --
>
> __o
> _ \<_
> (_)/(_)
>
> Saludos de Juli?n
> EA4ACL
> -.-
>
> Foro Wireless Madrid
> http://opennetworks.rg3.net
>
> _______________________________________________
> Zope-xml mailing list
> Zope-xml@zope.org
> http://lists.zope.org/mailman/listinfo/zope-xml
--
--------------------------------------------------------------------
Christopher N. Deckard | Lead Web Systems Developer
cnd@ecn.purdue.edu | Engineering Computer Network
http://www.ecn.purdue.edu/ | Purdue University
---- zlib.decompress('x\234K\316Kq((-J)M\325KM)\005\000)"\005w') ---
From garaolaza at codesyntax.com Fri Feb 15 14:20:53 2002
From: garaolaza at codesyntax.com (Garikoitz Araolaza)
Date: Sun Aug 10 16:54:51 2008
Subject: [Zope-xml] Re: An interesting question (I hope...)
In-Reply-To: <3C6D596F.3D39E636@ecn.purdue.edu>
References:
Message-ID: <5.0.2.1.0.20020215200214.00a67ec0@pop.conetion.com>
At 19:54 15/02/02, Christopher N. Deckard wrote:
>That's a simple explanation. Martijin can probably answer it
>better. My opinion, this list is too quiet and everyone on it
>should start making more noise. :-)
>
>-Chris
Thanks for the invitation ;-)
Here is an Zope-XML newcomer trying to set something working (I'm into
Zope for 1.5 years)
I'm trying to set a TMX (Translation Memory XML) library so that
translators can check wether somebody translated the same thing before.
Most Translation Memory software exports to TMX so it could be a nice
resource for a translators group.
I'm assuming that I will need:
- Load TMX files with ParsedXML to the ZODB.
- Catalog them with ZCatalog.
- Build a simple search and presentation interface.
( more for a second phase: ZODB objects added via web => TMX files conversion )
So, my questions are (due to my regular knowledge of the state of the art
of Zope-XML...)
1- Should I leave the TMX files as ParsedXML in the ZODB, or would I get
much better performance (and ease of use for me actually...) transforming
them to ZODB regular objects? (let's say that I define a new Class or ZClass)
2- Any info about any project doing something similar? (I'm actually a
little bit lost with nodeNames and #text...)
Thank you
Gari
_______________________________________
Garikoitz Araolaza
Code&Syntax
garaolaza@codesyntax.com
BIC-Berrilan
Azitaingo Industrialdea
E-20600-EIBAR
Tel: +34 943 82 06 06
From dietmar.gaffling at icn.siemens.de Mon Feb 18 04:30:23 2002
From: dietmar.gaffling at icn.siemens.de (Gaffling Dietmar)
Date: Sun Aug 10 16:54:51 2008
Subject: [Zope-xml] pyexpat
Message-ID: <5BE5F1117AEDD5118BFC0000D11EA39C05B0DA@blns205e.bln.icn.siemens.de>
Hi,
on Zope 2.5 Sun/Sparc there still exist pyexpat.py as a wrapper for dcpyexpat.so
Can I use this pyexpat for Zope-xml?
Many thanks in advance
Dietmar Gaffling
From Tomas.Hjelmberg at eea.eu.int Wed Feb 20 07:09:27 2002
From: Tomas.Hjelmberg at eea.eu.int (Tomas Hjelmberg)
Date: Sun Aug 10 16:54:51 2008
Subject: [Zope-xml] ParsedXML + windows
Message-ID:
Skipped content of type multipart/alternative-------------- next part --------------
A non-text attachment was scrubbed...
Name: Tomas Hjelmberg.vcf
Type: application/octet-stream
Size: 168 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope-xml/attachments/20020220/53e2b8e4/TomasHjelmberg.obj
From ed at greengraphics.net Mon Feb 25 16:25:00 2002
From: ed at greengraphics.net (Ed Colmar)
Date: Sun Aug 10 16:54:51 2008
Subject: [Zope-xml] xml-rpc and zope
Message-ID: <024401c1be42$e1a524e0$1401a8c0@greengraphics.net>
Hi!
I am going to be starting a project using zope's xml-rpc functionality. I was looking at the FAQs here:
http://www.zope.org/Members/Amos/XML-RPC
In the example it uses the objectIds function which errors out when I try it with the empty docstring error. I realize this is becuase it is lacking a """ """ in the python source... I wanted to point it out though, as it is sort of misleading.
Anyway... are there any currently maintained products that are using xml-rpc that I could take a peek at?
-ed-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope-xml/attachments/20020225/cf8a9fc5/attachment.html
From jmunoz at softhome.net Mon Feb 25 17:54:27 2002
From: jmunoz at softhome.net (=?ISO-8859-1?Q?Juli=E1n_Mu=F1oz?=)
Date: Sun Aug 10 16:54:51 2008
Subject: [Zope-xml] xml-rpc and zope
In-Reply-To: <024401c1be42$e1a524e0$1401a8c0@greengraphics.net>
Message-ID:
> Anyway... are there any currently maintained products that are using
> xml-rpc that I could take a peek at?
ZSyncer
From eddala_zope at yahoo.co.in Thu Feb 28 00:51:18 2002
From: eddala_zope at yahoo.co.in (=?iso-8859-1?q?Suresh=20Babu=20Eddala?=)
Date: Sun Aug 10 16:54:51 2008
Subject: [Zope-xml] Help on XML- RPC
Message-ID: <20020228055118.78771.qmail@web8105.in.yahoo.com>
Hello,
i installed XML-RPC Proxy Product i installed in
zope.but i am getting the Protocol Error.
i give URL: http://servername:port
validmethodlist:some method name in that
port i given.
while i am calling that method from XML-RPC Proxy i
am getting the
Please Contact System Administrator
An error was encountered while publishing this
resource.
KeyError
can anybody tell what is the problem
regards
Suresh Babu Eddala
________________________________________________________________________
Looking for a job? Visit Yahoo! India Careers
Visit http://in.careers.yahoo.com
From jmunoz at softhome.net Thu Feb 28 04:45:13 2002
From: jmunoz at softhome.net (=?ISO-8859-1?Q?Juli=E1n_Mu=F1oz?=)
Date: Sun Aug 10 16:54:51 2008
Subject: [Zope-xml] Re: Help on XML- RPC
Message-ID:
On Thu, 28 Feb 2002, Suresh Babu Eddala wrote:
> Hello,
> i installed XML-RPC Proxy Product i installed in
> zope.but i am getting the Protocol Error.
> i give URL: http://servername:port
> validmethodlist:some method name in that
> port i given.
In the URL, you must put the complete path to the container of the method
you want to call
The method is the name of the method
URL: http://servername:port/here/is/my/
Method: method
calls http://servername:port/here/is/my/method
> while i am calling that method from XML-RPC Proxy i
> am getting the
> Please Contact System Administrator
> An error was encountered while publishing this
> resource.
> KeyError
>
> can anybody tell what is the problem
>
> regards
> Suresh Babu Eddala
>
>
>
>
> ________________________________________________________________________
> Looking for a job? Visit Yahoo! India Careers
> Visit http://in.careers.yahoo.com
>
--
__o
_ \<_
(_)/(_)
Saludos de Juli?n
EA4ACL
-.-
Foro Wireless Madrid
http://opennetworks.rg3.net