Changeset 30782

Show
Ignore:
Timestamp:
01.09.2016 14:35:46 (3 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

Files:
1 modified

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