Skip to Content.
Sympa Menu

perfsonar-dev - Re: [pS-dev] LSResponse's have &gt; and &lt; instead of '>' and '<'

Subject: perfsonar development work

List archive

Re: [pS-dev] LSResponse's have &gt; and &lt; instead of '>' and '<'


Chronological Thread 
  • From: "Jeff W. Boote" <>
  • To: Maciej Glowiak <>
  • Cc: , "" <>
  • Subject: Re: [pS-dev] LSResponse's have &gt; and &lt; instead of '>' and '<'
  • Date: Mon, 11 Sep 2006 12:03:29 -0600

Maciej Glowiak wrote:
Hi Jason and Jeff,

Decided for using XML database and XQuery as query language for LS we also decided to have XML as a response, but we hadn't defined it in schema classes. So, there were a couple of solutions:

- send XML response as text (converted < > to XML entities)
or
- modify schema classes to handle it (convert to DOM/text)

I chose the first option because it let us avoid modification of schema classes and I could do it on LS level of application. But of course we may re-think it and implement the second solution.

This is a reasonable solution. (I even remembered talking about it after Jason reminded me.)

Thanks,
jeff



Archive powered by MHonArc 2.6.16.

Top of Page