perfsonar-dev - Re: cannot add child org.ggf.ns.nmwg.topology.l3.v3_0.Link to Data?
Subject: perfsonar development work
List archive
- From: Jason Zurawski <>
- To: ulisses <>
- Cc:
- Subject: Re: cannot add child org.ggf.ns.nmwg.topology.l3.v3_0.Link to Data?
- Date: Tue, 25 Jul 2006 09:19:06 -0400
Ulisses;
it worked as you said, but the xml cannot be converted to DOM, the
minimum version I found of an xml result that cannot converted [1] is inserting only one Link:
<nmwg:message id="localhost.localdomain.1dd5faf9:10ca4666fcf:-7fea"
type="TOPSDownloadDBResponse"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
<nmwg:metadata id="TOPSDownloadDBResponseMetadata"/>
<nmwg:data id="TOPSDownloadDBResponse"
metadataIdRef="TOPSDownloadDBResponseMetadata">
<nmwg:metadata id="TOPSDownloadDBResponseMetadata"/>
<nmwgtopo3:link
id="localhost.localdomain.1dd5faf9:10ca4666fcf:-7feb"
xmlns:nmwgtopo3="http://ggf.org/ns/nmwg/topology/l3/3.0/">
<nmwgtopo3:interface
id="localhost.localdomain.1dd5faf9:10ca4666fcf:-7fec">
<nmwgtopo3:ifDescription>GE-0/0/0.20</nmwgtopo3:ifDescription>
<nmwgtopo3:type>other</nmwgtopo3:type>
<nmwgtopo3:capacity>0</nmwgtopo3:capacity>
<nmwgtopo3:netmask>62.40.98.40/29</nmwgtopo3:netmask>
<nmwgtopo3:ipAddress value="62.40.98.41"/>
</nmwgtopo3:interface>
<nmwgtopo3:name>be1.be.geant.net_62.40.98.40/29 -
_</nmwgtopo3:name>
</nmwgtopo3:link>
</nmwg:data>
</nmwg:message>
I don't think the problem is the header/metadata because if I insert only
Nodes:
<nmwg:message id="localhost.localdomain.-34e31349:10ca46f251b:-7ee2"
type="TOPSDownloadDBResponse"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
<nmwg:metadata id="TOPSDownloadDBResponseMetadata"/>
<nmwg:data id="TOPSDownloadDBResponse"
metadataIdRef="TOPSDownloadDBResponseMetadata">
<nmwg:metadata id="TOPSDownloadDBResponseMetadata"/>
<nmwgtopo3:node
id="localhost.localdomain.-34e31349:10ca46f251b:-7f8f"
xmlns:nmwgtopo3="http://ggf.org/ns/nmwg/topology/base/3.0/">
<nmwgtopo3:hostName>bodo-gw.uninett.no</nmwgtopo3:hostName>
<nmwgtopo3:name>bodo-gw.uninett.no</nmwgtopo3:name>
</nmwgtopo3:node>
<nmwgtopo3:node
id="localhost.localdomain.-34e31349:10ca46f251b:-7fe5"
xmlns:nmwgtopo3="http://ggf.org/ns/nmwg/topology/base/3.0/">
<nmwgtopo3:hostName>de2.de.geant.net</nmwgtopo3:hostName>
<nmwgtopo3:name>de2.de.geant.net</nmwgtopo3:name>
</nmwgtopo3:node>
</nmwg:data>
</nmwg:message>
it is converted correctly
any comment will be greatly appreciated
Thanks
Ulisses
[1]
<?xml version="1.0" encoding="UTF-8"?>
<nmwg:message xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
id="resultCodeMessage">
<nmwg:metadata id="resultCodeMetadata">
<nmwg:eventType>error.common.parse_error</nmwg:eventType>
</nmwg:metadata>
<nmwg:data id="resultDescriptionData_for_resultCodeMetadata"
metadataIdRef="resultCodeMetadata">
<nmwg:datum value="Cannot convert Message to DOM" />
</nmwg:data>
</nmwg:message>
I would need to see the code, perhaps there is a collision on the child hash.
-jason
- Re: cannot add child org.ggf.ns.nmwg.topology.l3.v3_0.Link to Data?, Jason Zurawski, 07/25/2006
- Re: cannot add child org.ggf.ns.nmwg.topology.l3.v3_0.Link to Data?, ulisses, 07/25/2006
- Re: [pS-dev] Re: cannot add child org.ggf.ns.nmwg.topology.l3.v3_0.Link to Data?, Jason Zurawski, 07/25/2006
- Re: cannot add child org.ggf.ns.nmwg.topology.l3.v3_0.Link to Data?, ulisses, 07/25/2006
Archive powered by MHonArc 2.6.16.