XMLOrderedList belongs to package XML-Parser-Nodes.

a := XMLOrderedList new.
a add:'1'.
a , XMLOrderedList new.

Here select all and Do it. On line 3 (a , XMLOrderedList new.)  i am
expected to get a copy of 'a' , but instead it throws an error
SubscriptOutOfBounds.




OrderedCollection(Object)>>errorSubscriptBounds:
OrderedCollection>>ensureBoundsFrom:to:
OrderedCollection>>at:put:
OrderedCollection(SequenceableCollection)>>replaceFrom:to:with:startingAt:
XMLOrderedList>>replaceFrom:to:with:startingAt:
XMLOrderedList(SequenceableCollection)>>copyReplaceFrom:to:with:
XMLOrderedList(SequenceableCollection)>>,
UndefinedObject>>DoIt
OpalCompiler>>evaluate
SmalltalkEditor>>evaluateSelectionAndDo:
PluggableTextMorph>>inspectIt in Block: [ textMorph editor
evaluateSelectionAndDo: [ :resu...etc...
PluggableTextMorph>>handleEdit: in Block: [ result := editBlock value ]
TextMorphForEditView(TextMorph)>>handleEdit:
PluggableTextMorph>>handleEdit:
PluggableTextMorph>>inspectIt
SmalltalkEditor class>>buildSmalltalkEditorKeymappingsOn: in Block: [
:morph | morph inspectIt ]
BlockClosure>>cull:
BlockClosure>>cull:cull:
BlockClosure>>cull:cull:cull:
KMCategoryBinding>>completeMatch:buffer:
KMKeymap>>notifyCompleteMatchTo:buffer: in Block: [ :l | l completeMatch:
self buffer: aBuffer ]
Array(SequenceableCollection)>>do:
KMKeymap>>notifyCompleteMatchTo:buffer:
KMKeymap>>onMatchWith:notify:andDo:
KMCategory>>onMatchWith:notify:andDo: in Block: [ :entry | entry
onMatchWith: anEventBuffer notify...etc...
Set>>do:
KMCategory>>onMatchWith:notify:andDo:
KMCategoryBinding>>verifyMatchWith:notifying:thenDoing:
KMDispatcher>>dispatch: in Block: [ :aTarget | ...
OrderedCollection>>do:


Plese refer to the above stack.

Thanks in advance.

thushar

*G R Thushar*
*Team Leader(Technology),*
*Signos Software Solutions Pvt. Ltd.*
*Ground Floor **A.R Plaza, TC 11/43 (2),*
*P.M.G Junction,*
*Thiruvananthapuram, 695004. Kerala, India.*

*Web: www.signossolutions.com <http://www.signossolutions.com>*
Email: thushar...@signossolutions.com, thushar...@gmail.com
Phone: +919846577772





On Mon, May 5, 2014 at 6:28 PM, Ben Coman <b...@openinworld.com> wrote:

> Thushar G R wrote:
>
>> Hi,
>>
>> I am getting an error while doing this.
>>
>> a := XMLOrderedList new.
>> a add:'1'.
>> a , XMLOrderedList new.
>>
>> Thanks,
>>
>> Thushar
>>
> I could give you "an answer" ;) - but it would be what you wanted.  It
> would help if you told what the error was, where it occurs (which of the
> three lines), and what you expect each line is doing (especially the third
> line).
>
> Also I don't see XMLOrderedList in the default Pharo image, so it would
> help if you describe where you got that from and how you installed it.
>
> cheers -ben
>
>

Reply via email to