diff --git a/basis/xml/errors/errors.factor b/basis/xml/errors/errors.factor index 1ef26883e3..9b5b5d6568 100644 --- a/basis/xml/errors/errors.factor +++ b/basis/xml/errors/errors.factor @@ -53,7 +53,7 @@ M: mismatched summary ( obj -- str ) TUPLE: unclosed < parsing-error tags ; : ( -- unclosed ) unclosed parsing-error - xml-stack get rest-slice [ first opener-name ] map >>tags ; + xml-stack get rest-slice [ first name>> ] map >>tags ; M: unclosed summary ( obj -- str ) [ dup call-next-method write diff --git a/basis/xml/tokenize/tokenize.factor b/basis/xml/tokenize/tokenize.factor index 284f53023d..2e91c23f60 100644 --- a/basis/xml/tokenize/tokenize.factor +++ b/basis/xml/tokenize/tokenize.factor @@ -49,7 +49,7 @@ SYMBOL: ns-stack ! Parsing names : version=1.0? ( -- ? ) - prolog-data get prolog-version "1.0" = ; + prolog-data get version>> "1.0" = ; ! version=1.0? is calculated once and passed around for efficiency @@ -69,7 +69,7 @@ SYMBOL: ns-stack : (parse-entity) ( string -- ) dup entities at [ , ] [ - prolog-data get prolog-standalone + prolog-data get standalone>> [ throw ] [ dup extra-entities get at [ , ] [ throw ] ?if