[Laszlo-dev] Can a '.' be embedded in an attribute name?
promanik at laszlosystems.com
Thu Jun 7 11:02:47 PDT 2007
I looked at the test file. The strings passed to __LZprocessOperator looked
Does OL support additional '.' If not, why can't I stop splitting the
string if the operator is 'attributes'?
>There is a suite in test/lfc/data/alldata.lzx that covers a fair amount of
>stuff, some of it xpath, in the datapointer tests. it should all pass now.
>It is pretty random
>though, if you wanted to add some more formalized xpath regression tests
>to that suite it would be a good thing.
>On 6/7/07, P T Withington <<mailto:ptw at openlaszlo.org>ptw at openlaszlo.org>
>Do we have a decent xpath test suite to ensure we don't break
>anything if we make a fundamental change like this?
>On 2007-06-06, at 17:22 EDT, Henry Minsky wrote:
> > My understanding is that LzParsedPath can store the "compiled" path
> > any way
> > it wants to, as long as LzDatapointer.__LZprocessOperator is made to
> > be compatible. The way it looks like its working is that it
> > stores either a function or a string in the 'operator' slot,
> > and if the value is not a function, it assumes it is a string
> > separated by
> > '.'.
> > So we could change that to be a list or something.
> > On 6/6/07, Philip Romanik
> <<mailto:promanik at laszlosystems.com>promanik at laszlosystems.com> wrote:
> >> I can take a look. Do you have an advice on how to do it that
> >> won't get in
> >> the way?
> >> Thanks!
> >> Phil
><mailto:hminsky at laszlosystems.com>hminsky at laszlosystems.com
More information about the Laszlo-dev