Project

General

Profile

Actions

Bug #5291

closed

Need update xerces jar file

Added by Jing Tao almost 14 years ago. Updated about 13 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
metacat
Target version:
Start date:
02/03/2011
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
5291

Description

xcerces 2.7 complains that the sensorML schema is invalid. However, xmlSpy and oxygen don't.

I tried to use xerces 2.11 in metacat and the complain had gone.

Actions #1

Updated by Jing Tao almost 14 years ago

Here are what i did:
1) Removed the following files:
tao@pacific:~/project/metacat$ rm ./lib/spatial/geoserver/WEB-INF/lib/xml-apis-ext-1.3.04.jar
tao@pacific:~/project/metacat$ rm ./lib/spatial/geoserver/WEB-INF/lib/xml-apis-xerces-2.7.1.jar
tao@pacific:~/project/metacat$ rm ./lib/spatial/geoserver/WEB-INF/lib/xml-apis-1.3.04.jar
tao@pacific:~/project/metacat$ rm ./lib/ajax/lib/xml-apis.jar
tao@pacific:~/project/metacat$ rm ./lib/xml-apis.jar
tao@pacific:~/project/metacat$ rm ./lib/xercesImpl-2.7.1.jar

2) Added the following files to metacat/lib:
xercesImpl.-2.11.0.jar, xml-apis-xerces-2.11.0.jar, serializer-xerces-2.11.0.jar, resolver-xerces-2.11.0.jar

After doing those, the new installed Metacat lib only has one xml-apis jar file - xml-apis-xerces-2.11.0.jar.

I ran the ant test against the new Metacat and got the results:
Test edu.ucsb.nceas.metacat.dataone.CrudServiceTest FAILED
Test edu.ucsb.nceas.metacat.dataone.MetadataTypeRegisterTest FAILED
Test edu.ucsb.nceas.metacattest.restservice.MetacatRestClientTest FAILED
Test edu.ucsb.nceas.metacattest.InternationalizationTest FAILED
Test edu.ucsb.nceas.metacattest.NonAsciiCharacterTest FAILED
Test edu.ucsb.nceas.metacattest.MetaCatServletTest FAILED (still about pisco ldap referral).

So the updating doesn't introduce any additional failure.

I also inserted an eml document with embedded sensorML into metacat. I worked.

Actions #2

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 5291

Actions

Also available in: Atom PDF