Issue a warning when we encounter a non-QName identityref 51/90251/5
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 4 Jun 2020 11:22:27 +0000 (13:22 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 4 Jun 2020 12:21:37 +0000 (14:21 +0200)
commit5bc26d07dce3555aa57af39c45d3c1812794f05f
tree299c741dc18af3710ded287da08e9cbbdfb2ea76
parent7176c6b8f99f4d434634ae941a34c69397f253c1
Issue a warning when we encounter a non-QName identityref

identityref types are required to be normalized as a QName, but we
have a legacy fallback to using .toString(). Issue an explicit
warning when this happens.

JIRA: YANGTOOLS-1110
Change-Id: Ia9cfc824e03d7641c7081f479f7a4d6c7c98062c
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
yang/yang-data-codec-xml/src/main/java/org/opendaylight/yangtools/yang/data/codec/xml/XMLStreamWriterUtils.java