Ticket #464 (closed defect: fixed)

Opened 10 years ago

Last modified 10 years ago

RemoveContentBeforeRootElementXMLReader changes

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

Description

RemoveContentBeforeRootElementXMLReader.java 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

Changed 10 years ago by oranfry

  • status changed from new to assigned

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.

Changed 10 years ago by oranfry

  • status changed from assigned to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.