Skip to Content.
Sympa Menu

perfsonar-dev - namespace declaration

Subject: perfsonar development work

List archive

namespace declaration


Chronological Thread 
  • From: maxim <>
  • To:
  • Subject: namespace declaration
  • Date: Wed, 27 Feb 2008 12:58:53 -0600

Hello,
I am trying to get a conclusive answer from each service's developer on
namespace declaration. Is it true that every ps service supports
namespace declarations either in the head element ( message ) or
in the top of the element where it used ( so it wont choke on missing
declaration in the message element ).For example pinger namespace
can be declared here :

<nmwg:message
xmlns:pinger="http://ggf.org/ns/nmwg/tools/pinger/2.0/"; ...
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"; type="SetupDataResponse"
id="message.10186492">

and used below

<nmwg:data metadataIdRef="meta2" id="data1">
<nmwg:commonTime value="1198279649" type="unix">
<pinger:datum value="53.258" name="minRtt"/>

or like that ( in every data element ):

<nmwg:message
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"; type="SetupDataResponse"
id="message.10186492">

<nmwg:data metadataIdRef="meta2" id="data1"
xmlns:pinger="http://ggf.org/ns/nmwg/tools/pinger/2.0/";>
<nmwg:commonTime value="1198279649" type="unix">
<pinger:datum value="53.258" name="minRtt"/>
--
The both should be supported, right ?
Thanks,
Maxim.





Archive powered by MHonArc 2.6.16.

Top of Page