newLISP Fan Club

Forum => newLISP in the real world => Topic started by: IVShilov on September 13, 2021, 02:28:24 AM

Title: (xml-parse xml-source d) put result in context (bug or feature?)
Post by: IVShilov on September 13, 2021, 02:28:24 AM
Hi all.

When wrapper sxml:parse called from external function, all symbols goes to context "sxml":
((define (sxml:parse xml-source d)
   (xml-type-tags nil nil nil nil)
   (xml-parse xml-source d)
   )
 {<br/>}
31
 )
returns ((br)) , but:
((define (some-function xml-source)
   (sxml:parse xml-source 31)
   )
 {<br/>}
 )
returns ((sxml:br))Bug?