From: SourceForge.net <no...@so...> - 2009-12-29 02:20:25
|
Bugs item #2912280, was opened at 2009-12-10 22:02 Message generated for change (Comment added) made by sf-robot You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=952178&aid=2912280&group_id=195122 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: scanner Group: None >Status: Closed Resolution: None Priority: 5 Private: No Submitted By: Roger Rene Kommer (kommer) Assigned to: Marc Guillemot (mguillem) Summary: Writer Filter ignores doctypeDecl Initial Comment: Because modern browser interpret html different if doctypeDecl is set, the passthrough filter should also implement doctypeDecl() method. For example: /** Doctype declaration. */ public void doctypeDecl(String root, String publicId, String systemId, Augmentations augs) throws XNIException { // <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> fPrinter.print("<!DOCTYPE " + root + " PUBLIC \"" + publicId + "\" \"" + systemId + "\">"); } // doctypeDecl(String,String,String,Augmentations) ---------------------------------------------------------------------- >Comment By: SourceForge Robot (sf-robot) Date: 2009-12-29 02:20 Message: This Tracker item was closed automatically by the system. It was previously set to a Pending status, and the original submitter did not respond within 14 days (the time period specified by the administrator of this Tracker). ---------------------------------------------------------------------- Comment By: Marc Guillemot (mguillem) Date: 2009-12-14 18:51 Message: In which class are you missing this method? DefaultFilter has already it. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=952178&aid=2912280&group_id=195122 |