Uploaded image for project: 'yangtools'
  1. yangtools
  2. YANGTOOLS-1110

Issue a warning when an identityref is not a QName

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Medium Medium
    • 5.0.3, 4.0.10
    • None
    • codecs
    • None

      XML codec at least is falling back to using Object.toString() when in encounters an object different to QName in an identityref leaf.

      Such data is a violation of NormalizedNode contract and should be warned about. Add the corresponding logic to print out a stack trace once for every type violating this.

            rovarga Robert Varga
            rovarga Robert Varga
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: