(xml-parse xml-source d) put result in context (bug or feature?)

Started by IVShilov, September 13, 2021, 02:28:24 AM

Previous topic - Next topic

IVShilov

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?