Thanks Michael! All the issues I raised earlier are now resolved.

Noticed a minor typo in the name of the .yang file in this line:

  <CODE BEGINS> file"[email protected]"


That should be:

  <CODE BEGINS> file"[email protected]"



Also I checked the 3 YANG validation errors that appear on the datatracker page (https://datatracker.ietf.org/doc/draft-ietf-anima-rfc8366bis/). While pyang 2.7.1 validates ok, yanglint 2.1.30 does not - see below the errors.

One thing to note is that yanglint/libyang gets the "voucher" module from a local "catalogmod" directory, which could be the same file as here at the IETF FTP site: https://www.ietf.org/ietf-ftp/yang/catalogmod/ietf-voucher%402023-01-10.yang
or it might be a local cached copy of it.

It would be always an older version of the module (i.e. the version of the prior draft or maybe even before that), because the version extracted from the draft text is not in the "catalogmod" yet at time of validation. (These older versions all use the same YANG filename date tag - which is not ideal for validation, as it turns out.)

That said, the target nodes that are not found should really be present also in these older versions of the module, so it's unclear why the failure occurs. What we discussed earlier this week is that libyang maybe doesn't support sx:structure fully. But it does seem to find the "voucher-artifact-grouping" correctly, so I'm not sure about that.

Bumping the YANG module date to say @2025-12-18 is something we could try but most likely it won't resolve the issue.  This would force yanglint to really get the latest version of the module.
It seems quicker to just try run yanglint locally on the files.


libyang verb: Loading schema 
from"/a/www/ietf-ftp/yang/catalogmod/[email protected]" file.
libyang err : Refine(s) target node "last-renewal-date" in grouping 
"voucher-artifact-grouping" was not found. 
(/ietf-voucher-request:{extension='sx:structure'}/voucher/{uses='voucher-request-grouping'}/{uses='vch:voucher-artifact-grouping'})
libyang err : Refine(s) target node "domain-cert-revocation-checks" in grouping 
"voucher-artifact-grouping" was not found. 
(/ietf-voucher-request:{extension='sx:structure'}/voucher/{uses='voucher-request-grouping'}/{uses='vch:voucher-artifact-grouping'})
libyang err : Refine(s) target node "assertion" in grouping 
"voucher-artifact-grouping" was not found. 
(/ietf-voucher-request:{extension='sx:structure'}/voucher/{uses='voucher-request-grouping'}/{uses='vch:voucher-artifact-grouping'})
YANGLINT[E]: Parsing schema module"[email protected]" failed.


Esko


On 17-12-2025 20:11, Michael Richardson wrote:
This version is just a few small typos over -20.
Max has agreed to have his name removed as an author so that the number
is <= 5.  I didn't get that into -21.  I look forward to AD review.

--
]               Never tell me the odds!                 | ipv6 mesh networks [
]   Michael Richardson, Sandelman Software Works        |    IoT architect   [
][email protected]  http://www.sandelman.ca/        |   ruby on rails    [




_______________________________________________
Anima mailing list [email protected]
To unsubscribe send an email [email protected]

--
*IoTconsultancy.nl* | Email/Teams: [email protected] | +31 6 2385 8339
_______________________________________________
Anima mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to