Changeset 30782


Ignore:
Timestamp:
09/01/16 14:35:46 (4 years ago)
Author:
kjdon
Message:

changed the default public and system bits for doctype to transitional html 4. otherwise end up with empty values for some of the pages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/util/XMLTransformer.java

    r27617 r30782  
    271271               
    272272                if(doctype_public == null) {
    273                     doctype_public = ""; // or default to PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"?
     273                  //doctype_public = ""; // or default to PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"?
     274                  doctype_public = "-//W3C//DTD HTML 4.01 Transitional//EN";
    274275                }
    275276                if(doctype_system == null) {
    276                     doctype_system = ""; // or default to "http://www.w3.org/TR/html4/loose.dtd"?
     277                  //doctype_system = ""; // or default to "http://www.w3.org/TR/html4/loose.dtd"?
     278                  doctype_system = "http://www.w3.org/TR/html4/loose.dtd";
    277279                }
    278280
Note: See TracChangeset for help on using the changeset viewer.