[ 
https://issues.apache.org/jira/browse/GUACAMOLE-367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16133606#comment-16133606
 ] 

Michael Jumper commented on GUACAMOLE-367:
------------------------------------------

{quote}
app missing closing tag on the following element:

{code:html}
<link rel="stylesheet" type="text/css" href="app.css?v=0.9.13-incubating">
{code}
{quote}

The end tag is not missing here, as the {{<link>}} tag in HTML5 is 
self-closing. The end tag is intentionally omitted. See:

https://www.w3.org/TR/html5/document-metadata.html#the-link-element

{quote}
{code:none}
[http-nio-8080-exec-164] ERROR org.jasig.cas.client.util.XmlUtils - The element 
type "link" must be terminated by the matching end-tag "</link>".
{code}
{quote}

This is odd. Assuming that this is due to the HTML not having an end tag for 
each {{<link>}}, it doesn't make sense that the HTML would be being sent 
through an XML validator at the Java side. The HTML is not XML, nor does the 
server side of the webapp need to parse its own client-side content. Only the 
browser need parse that.

Could your CAS server perhaps be set up incorrectly, responding with HTML from 
an endpoint which CAS expects to respond with XML?


> Missing self closing tag in Link element
> ----------------------------------------
>
>                 Key: GUACAMOLE-367
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-367
>             Project: Guacamole
>          Issue Type: Bug
>          Components: guacamole-client
>    Affects Versions: 0.9.13-incubating
>         Environment: Ubuntu 16.04
> Tomcat 8
>            Reporter: Kevin Chan
>            Priority: Trivial
>
> Java error:
> {code:none}
> [http-nio-8080-exec-164] ERROR org.jasig.cas.client.util.XmlUtils - The 
> element type "link" must be terminated by the matching end-tag "</link>".
> {code}
> app missing closing tag on the following element:
> {code:html}
> <link rel="stylesheet" type="text/css" href="app.css?v=0.9.13-incubating">
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to