oracle.ide.xml
Class XMLRecognizer.Doctype

Two Doctype instances are considered equal if their public IDs match, regardless of what the system IDs are. However, when comparing two Doctype instances, if either one has a null public ID, then the system ID is used to determine equality. This has the effect of giving the public ID higher authoritative priority when it comes to identifying a document type; this approach is consistent with the intended use of the public ID.