[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: subelements



Phil Shafer <phil@juniper.net> wrote:
> Johan Rydberg writes:
> >Why are configurations named with an subelements of <source> or <target>
> >and not text payload of the element?  This should make it impossible to
> >have a configuration named "config", for example.
> 
> I think you have it backwards, or I'm misunderstanding you.
> 
> By using named subelements, we allow extensibility such as:
> 
>   <source>
>     <divine-inspiration xmlns="http://di.example.net"/>
>   </source>

... except that this isn't allowed by the XSD in rfc4741.  Should this
be viewed as a bug in the schema?

(In general I think it's unfortunate that the schema is not more
extensible.)


/martin

--
to unsubscribe send a message to netconf-request@ops.ietf.org with
the word 'unsubscribe' in a single line as the message text body.
archive: <http://ops.ietf.org/lists/netconf/>