* [bug #29260] sxml->xml can't use output from xml->sxml
@ 2010-03-18 22:30 anonymous
2010-04-14 9:01 ` Stefan Israelsson Tampe
0 siblings, 1 reply; 3+ messages in thread
From: anonymous @ 2010-03-18 22:30 UTC (permalink / raw)
To: bug-guile
URL:
<http://savannah.gnu.org/bugs/?29260>
Summary: sxml->xml can't use output from xml->sxml
Project: Guile
Submitted by: None
Submitted on: Thu 18 Mar 2010 10:30:00 PM UTC
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
Basically, sxml->xml doesn't like the *TOP* that xml->sxml returns in the
result.
$ git describe
release_1-9-8-116-gef7e4ba
dsmith@CLE-ENG-04:~$ guile
Guile Scheme interpreter 0.5 on Guile 1.9.8
Copyright (C) 2001-2008 Free Software Foundation, Inc.
Enter `,help' for help.
scheme@(guile-user)> (use-modules (sxml simple))
scheme@(guile-user)> (sxml->xml (with-input-from-file "foo.xml" xml->sxml))
Throw to key `misc-error':
ERROR: Invalid name starting character "*TOP*" *TOP*
Entering the debugger. Type `bt' for a backtrace or `c' to continue.
0 debug> c
0 debug> 0 debug>
Backtrace:
In ice-9/boot-9.scm:
1041: 8 [#<procedure fca600 ()>]
60: 7 [call-with-prompt prompt0 #<procedure d3eee0 ()> ...]
In ice-9/r4rs.scm:
174: 6 [with-output-to-port #<variable b3ca90 value: #<output: standard
output /dev/pts/5>> ...]
In sxml/simple.scm:
64: 5 [#<procedure d415c0 at sxml/simple.scm:61:4 ()>]
53: 4 [#<procedure d16260 at sxml/simple.scm:52:20 (tag . elems)> *TOP* #
#]
107: 3 [entag *TOP*]
In unknown file:
?: 2 [for-each #<procedure d43e60 at sxml/simple.scm:93:5 (s)> ("*TOP*"
#f)]
In sxml/simple.scm:
97: 1 [#<procedure d43e60 at sxml/simple.scm:93:5 (s)> "*TOP*"]
In ice-9/boot-9.scm:
847: 0 [error "Invalid name starting character" "*TOP*" *TOP*]
ERROR: Invalid name starting character "*TOP*" *TOP*
scheme@(guile-user)>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?29260>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* [bug #29260] sxml->xml can't use output from xml->sxml
2010-03-18 22:30 [bug #29260] sxml->xml can't use output from xml->sxml anonymous
@ 2010-04-14 9:01 ` Stefan Israelsson Tampe
2010-05-11 21:54 ` Ludovic Courtès
0 siblings, 1 reply; 3+ messages in thread
From: Stefan Israelsson Tampe @ 2010-04-14 9:01 UTC (permalink / raw)
To: Stefan Israelsson Tampe, bug-guile
Follow-up Comment #1, bug #29260 (project guile):
When I added
(*TOP* . ,(lambda (tag . xml) xml))
to (define universal-sxslt-rules ...) in module/sxml/simple.scm
the issue seams to be corrected.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?29260>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* [bug #29260] sxml->xml can't use output from xml->sxml
2010-04-14 9:01 ` Stefan Israelsson Tampe
@ 2010-05-11 21:54 ` Ludovic Courtès
0 siblings, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2010-05-11 21:54 UTC (permalink / raw)
To: Ludovic Courtès, Stefan Israelsson Tampe, bug-guile
Update of bug #29260 (project guile):
Status: None => Fixed
Assigned to: None => civodul
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #2:
Indeed, thanks!
Committed along with a test case:
http://git.savannah.gnu.org/cgit/guile.git/commit/?id=df3f1090e8772a78206e6a5b65112fa66dbcd0af
Ludo'.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?29260>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-05-11 21:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-18 22:30 [bug #29260] sxml->xml can't use output from xml->sxml anonymous
2010-04-14 9:01 ` Stefan Israelsson Tampe
2010-05-11 21:54 ` Ludovic Courtès
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).