Could you tell use exactly how to set up the env beyond
what's in setenv... guessed right once, but then got a
different problem. Thanks, Carolyn
(Working on project at TU Wien)
Harmonize does not work on 2 out 3 PCs installed for
dnorm_xml2rdf ... think it is environment. The PC where
it works has a number of programs installed not on the
other 2 PCs. (This is after setenv.bat is run, of course)
1. Get SAX driver not found error, but have work-around:
with java -D ...
Dorg.xml.sax.driver=org.apache.xerces.parsers.SAXParser
Don't understand why needed since its in the jar.
Code doesn't set driver?
2. Then get new problem... since this xml/xsd and
output from cnorm work on 1 PC ... don't believe the
error message... but haven't found a work-around
Tried -D with dom parser.. but may have chosen the
wrong one or might need more.
XSL-1008: (Error) Namespace prefix 'rdf' used but not
declared.
XSL-1008: (Error) Namespace prefix 'dn' used but not
declared.
Logged In: NO
java version "1.4.2_01"
D:\DBAI\Harmonise\normkit>java it.itc.ectrl.normkit.normrun
dnorm_xml2rdf file:/
d:/DBAI/Harmonise/normkit/ULAN2.output.xml
file:/d:/DBAI/Harmonise/normkit/ULAN2
.rdf file:/d:/DBAI/Harmonise/normkit/ULAN2.rdfs
file:/d:/DBAI/Harmonise/normkit/
ULAN2.normmap
it.itc.ectrl.normkit.common.NormalisationException: Exception
while initializing
XSLT transformation.
at
it.itc.ectrl.normkit.dnorm_xml2rdf.impl.D_Normalisation_XML2RD
FImpl.i
nitialize(D_Normalisation_XML2RDFImpl.java:209)
at
it.itc.ectrl.normkit.dnorm_xml2rdf.impl.D_Normalisation_XML2RD
FImpl.<
init>(D_Normalisation_XML2RDFImpl.java:136)
at
it.itc.ectrl.normkit.dnorm_xml2rdf.api.D_Normalisation_XML2RDF
Factory
.createD_Normalisation_XML2RDF
(D_Normalisation_XML2RDFFactory.java:20)
at it.itc.ectrl.normkit.normrun.main(normrun.java:49)
Caused by: org.xml.sax.SAXException: System property
org.xml.sax.driver not spec
ified
at
org.xml.sax.helpers.XMLReaderFactory.createXMLReader
(Unknown Source)
at
it.itc.ectrl.normkit.dnorm_xml2rdf.impl.D_Normalisation_XML2RD
FImpl.i
nitialize(D_Normalisation_XML2RDFImpl.java:183)
... 3 more