I'm trying to register XSD for XML validation.
Following IBM documentation from STRSQL I am using SYSPROC / XSR_REGISTER (commitment control is set to *CHG), xsd file has CCSID 1208.
CALL SYSPROC/XSR_REGISTER ('MYLIB', 'TEST_XSR', 'test.xsd', GET_XML_FILE('/home/test.xsd'), null)
next I try
CALL SYSPROC/XSR_COMPLETE('MYLIB', 'TEST_XSR', null, 0)
and
Allways I receive error: Java stored... QSQXLXPCM aborted with exception "errInfo->message". It means ... nothing. Nothing special also in joblog.
Questions:
1. Do I need use XSR_ADDSCHEMADOC if I have deinition in XSD like xmlns:xs="http://www.w3.oorg/2001/XMLSchema"? iSeries does not have access to the open internet!!
2. Do you know a place where I can find more detailed information about errors?
3. Any idea why above error apears?
Following IBM documentation from STRSQL I am using SYSPROC / XSR_REGISTER (commitment control is set to *CHG), xsd file has CCSID 1208.
CALL SYSPROC/XSR_REGISTER ('MYLIB', 'TEST_XSR', 'test.xsd', GET_XML_FILE('/home/test.xsd'), null)
next I try
CALL SYSPROC/XSR_COMPLETE('MYLIB', 'TEST_XSR', null, 0)
and
Allways I receive error: Java stored... QSQXLXPCM aborted with exception "errInfo->message". It means ... nothing. Nothing special also in joblog.
Questions:
1. Do I need use XSR_ADDSCHEMADOC if I have deinition in XSD like xmlns:xs="http://www.w3.oorg/2001/XMLSchema"? iSeries does not have access to the open internet!!
2. Do you know a place where I can find more detailed information about errors?
3. Any idea why above error apears?