Skip to content

Invalid XML response from .well-known/host-meta? #22

@ianbarrere

Description

@ianbarrere

Hello,

It seems like the XML response gotten from .well-known/host-meta is not valid:

root@33706a7cae8e:/# curl -u admin:admin -H 'Accept: application/yang-data+json' http://192.168.0.3:80/.well-known/host-meta
<XRD xmlns='http://docs.oasis-open.org/ns/xri/xrd-1.0'><Link rel='restconf' href='/restconf/'></XRD>root@33706a7cae8e:/#

This is:

<XRD xmlns='http://docs.oasis-open.org/ns/xri/xrd-1.0'>
  <Link rel='restconf' href='/restconf/'>
</XRD>

It seems to be missing the closing / in the Link tag, and would be valid if it was:

<XRD xmlns='http://docs.oasis-open.org/ns/xri/xrd-1.0'>
  <Link rel='restconf' href='/restconf/'/>
</XRD>

Let me know if I'm missing something.

Thanks,
Ian

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions