Aaargh, no safe seperators :S
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 suggestions :S cheers, Chris
-, that;s a hyphen to you ----- Original Message ----- From: "Chris Withers" <chrisw@nipltd.com> To: "Shane Hathaway" <shane@digicool.com> Cc: "Jonothan Farr" <jfarr@real.com>; <zope-dev@zope.org> Sent: Thursday, August 17, 2000 9:57 PM Subject: [Zope-dev] Aaargh, no safe seperators :S
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 suggestions :S
cheers,
Chris
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
How about > as in &dtml-path>to>file>object>wotsit; nah, looks really uglEEEE ----- Original Message ----- From: "Chris Withers" <chrisw@nipltd.com> To: "Phil Harris" <phil.harris@zope.co.uk> Cc: "Shane Hathaway" <shane@digicool.com>; "Jonothan Farr" <jfarr@real.com>; <zope-dev@zope.org> Sent: Thursday, August 17, 2000 10:27 PM Subject: Re: [Zope-dev] Aaargh, no safe seperators :S
Phil Harris wrote:
-, that;s a hyphen to you
and that can appear in ids ;-)
cheers,
Chris
From: "Chris Withers" <chrisw@nipltd.com>
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 allow colons as separators. Cheers, Evan @ 4-am & digicool
Evan Simpson wrote:
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 allow colons as separators.
Cool :-) I suggested the / thing to Steve who pointed out that &dtml-/folder/object; is bad XML/SGML and so 'Not a Good thing (tm)' What's this DTML syntaxgeddon then? ;-) This sounds like something I'd really be interested in as you can see from my ZTL proposal on dev.zope.org. Sadly, that didn't seems to get very far :( However, I'm pretty confident that when say DTML is a mess right now, I'm not far wrong. How can I get involved in the process to try and rectify this? cheers, Chris PS: Part of the 'DTML problem' is the lack of well defined interfaces for some things, and, more importantly, a decent generalised method interface covering DTML methods, Python Methods, Perl Methods, External Methods, etc..
From: Chris Withers <chrisw@nipltd.com>
I suggested the / thing to Steve who pointed out that &dtml-/folder/object; is bad XML/SGML and so 'Not a Good thing (tm)'
Yes, well, making DTML compatible with XML is explicitly *not* a current goal, although having ':' as an alternative separator should make folks who have to deal with it happy. In all other naming areas, especially indirect reference (ie. expr="_['/folder/object']") I much prefer slashes.
What's this DTML syntaxgeddon then? ;-) This sounds like something I'd really be interested in as you can see from my ZTL proposal on dev.zope.org.
There are so many ideas for revising DTML that the whole thing ought to be done as a single large change (the syntaxgeddon) rather than dribbling out new features and spellings over time. That can easily make people feel that they can't keep up with "all these crazy changes".
However, I'm pretty confident that when say DTML is a mess right now, I'm not far wrong. How can I get involved in the process to try and rectify this?
Just keep giving feedback on those proposals. Cheers, Evan @ digicool & 4-am
Evan Simpson wrote:
Yes, well, making DTML compatible with XML is explicitly *not* a current goal,
Good :-) I'm no great XML fan myself, but is does seem to be a 'good idea' (tm)
In all other naming areas, especially indirect reference (ie. expr="_['/folder/object']") I much prefer slashes.
Yes indeed :-) So when is something like &dtml.url-/folder/my_object; and your example above likely to land?
There are so many ideas for revising DTML that the whole thing ought to be done as a single large change (the syntaxgeddon) rather than dribbling out new features and spellings over time. That can easily make people feel that they can't keep up with "all these crazy changes".
How's the templating discussion fitting into all of this?
Just keep giving feedback on those proposals.
See my later posts about following Wiki's being used for discussions :-S cheers, Chris
participants (3)
-
Chris Withers -
Evan Simpson -
Phil Harris