Remove the obsolete concept of "DTD verification". bug 323958, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@188516 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -98,7 +98,7 @@ nsresult ParseData(char* anInputStream,char* anOutputStream) {
|
||||
|
||||
sink->SetOutputStream(out);
|
||||
parser->SetContentSink(sink);
|
||||
result = parser->Parse(stream, 0, NS_LITERAL_CSTRING("text/html"), PR_FALSE, PR_TRUE);
|
||||
result = parser->Parse(stream, 0, NS_LITERAL_CSTRING("text/html"), PR_TRUE);
|
||||
|
||||
PR_Close(in);
|
||||
PR_Close(out);
|
||||
|
||||
@@ -101,7 +101,7 @@ nsresult GenerateBaselineFile(const char* aSourceFilename,const char* aBaselineF
|
||||
// Parse the document, having the sink write the data to fp
|
||||
parser->SetContentSink(sink);
|
||||
|
||||
rv = parser->Parse(inputURI, 0, PR_FALSE, 0, eDTDMode_unknown);
|
||||
rv = parser->Parse(inputURI, 0, PR_FALSE, eDTDMode_unknown);
|
||||
|
||||
return rv;
|
||||
}
|
||||
|
||||
@@ -175,7 +175,7 @@ HTML2text(nsString& inString, nsString& inType, nsString& outType,
|
||||
return NS_ERROR_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
rv = parser->Parse(inString, 0, NS_LossyConvertUCS2toASCII(inType), PR_FALSE, PR_TRUE);
|
||||
rv = parser->Parse(inString, 0, NS_LossyConvertUCS2toASCII(inType), PR_TRUE);
|
||||
if (NS_FAILED(rv))
|
||||
{
|
||||
printf("Parse() failed! 0x%x\n", rv);
|
||||
|
||||
Reference in New Issue
Block a user