DOORS NG OSLC REST API jazz_rm:primaryText encoding problem
![]() Hi all, I have a lot of artifacts in xml format which have a specific atribute called "description" that I want to insert to DOORS NG as jazz_rm:primaryText. When I GET a requirement from DOORS NG I can see that the primary text is encoded has such:
< jazz_rm:primaryText rdf:parseType="Literal">
But the description I want to insert is in text-type="text/HTML". When I try to insert the text inside the primary text the server responds with a bad encoding error. Do I have to convert the HTML to XHTML and insert inside the div tabs or is there any way of specifing that jazz_rm:primaryText will be encoded in HTML instead of xhtml?
|
One answer
![]()
Chances are your HTML source is not well-formed. Also, as far as I know, the primary text does not support all HTML/XHTML tags. So you may need to be specific what works and what does not. See here for more details about HTML vs XHTML.
http://www.w3schools.com/html/html_xhtml.asp |