Is There a Specification for MOF Comment Delimiters

201 views Asked by At

This MOF Format Specification is riddled with C-style ("//") comments but the the allowed structure of actual MOF file comments are not shown in the BNF (which uses BNF improperly, IMO: "aliasIdentifer = "$" IDENTIFIER // NO whitespace !").

I have found many examples of MOF files that use:

/* comments */
// comment

But these were not in the context of defining the MOF format itself.

2

There are 2 answers

0
mclayton On BEST ANSWER

According to the DMTF specification, MOF files support "// ..." and "/* ... */" for comments.

See section "5.4 Comments" of http://www.dmtf.org/sites/default/files/standards/documents/DSP0221_3.0.0a.pdf for details.

(Link found at http://www.dmtf.org/standards/cim - first document in the the "DMTF Specifications" section, titled "DSP0221").

0
Daniel Randall On

Found the answer here. It was in the context of compiling, rather than creating, MOF files.