Fix for bug 6518. The XML DTD now always gets used when the content type is text/xml.

git-svn-id: svn://10.0.0.236/trunk@33551 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
nisheeth%netscape.com
1999-06-03 19:09:28 +00:00
parent 745560561e
commit 45ad1c7cb1
2 changed files with 2 additions and 2 deletions

View File

@@ -181,7 +181,7 @@ eAutoDetectResult CWellFormedDTD::CanParse(nsString& aContentType, nsString& aCo
if(aContentType.Equals(kXMLTextContentType) ||
aContentType.Equals(kRDFTextContentType) ||
aContentType.Equals(kXULTextContentType)) {
result=eValidDetect;
result=ePrimaryDetect;
}
else {
if(-1<aBuffer.Find("<?xml ")) {