Project

General

Profile

Bug #5291

Need update xerces jar file

Added by Jing Tao almost 9 years ago. Updated about 8 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.

History

#1 Updated by Jing Tao almost 9 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.

#2 Updated by Redmine Admin over 6 years ago

Original Bugzilla ID was 5291

Also available in: Atom PDF