This is the mail archive of the kawa@sources.redhat.com mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

playing with XML stuff


I've just been playing with some of the XML stuff, I've not tried any of
this before. I came across some things I find confusing.

The manual says that this:

(make-element 'p "The time is: " (make-element 'code (make
<java.util.Date>)))

should make a TreeList which looks like this:

<p>The the is: <code>date...</code></p>

But when I do this:

(print-as-xml
  (make-element 'p "The time is: "
      (make-element 'code (make <java.util.Date>))))

I get the following:

<pThe time is: ><code>Fri Jan 04 13:59:40 GMT 2002</code></p>

Incidentally this is consistent with the return value of the
(make-element ...) expression.

I'm using the latest kawa build (but not the CVS build) for this.


Nic


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]