Skip to Content.
Sympa Menu

perfsonar-dev - Re: [pS-dev] failure of converting returning message (XML) to DOM

Subject: perfsonar development work

List archive

Re: [pS-dev] failure of converting returning message (XML) to DOM


Chronological Thread 
  • From: Jason Zurawski <>
  • To: ulisses <>
  • Cc:
  • Subject: Re: [pS-dev] failure of converting returning message (XML) to DOM
  • Date: Sun, 27 Aug 2006 21:45:47 -0400

Ulisses;

Hi again

I managed to have a very minimum version of the XML document that fails to convert to DOM:

<nmwg:message id="localhost.localdomain.66dffd41:10d3ab5e77b:-7ffe"
type="TOPSDownloadDBResponse"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/";>
<nmwg:metadata id="TOPSDownloadDBResponseMetadata"/>
<nmwg:data id="TOPSDownloadDBResponse"
metadataIdRef="TOPSDownloadDBResponseMetadata">
<nmwg:data id="localhost.localdomain.66dffd41:10d3ab5e77b:-7fff">
<nmwgtopo3:link
id="localhost.localdomain.66dffd41:10d3ab5e77b:-8000"
xmlns:nmwgtopo3="http://ggf.org/ns/nmwg/topology/l3/3.0/";>
<nmwgtopo3:name>test</nmwgtopo3:name>
</nmwgtopo3:link>
</nmwg:data>
</nmwg:data>
</nmwg:message>

any hint? thanks



Could you remind me again how you are go about converting to DOM exactly? Are you using the toDOM() routine from the ggf classes or some other helper function? I ran this example (and your previous one) through the org.ggf.ns.nmwg.base.v2_0.Handler program (just compiling/running this class and dependancies only, not using any other part of the pS framework) and received perfect output each time, with no errors for both the toXML() and toDOM() functions.
I am inclined to think that your XML is formed correctly (although my statements from last e-mail about the meaning of the XML are still valid here), but perhaps there is some sort of error in how you go about calling the conversion.
-jason




Archive powered by MHonArc 2.6.16.

Top of Page