Opened 7 years ago
Closed 7 years ago
#1646 closed defect (fixed)
Petascope don't throw exception from SECORE when it shoud not
Reported by: | Bang Pham Huu | Owned by: | Bang Pham Huu |
---|---|---|---|
Priority: | major | Milestone: | 9.5 |
Component: | petascope | Version: | development |
Keywords: | Cc: | Dimitar Misev, Vlad Merticariu | |
Complexity: | Medium |
Description
For example when it tries to request to resolve an UOM href to SECORE and the result is not in XML, then it can ignore it instead of throw exception
DEBUG [11:10:19] CrsUtil@545: Error while building the document from URL 'http://www.opengis.net/def/uom/UCUM/0/d' petascope.exceptions.PetascopeException: Error while building XML document 'null'. error 'White spaces are required between publicId and systemId.', line '2', column '49'. at petascope.util.XMLUtil.buildDocument(XMLUtil.java:283) at petascope.util.CrsUtil.crsDefUrlToDocument(CrsUtil.java:542) at petascope.util.CrsUtil.crsDefUrlToXml(CrsUtil.java:485) at petascope.util.CrsUtil.getCrsDefinition(CrsUtil.java:371) at org.rasdaman.migration.domain.legacy.LegacyDbMetadataSource.read(LegacyDbMetadataSource.java:996) at org.rasdaman.migration.domain.legacy.LegacyWcs
Note:
See TracTickets
for help on using tickets.