Skip to Content.
Sympa Menu

perfsonar-dev - Re: [pS-dev] Re: E2Emon NMWG schema update ?

Subject: perfsonar development work

List archive

Re: [pS-dev] Re: E2Emon NMWG schema update ?


Chronological Thread 
  • From: Mark Yampolskiy <>
  • To: Loukik Kudarimoti <>,
  • Cc: Martin Swany <>, "Matthias K. Hamm" <>, Roman Lapacz <>, "" <>
  • Subject: Re: [pS-dev] Re: E2Emon NMWG schema update ?
  • Date: Thu, 26 Apr 2007 16:05:40 +0200

Hi Loukik, Jason, all,

Loukik Kudarimoti schrieb:
Matthias, Mark,

Does this solve the issue for light path monitoring protocols that you wrote to me about?
almost. Definition sent by Jason really allow empty data element, BUT it is slightly different to the one you can find under http://anonsvn.internet2.edu/svn/nmwg/trunk/nmwg/schema/rnc/XML_Schema_v03_final.rnc

Jason, could it be that we are looking in different places and speak about two different schemas?

Cheers,
M&M


Loukik


Jason Zurawski wrote:
Loukik;


The nmwg rnc definition makes it mandatory for the the data elements to contain an element inside. However, for RRD MA and SQL MA, if no data is found, the data returned is simply a data element without any elements inside.

The only change required is to update the schema definitions as the Message object implementation seems to work ok in such cases. Can you please make this change?


So just so I am clear on what is being asked here, you want the schema to be updated to allow empty data elements?
yup.


It appears that this is already possible:

Data =
element nmwg:data {
(
Identifier &
MetadataIdentifierRef? &
(
Metadata* |
(
commonTime+ & Datum*
) |
Datum* |
Key*
)
),
anyElement*


}



The only requirement is the id element, everything else is an optional attribute/element so I don't believe we need to change anything.

-jason



--

======================================================================
Mark Yampolskiy E-Mail:

Leibniz-Rechenzentrum (LRZ) Tel.: +49 (089) 35831-8742
Boltzmannstrasse 1 Web: http://www.mnm-team.org/~yampol/
85748 Garching / Germany Room: I.2.107
======================================================================




Archive powered by MHonArc 2.6.16.

Top of Page