xml.backend moved into xml.state

db4
Daniel Ehrenberg 2009-01-22 17:19:02 -06:00
parent d598963e0a
commit a977ec4d3d
5 changed files with 8 additions and 12 deletions

View File

@ -1,6 +0,0 @@
! Copyright (C) 2008 Daniel Ehrenberg
! See http://factorcode.org/license.txt for BSD license.
IN: xml.backend
! A stack of { tag children } pairs
SYMBOL: xml-stack

View File

@ -2,7 +2,7 @@
! See http://factorcode.org/license.txt for BSD license.
USING: xml.data xml.writer kernel generic io prettyprint math
debugger sequences xml.state accessors summary
namespaces io.streams.string xml.backend xml.writer.private ;
namespaces io.streams.string ;
IN: xml.errors
TUPLE: parsing-error line column ;

View File

@ -17,3 +17,9 @@ C: <spot> spot
: set-next ( char -- ) spot get swap >>next drop ;
: get-check ( -- ? ) spot get check>> ;
: check ( -- ) spot get t >>check drop ;
SYMBOL: xml-stack
SYMBOL: prolog-data
SYMBOL: depth

View File

@ -6,10 +6,6 @@ circular xml.entities assocs make splitting math.parser
locals combinators arrays ;
IN: xml.tokenize
SYMBOL: prolog-data
SYMBOL: depth
: version=1.0? ( -- ? )
prolog-data get [ version>> "1.0" = ] [ t ] if* ;

View File

@ -2,7 +2,7 @@
! See http://factorcode.org/license.txt for BSD license.
USING: accessors arrays io io.encodings.binary io.files
io.streams.string kernel namespaces sequences strings io.encodings.utf8
xml.backend xml.data xml.errors xml.elements ascii xml.entities
xml.data xml.errors xml.elements ascii xml.entities
xml.writer xml.state xml.autoencoding assocs xml.tokenize xml.name ;
IN: xml