2 Jan 2008 15:09
Re: Model draft
Joel M. Halpern <joel <at> stevecrocker.com>
2008-01-02 14:09:48 GMT
2008-01-02 14:09:48 GMT
There appear to be two issues you are raising with the name space declaration in this document. One issue is whether the version goes before or after the model scoping. Because the schema and its semantics relate to the protocol as well as the model, it seemed to go in the order we have it (version, lfmmodel.) However, after reading your comment and thinking about it, I suspect that you are correct about the ordering, and it should be lfbmodel then 1.0. The second issue appears to be our use of an http uri rather than a field delimited urn as the namespace. The use of HTTP URIs seems fully conformant. And the use of web space URIs seems recommended by RFC 3470. The use of URNs for namespaces is offered there as a fallback alternative. So it is not clear to me what the problem is with our usage. Yours, Joel M. Halpern tom.petch wrote: > I think that the URIs are not quite right yet. > > As per RFC3688, the targetNamespace should be a urn, eg > > targetNamespace="urn:ietf:params:xml:ns:forces:lfbmodel:1.0" > > and the schema needs a name if it is to be registered with IANA, eg > > "urn:ietf:params:xml:schema:forces:xxx:1.0" >(Continue reading)
3.2. Logical Functional Block (LFB) Modeling
An LFB can have one or more inputs, each of which takes a packet P,
and optionally metadata M; and produces one or more outputs, each of
which carries a packet P', and optionally metadata M'.
**+ I think that this is too restrictive; s3 says that output may be metadata
only.
4.2. <LFBLibrary> Element
In addition to the above main elements, a library document can import
**+ is this an XML import or XML include or both or neither? (this has
implications on namespaces)
4.5.4. <struct> Element to Define Structures
In
addition, the component declaration contains the name of the
component, a synopsis, an optional description,
**+ I see no <description> in the XML for <component> in <structType> but one is
present in <LFBComponentsType> ; is this intended?
4.5.6. <alias> Element
The target of a component declared by an >alias> element is
**+ <alias>
Details of the alias property structure are described in the section
of this document on properties.
RSS Feed