From: "Chris Withers" <[EMAIL PROTECTED]>
> Looks like the colon it is then, there's even a patch now ;-)
There a patch sitting around waiting for DTML syntaxgeddon which allows
slash-separated paths in object names everywhere, not just in entity syntax.
That could easily be extended to also allo
On Thu, 17 Aug 2000, Martijn Pieters wrote:
> No clues as to where you'll find the stopword code, but the Persistence
> thingy is caused by the magic that ZODB performs: it initializes the
> correct Persistence module when it itself is imported. This way Jim
> managed to have ZODB3 and BoboPOS2 ex
On Thu, 17 Aug 2000, Andre Schubert wrote:
> My Questions are: is there a way to delete the last transaction from
One answer: use tranalyzer to find the offset of the start of the
last transaction and truncate the file there.
> Data.fs, and can i backup the Data.fs when Zope is running. Is the
From: Chris Withers <[EMAIL PROTECTED]>
> Ah, okay... so really, prettymuch all Zope objects should be wrapped
> with only one or two exceptions, most of which aren't actually objects
> as such but simple data types?
Yes.
> > Also, there is a
> > very limited range of "natural" ways to construct
Phil Harris wrote:
>
> How about >
>
> as in
>
> &dtml-path>to>file>object>wotsit;
>
> nah, looks really ugl
And I'm damn sure that's bad XML ;-)
Looks like the colon it is then, there's even a patch now ;-)
cheers,
Chris
___
Zope-Dev mailli
How about >
as in
&dtml-path>to>file>object>wotsit;
nah, looks really ugl
- Original Message -
From: "Chris Withers" <[EMAIL PROTECTED]>
To: "Phil Harris" <[EMAIL PROTECTED]>
Cc: "Shane Hathaway" <[EMAIL PROTECTED]>; "Jonothan Farr" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent:
Phil Harris wrote:
>
> -, that;s a hyphen to you
and that can appear in ids ;-)
cheers,
Chris
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
htt
This patch changes lib/python/DocumentTemplate/DT_HTML.py so that you
can use paths for traversal in DTML entity syntax. The delimiter is ':',
as it is valid as part of an XML entity, but not valid as part of a Zope
object id.
You can use &dtml-:foo:bar; to ensure that traversal occurs from the
r
Shane Hathaway wrote:
> That would probably work, but isn't kind of ugly? Now we'd be forcing
> people to realize that colons can be path separators. Only Mac users
> know this. :-)
Well,
/ and \ are bad XML
; is bad XML, and _really_ ugly
. confuses when there's .'s in ids
Any other
-, that;s a hyphen to you
- Original Message -
From: "Chris Withers" <[EMAIL PROTECTED]>
To: "Shane Hathaway" <[EMAIL PROTECTED]>
Cc: "Jonothan Farr" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, August 17, 2000 9:57 PM
Subject: [Zope-dev] Aaargh, no safe seperators :S
> Shan
Hi,
Just for the record, Criss' suggestion didn't work for me. I don't
quite get why though Here's the code again, where images is a
Folder:
EQUAL
NOT EQUAL
The error I get from Zope is:
File /home/zope/Zope2/lib/python/DocumentTemplate/DT_
Chris Withers has suggested extending the DTML Entity syntax to include
traversal information.
For example: &dtml-foo/bar/baz;
I just checked the XML standard. This isn't allowed in XML entities.
http://www.w3.org/TR/1998/REC-xml-19980210#NT-Nmtoken
EntityRef ::= '&' Name ';'
NameChar :
Steve Alexander wrote:
> I can't think of a nice alternative to mean &dtml-/foo/bar/baz; "from
> the root, traverse as follows".
&dtml-.foo.bar.baz;
not nice, btu I can't think of anything better :(
cheers,
Chris
___
Zope-Dev maillist - [EMAIL PR
At 11:13 AM 8/14/00 +0200, Bob Pepin wrote:
>Hi,
>I've encountered some weird behaviour in the ZPatterns Transactional class
when
>I was trying to write a User Source for the Login Manager Product.
>
>I'm using Zope 2.2.0 with LoginManager 0.8.7a1 and ZPatterns 0.4.1snap1
>
>The problem is that _u
Carl Robitaille wrote:
> Hi Criss,
>
> Thanks a lot for your quick response!! Since I'm a new Zope user, I
> guess I'll just cut-paste the line you suggest without trying to
> understand for the moment ;-)
Nih!
Welcome to the deep end ;-)
cheers,
Chris
__
Hi Criss,
Thanks a lot for your quick response!! Since I'm a new Zope user, I
guess I'll just cut-paste the line you suggest without trying to
understand for the moment ;-)
Carl
> Carl Robitaille wrote:
> >
> >
> >
>
> >
> >
>
> Congratulations, you've just been bitten
Carl Robitaille wrote:
>
>
>
>
>
Congratulations, you've just been bitten by the thing that confused me
for half a day...
You see, while they say , they're actually
lying ;-)
The objects you're comparing are actually acquisition wrappers.
IMHO, == should work with acquisition to make p
Hi,
A quick question. How do I compare folder instances ?(or any instances
as a matter of fact).
Here is a simple code showing what I tried:
Here is now the resulting HTML
0
0
Why isn't the first comparison returning true? What I want to use i
Chris Withers wrote:
> How should I got about petitioning
> for
> to become valid syntax?
There's one little (okay, big) problem with this idea: aq_context
strips the security context. In fact, it could be used to confuse the
security machinery.
Let's say I'm Joe Hacker and I have set up membe
Hi,
I'am using Zope 2.1.6 and my Data.fs is going corrupted and i don't have
found a way for backup this file.
My Questions are: is there a way to delete the last transaction from
Data.fs, and can i backup the Data.fs when Zope is running. Is the
backup of Data.fs inconsitent when i make the back
Evan Simpson wrote:
> > > - never expose a "bare" object, or even one with an incomplete context
> >
> > Why? You can get at it through aq_base anyway, surely?
>
> Only from unrestricted code. DTML and (CVS) Python Methods only let you
> access aq_parent. This only applies to objects that are p
On Wed, Aug 16, 2000 at 05:31:29PM +0100, Carlos Neves wrote:
> You directly change a nonpersistence participant object.
> As stated in
> http://www.python.org/workshops/2000-01/proceedings/papers/fulton/zodb3.html :
[...]
> but mainly... RTFM ;-)
Well, thanks, but too bad the only FM I've been a
On Thu, Aug 17, 2000 at 02:23:59AM -0400, R. David Murray wrote:
> I can do 'from SearchIndex.Splitter
> import Splitter', and call Splitter, and see that stopwords are
> not removed, but I can't do 'from SearchIndex.UnTextIndex import
> Splitter' because it complains about not being able to impor
23 matches
Mail list logo