OpenSim Mantis Tracker
| Anonymous | Login | Signup for a new account | 2010-07-31 17:38 PDT |
| Main | My View | View Issues | Change Log | Roadmap | Summary | Docs | My Account |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
| 0002307 | [opensim] [REGION] Scripting Engine | minor | always | 2008-10-01 06:54 | 2008-10-13 07:09 | ||||
| Reporter | Godfrey | View Status | public | ||||||
| Assigned To | cfk | ||||||||
| Priority | normal | Resolution | fixed | ||||||
| Status | closed | Product Version | |||||||
| Summary | 0002307: llParseString2List() discards initial and multiple spacers | ||||||||
| Description |
In Second Life's implementation of llParseString2List(), all spacer strings which occur within the source string are included in the resulting list. In OpenSim's implementation, any spacers occurring at the beginning of the string are discarded; furthermore, if multiple spacers occur between non-spacer elements, or at the end of the source string, only the first spacer is added to the resulting list; the remainder are discarded. In SL, the example script (provided in "Additional Information") produces the output: Object: !, ?, !, ?, This, !, ?, is, ?, !, a, !, ?, test, ?, !, ?, ! In OpenSim, it produces this output: Primitive: This, !, is, ?, a, !, test, ? This issue occurs under both DotNetEngine and XEngine. |
||||||||
| Additional Information |
default { state_entry() { string sourceString = "!?!?This!?is?!a!?test?!?!"; list spacers = [ "!", "?" ]; llOwnerSay( llList2CSV( llParseString2List( sourceString, [], spacers ))); } } |
||||||||
| Tags | No tags attached. | ||||||||
| Git Revision | |||||||||
| SVN Revision | 6603 | ||||||||
| Run Mode | Grid (1 Region per Sim) , Grid (Multiple Regions per Sim) | ||||||||
| Physics Engine | ODE | ||||||||
| Environment | Mono / Linux32 | ||||||||
| Mono Version | None | ||||||||
| Attached Files |
|
||||||||
|
|
|||||||||
| Mantis 1.1.1[^] Copyright © 2000 - 2008 Mantis Group |