bug-kawa
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-kawa] [bug #24037] xml namespace prefix and namespace uri swapped i


From: anonymous
Subject: [Bug-kawa] [bug #24037] xml namespace prefix and namespace uri swapped in output from compiled code
Date: Mon, 11 Aug 2008 13:52:24 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.14) Gecko/20080404 Iceweasel/2.0.0.14 (Debian-2.0.0.14-2)

URL:
  <http://savannah.gnu.org/bugs/?24037>

                 Summary: xml namespace prefix and namespace uri swapped in
output from compiled code
                 Project: Kawa
            Submitted by: None
            Submitted on: Monday 08/11/2008 at 13:52 UTC
                Category: XML related
                Severity: 3 - Normal
              Item Group: Unexpected result
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

this is with svn rev. 6133 on Java(TM) 2 Runtime Environment, Standard
Edition (build 1.5.0_14-b03) on linux/x86:

address@hidden:~$ cat xmltest.scm
(require 'xml)

(define-xml-namespace test1 "http://www.nil.at/test1";)

(test1:foo
 (test1:bar :bla 99 "hello")
 (test1:baz :foo 33 "world"))
#\newline
address@hidden:~$ 

if i run this with the interpreter, everything looks good:

address@hidden:~$ java -cp src/kawa/kawa-1.9.3.jar kawa.repl --output-format xml
-f xmltest.scm
<test1:foo xmlns:test1="http://www.nil.at/test1";><test1:bar
bla="99">hello</test1:bar><test1:baz foo="33">world</test1:baz></test1:foo>
address@hidden:~$

but when i compile it:
 
address@hidden:~$ java -cp src/kawa/kawa-1.9.3.jar kawa.repl --output-format xml
--main -C xmltest.scm
(compiling xmltest.scm to xmltest)
address@hidden:~$ 
address@hidden:~$ java -cp src/kawa/kawa-1.9.3.jar:. xmltest
<http://www.nil.at/test1:foo
xmlns:http://www.nil.at/test1="test1";><http://www.nil.at/test1:bar
bla="99">hello</http://www.nil.at/test1:bar><http://www.nil.at/test1:baz
foo="33">world</http://www.nil.at/test1:baz></http://www.nil.at/test1:foo>
address@hidden:~$ 

this also happens when i compile it as a servlet.

tnx for making kawa - it's by far the most pleasant way to program in a java
environment!

bye,
hans bulfone <address@hidden>





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?24037>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]