add nsprefix="true" to get the namespace info preserved on a dataset. If not,
we need to file a bug. In future releases the default will be to preserve namespace info.
In SOLO data requests, namespace info is always preserved. In the future, all of
the data requests will use that same code path, and namespace info will always be preserved.
Note that there is a bug in the xpath query compiler in the current release such that you cannot query for attributes which have a namespace prefix, i.e., if you have an attribute with a namespace prefix like "foo:name" the XPath query
"/foo:person/@foo:name" won't parse properly. There's a fix for that in an upcoming
change to the dev branch.
On 1/9/06, James Howe <[EMAIL PROTECTED]> wrote:
I was just processing some XML in my Laszlo application and was surprised
when I couldn't retrieve information from an XML element which belonged to
a namespace (i.e. <rmg:foobar> instead of <foobar>). After some quick
searching on the Net I discovered that Laszlo is stripping namespace
information from XML before giving it to the application. Sure enough,
when I attempted to get data from 'foobar' instead of 'rmg:foobar', I was
successful. Why does Laszlo do this and is there an estimate on when this
problem will be corrected? I'm running the 3.1 release.
Thanks!
--
James Howe
_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user
--
Henry Minsky
Software Architect
[EMAIL PROTECTED]
_______________________________________________ Laszlo-user mailing list [email protected] http://www.openlaszlo.org/mailman/listinfo/laszlo-user
