Done. http://www.openlaszlo.org/jira/browse/LPP-7972
Thank you. M. Henry Minsky ha scritto: > Can you file a bug in JIRA for this, and I will look at it. > > > On Tue, Mar 24, 2009 at 5:41 AM, Marco Lettere > <[email protected] <mailto:[email protected]>> wrote: > > Hello all, > it seems that there is no way of keeping namespace and namespace > prefixes information on datasets that are included either inline or at > compile time (with src attribute but not HTTP type). > This happens independently of whether I specify nsprefix="true" or > not. > I'm currently using lps-4.2.0.1 but this behaviour seems to be there > also in 4.2.0.2 (I tried editing an example of the laszlo doc > reference). > Is this a known or documented issue? I wasn't able to find anything on > jira.... > Thank you all. > M. > > An example: > > *Data:* > <?xml version="1.0" encoding="UTF-8"?> > <syn:test xmlns:syn="mynamespace.org <http://mynamespace.org>"> > <syn:testtag1 value="unknown"/> > <syn:testtag2 >unknown</syn:testtag2> > </syn:test> > > *Code:* > <canvas debug="true"> > > <dataset name="ds1" src="attempt.xml" nsprefix="true"/> > <dataset name="ds2" type="http" src="attempt.xml" request="true" > nsprefix="true"/> > > <handler name="ondata" reference="canvas.ds2"> > Debug.write("ds1",canvas.ds1.serialize()) > Debug.write("ds2",canvas.ds2.serialize()) > </handler> > > </canvas> > > *Output of Debug window:* > ds1 <ds1><test syn="mynamespace.org > <http://mynamespace.org>"><testtag1 > value="unknown"/><testtag2>unknown</testtag2></test></ds1> > ds2 <ds2><syn:test xmlns:syn="mynamespace.org > <http://mynamespace.org>"><syn:testtag1 > value="unknown"/><syn:testtag2>unknown</syn:testtag2></syn:test></ds2> > > -- > DcorE > > > > > -- > Henry Minsky > Software Architect > [email protected] <mailto:[email protected]> > > -- DcorE
