[netmod] I-D Action: draft-ietf-netmod-rfc6991-bis-10.txt

2022-01-14 Thread internet-drafts
A New Internet-Draft is available from the on-line Internet-Drafts directories. This draft is a work item of the Network Modeling WG of the IETF. Title : Common YANG Data Types Author : Juergen Schoenwaelder Filename: draft-ietf-netmod-rfc6991-b

Re: [netmod] XML and prefix

2022-01-14 Thread Ladislav Lhotka
On 14. 01. 22 12:23, Martin Björklund wrote: Hi, Ok, I think I understand what he means. With this XML: nsfmi:memory-alarm the prefix "nsfmi" is present in the element data, which means that in order to implement this properly, the XML parser must pass the namespace mappings

Re: [netmod] XML and prefix

2022-01-14 Thread tom petch
From: Martin Björklund Sent: 14 January 2022 11:41 tom petch wrote: > From: Martin Björklund > Sent: 14 January 2022 11:23 > > Hi, > > Ok, I think I understand what he means. With this XML: > > > nsfmi:memory-alarm > > > the prefix "nsfmi" is present in the element data, which mean

Re: [netmod] XML and prefix

2022-01-14 Thread Martin Björklund
tom petch wrote: > From: Martin Björklund > Sent: 14 January 2022 11:23 > > Hi, > > Ok, I think I understand what he means. With this XML: > > > nsfmi:memory-alarm > > > the prefix "nsfmi" is present in the element data, which means that > in order to implement this properly, the

Re: [netmod] XML and prefix

2022-01-14 Thread tom petch
From: Martin Björklund Sent: 14 January 2022 11:23 Hi, Ok, I think I understand what he means. With this XML: nsfmi:memory-alarm the prefix "nsfmi" is present in the element data, which means that in order to implement this properly, the XML parser must pass the namespace mappings

Re: [netmod] XML and prefix

2022-01-14 Thread tom petch
From: Martin Björklund Sent: 14 January 2022 10:39 To: tom petch Cc: netmod@ietf.org Subject: Re: [netmod] XML and prefix Hi, I don't understand the problem either. He writes: > Sorry, but this has the same problem in figure 11.1 that we've just been > discussing with Ian. Can you send a poin

Re: [netmod] XML and prefix

2022-01-14 Thread Martin Björklund
Hi, Ok, I think I understand what he means. With this XML: nsfmi:memory-alarm the prefix "nsfmi" is present in the element data, which means that in order to implement this properly, the XML parser must pass the namespace mappings to the user code. So he proposes to add to the draf

Re: [netmod] XML and prefix

2022-01-14 Thread Ladislav Lhotka
On 14. 01. 22 11:39, Martin Björklund wrote: Hi, I don't understand the problem either. He writes: Sorry, but this has the same problem in figure 11.1 that we've just been discussing with Ian. Can you send a pointer to that discussion? Perhaps there's more context there. Right. I also su

Re: [netmod] XML and prefix

2022-01-14 Thread Martin Björklund
Hi, I don't understand the problem either. He writes: > Sorry, but this has the same problem in figure 11.1 that we've just been > discussing with Ian. Can you send a pointer to that discussion? Perhaps there's more context there. /martin tom petch wrote: > I see that IANA have taken to a

[netmod] XML and prefix

2022-01-14 Thread tom petch
I see that IANA have taken to asking XML Registry experts about the registration of YANG namespaces at Last Call, or perhaps they have always done this but have only recently put the e-mail on a public list. Anyhow, the experts have taken it upon themselves to comment on the XML examples and I