mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -634,16 +634,8 @@ public class XmlHighlightingTest extends DaemonAnalyzerTestCase {
|
||||
}
|
||||
|
||||
public void testXHtmlValidation2() throws Exception {
|
||||
disableHtmlSupport();
|
||||
try {
|
||||
configureByFile(getFullRelativeTestName());
|
||||
XmlFile descriptorFile = ((XmlFile)getFile()).getRootTag().getDescriptor().getNSDescriptor().getDescriptorFile();
|
||||
assertEquals("xhtml1-transitional.xsd", descriptorFile.getVirtualFile().getName());
|
||||
doDoTest(true, true, true);
|
||||
}
|
||||
finally {
|
||||
enableHtmlSupport();
|
||||
}
|
||||
configureByFile(getFullRelativeTestName());
|
||||
doDoTest(true, true, true);
|
||||
}
|
||||
|
||||
public void testXHtmlValidation3() throws Exception {
|
||||
@@ -700,12 +692,12 @@ public class XmlHighlightingTest extends DaemonAnalyzerTestCase {
|
||||
}
|
||||
|
||||
public void testComplexSchemaValidation() throws Exception {
|
||||
disableHtmlSupport();
|
||||
// disableHtmlSupport();
|
||||
try {
|
||||
doTest(getFullRelativeTestName(), false, false);
|
||||
}
|
||||
finally {
|
||||
enableHtmlSupport();
|
||||
// enableHtmlSupport();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<xsl:template match="/page">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"/>
|
||||
<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"/>
|
||||
<link title="Esquema de cores padr?o" rel="stylesheet" type="text/css" href="stylesheets/css/default.css"/>
|
||||
</head>
|
||||
<body id="_top">
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<error>http://www.w3.org/TR/xhtml1/xhtml1-transitional.dtd</error>">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
||||
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
|
||||
<title>Untitled Document</title>
|
||||
</head>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user