FHIR Chat · Client-side XHTML validation · hapi

Stream: hapi

Topic: Client-side XHTML validation


view this post on Zulip John Grimes (Feb 02 2019 at 23:18):

Is there a way to turn off the validation of the XHTML narrative that occurs when the HAPI client gets a response to a request?

I am getting caught up on minor problems within narratives within entries in a search result bundle, e.g. use of an undeclared entity reference.

view this post on Zulip John Grimes (Feb 04 2019 at 22:07):

I worked out how to fix this problem after reading this: http://hapifhir.io/download.html#_toc_stax__woodstox

It turns out that it had defaulted to using some Java 8 StAX implementation, rather than Woodstox. Upon adding the Woodstox dependency and setting the Java system properties, parsing no longer errors out on HTML entities within narratives.


Last updated: Apr 12 2022 at 19:14 UTC