Hi -

On 2/17/2020 3:15 AM, Christian Hopps wrote:
...
> BTW, I did look at the "SHOULD be avoided" (occurs twice that I saw) once dealing with LFs and CRs which lucky for us is not part of a tags allowable characters.

There are lots of other things that complicate life.  The Yang string definition
circumscribes some of them, but not all.

"
      typedef tag {
        type string {
          length "1..max";
          pattern '[\S ]+';
        }
"

This pattern doesn't make sense to me when I try to understand it using
https://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#charcter-classes
It excludes "symbols", but permits, for example, paragraph separators and
formatting characters and such delights as zero-width non-joiner. Also, in
complementing the "all symbols" category, it seems to me it already permits
space, so I don't see why it calls out space again.

Randy

_______________________________________________
netmod mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/netmod

Reply via email to