"The reference to entity "etag" must end with the ';' delimiter error" while doing OSLC workshop example 3 and 4?
Hello All,
I am currently doing OSLC workshop and using clm server 6.X version. but facing some issue while running example 3 and 4 from workshop. I am getting below error:
Apr 26, 2017 5:00:28 PM org.apache.http.client.protocol.ResponseProcessCookies processCookies
WARNING: Invalid cookie header: "Set-Cookie: WASReqURL=""; Expires=Thu, 01 Dec 1994 16:00:00 GMT; Path=/; Secure; HttpOnly". Unable to parse expires attribute: Thu, 01 Dec 1994 16:00:00 GMT
[Fatal Error] :17:78: The reference to entity "etag" must end with the ';' delimiter.
org.xml.sax.SAXParseException; lineNumber: 17; columnNumber: 78; The reference to entity "etag" must end with the ';' delimiter.
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at com.sun.org.apache.xpath.internal.jaxp.XPathImpl.evaluate(Unknown Source)
at net.jazz.oslc.consumer.examples.Example03.main(Example03.java:104)
--------------- linked to ------------------
javax.xml.xpath.XPathExpressionException: org.xml.sax.SAXParseException; lineNumber: 17; columnNumber: 78; The reference to entity "etag" must end with the ';' delimiter.
at com.sun.org.apache.xpath.internal.jaxp.XPathImpl.evaluate(Unknown Source)
at net.jazz.oslc.consumer.examples.Example03.main(Example03.java:104)
Caused by: org.xml.sax.SAXParseException; lineNumber: 17; columnNumber: 78; The reference to entity "etag" must end with the ';' delimiter.
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
... 2 more
I also refereed the :https://jazz.net/library/article/477 and https://jazz.net/library/article/635 for Upgraded workshop link and download latest workshop.zip. Please guide me on above error.
One answer
This obscure error message usually means an authentication issue. When using the OSLC API with incorrect credentials, the HTTP response contains the HTML login page for RQM. When paring this HTML response as XML, the XML processor usually complains about the form of that etag element. Please check your username and password.