Opened 16 years ago

Last modified 14 years ago

#755 closed defect

minixml - can't read complex DOCTYPE elements — at Version 4

Reported by: warmerdam Owned by: Mateusz Łoskot
Priority: normal Milestone: 1.4.2
Component: default Version: unspecified
Severity: normal Keywords:

Description (last modified by warmerdam)

cpl_minixml.cpp is unable to consume the attached document with a complex
DOCTYPE declaration that looks like this:

<?xml version="1.0" encoding="ISO-8859-1"?>
 <!-- vendor-specific elements defined here -->
 <!ELEMENT VendorSpecificCapabilities (CubeSERV?)>
 <!ELEMENT CubeSERV (Extract?, MultibandLayers?)>
 <!ELEMENT Extract (ExtractableLayers, ArchiveFormats, DCPType+)>
 <!ELEMENT ExtractableLayers (ExtractableLayer*)>
 <!ELEMENT ExtractableLayer (ExtractFormat+)>
 <!ATTLIST ExtractableLayer name CDATA #REQUIRED>
 <!ELEMENT ExtractFormat EMPTY>
 <!ATTLIST ExtractFormat name CDATA #REQUIRED>
 <!ELEMENT ArchiveFormats (ArchiveFormat+)>
 <!ELEMENT ArchiveFormat EMPTY>
 <!ATTLIST ArchiveFormat name CDATA #REQUIRED>
 <!ELEMENT MultibandLayers (MultibandLayer*)>
 <!ELEMENT MultibandLayer EMPTY>
 <!ATTLIST MultibandLayer name CDATA #REQUIRED numOfChannels CDATA #REQUIRED>

Change History (2)

Changed 16 years ago by warmerdam

Attachment: cubeserv.cgi added

Problem XML document (Cubeserv capabilities)

comment:4 Changed 14 years ago by warmerdam

Description: modified (diff)
Milestone: 1.4.2
Owner: changed from warmerdam to Mateusz Łoskot
Priority: highnormal


I'd appreciate your reviewing this to see if it is still a problem. I think it has already been fixed.

Note: See TracTickets for help on using tickets.