XML Validation errors under Idea 4.5, but not under 3.0

This XSLT file validates the standard 2001 schema from w3 under Idea 3.0, but under Idea 4.5, I get errors from the TITLE, META, STYLE and TH elements.
Does anybody know why.

XSLT File:
-



< head> <xsl:value-of select="$title"></xsl:value-of>

0
2 comments
Avatar
Permanently deleted user

It seems that code completion will work if the resource is ignored. Not ideal, but atleast no more irritating red mars all through my code.

0
Avatar
Permanently deleted user

Hi,

Seems to be a bug, please, file JIRA issue.

brett wrote:

This XSLT file validates the standard 2001 schema from w3 under Idea 3.0, but under Idea 4.5, I get errors from the TITLE, META, STYLE and TH elements.
Does anybody know why.

XSLT File:
------------------------------------

<?xml version="1.0" ?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" elementFormDefault="unqualified" >
<xsl:output method="html" version="1.0" indent="yes" omit-xml-declaration="yes"/>
<xsl:param name="title"></xsl:param>
<xsl:template match="/">
<html>
< head>
<TITLE><xsl:value-of select="$title"/></TITLE>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=UTF-8"/>
</head>
<body>
<table cellpadding="0" cellspacing="0">
<tr >
<th colspan="20">
<xsl:value-of select="$title"/>
</th>
</tr>
</table>
</body>
</html>
</xsl:template>

</xsl:stylesheet>




--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

Please sign in to leave a comment.