perfsonar-dev - Re: [pS-dev] LSResponse's have > and < instead of '>' and '<'
Subject: perfsonar development work
List archive
- From: Jason Zurawski <>
- To: "Jeff W. Boote" <>
- Cc: "" <>
- Subject: Re: [pS-dev] LSResponse's have > and < instead of '>' and '<'
- Date: Fri, 08 Sep 2006 19:35:13 -0400
Jeff;
In any case, the responses from the 'test' scripts have malformed XML. For some reason '>' and '<' are replaced with the escape codes. Has anyone seen this? Is this something I have misconfigured in tomcat?
I had a direct e-mail exchange with Maciej on this back during the release phase:
Jason Zurawski napisa?(a):
Maciej;Yes, it's XML inside XML. The result of XQuery expression may be anything -- in our specific case any XML content.
I am testing the LS right now, and I am getting a response with some funny markup (attached) do you know what could cause this?
-jason
In some cases this XML content will be NMWG XML but it doesn't have to. So I decided to convert XML into "string" with < > entities. We had quite long discussion about it months ago (I needed some changes in schema classes).
So, in other words, our response is:
=========================================================================
<?xml version="1.0" encoding="UTF-8"?>
<nmwg:message xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/" id="localhost.-7f6d9204:10baf4475ff:-7ffe" type="LSQueryResponse">
<nmwg:metadata id="LSQueryResponseMetadata_0" />
<nmwg:data id="LSQueryResponseData_0" metadataIdRef="LSQueryResponseMetadata_0">
<psservice:datum xmlns:psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/">
-------------------------------------------------------------------------
then the XQuery result comes
-------------------------------------------------------------------------
</psservice:datum>
</nmwg:data>
</nmwg:message>
=========================================================================
-jason
- LSResponse's have > and < instead of '>' and '<', Jeff W. Boote, 09/08/2006
- Re: [pS-dev] LSResponse's have > and < instead of '>' and '<', Jason Zurawski, 09/08/2006
- Re: [pS-dev] LSResponse's have > and < instead of '>' and '<', Maciej Glowiak, 09/11/2006
- Re: [pS-dev] LSResponse's have > and < instead of '>' and '<', Jeff W. Boote, 09/11/2006
- Re: [pS-dev] LSResponse's have > and < instead of '>' and '<', Maciej Glowiak, 09/11/2006
- Re: [pS-dev] LSResponse's have > and < instead of '>' and '<', Jason Zurawski, 09/08/2006
Archive powered by MHonArc 2.6.16.