Opened 14 years ago
Closed 14 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
RemoveContentBeforeRootElementXMLReader.java needs to identify the start of xml as follows:
- either the xml declaration <?xml... (the java class already handles this case)
- DTD
- 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 , 14 years ago
Status: | new → assigned |
---|
comment:2 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
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.