Opened 15 years ago

Closed 15 years ago

#464 closed defect (fixed)

RemoveContentBeforeRootElementXMLReader changes

Reported by: ak19 Owned by: oranfry
Priority: moderate Milestone: Next Release (2 or 3)
Component: GLI Severity: major
Keywords: Cc:

Description needs to identify the start of xml as follows:

  1. either the xml declaration <?xml... (the java class already handles this case)
  2. DTD
  3. Start of any root element (no space between left bracket and root element name): <something

This is because in several cases, the XML generated by Greenstone does not start with the xml declaration.

Change History (2)

comment:1 by oranfry, 15 years ago

Status: newassigned

Fixed. Achieved by a radical overhauling of the code for the class, to handle the increased complexity of the problem - so keep an eye out for other bugs. Closing this ticket for now.

comment:2 by oranfry, 15 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.