XML Xpath issue
Posted: Tue Feb 14, 2012 11:46 pm
Hi,
I have the following xml file.
<?xml version="1.0" encoding="utf-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header>
<ns2:MessageHeader xmlns="http://csi.cingular.com/CSI/Namespaces/ ... aModel.xsd"
xmlns:ns2="http://csi.cingular.com/CSI/Namespaces/ ... Header.xsd">
<ns2:TrackingMessageHeader>
<version>v52</version>
<messageId>4034</messageId>
</ns2:TrackingMessageHeader>
</ns2:MessageHeader>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<InquireWirelineServiceMaintenanceDetailsRequest xmlns="http://csi.cingular.com/CSI/Namespaces/ ... equest.xsd" xmlns:ns2="http://csi.cingular.com/CSI/Namespaces/ ... aModel.xsd">
<ServiceIdentifier>
<ns2:telephoneNumber>7155778246</ns2:telephoneNumber>
</ServiceIdentifier>
<attribute>UNBUNDLED_NETWORK_ELEMENT_ID</attribute>
</InquireWirelineServiceMaintenanceDetailsRequest>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
When i am importing the table definition of the above xml file,the elements are getting xpath with '???' in place of namespace prefix.
For example,for element Version,Xpath is
/SOAP-ENV:Envelope/SOAP-ENV:Header/???:MessageHeader/???:TrackingMessageHeader/ns1:version/text()So,my job is getting aborted with the error
"Unexpected termination by unix signal 11(SIGSEGV)".[/b]
I have the following xml file.
<?xml version="1.0" encoding="utf-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header>
<ns2:MessageHeader xmlns="http://csi.cingular.com/CSI/Namespaces/ ... aModel.xsd"
xmlns:ns2="http://csi.cingular.com/CSI/Namespaces/ ... Header.xsd">
<ns2:TrackingMessageHeader>
<version>v52</version>
<messageId>4034</messageId>
</ns2:TrackingMessageHeader>
</ns2:MessageHeader>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<InquireWirelineServiceMaintenanceDetailsRequest xmlns="http://csi.cingular.com/CSI/Namespaces/ ... equest.xsd" xmlns:ns2="http://csi.cingular.com/CSI/Namespaces/ ... aModel.xsd">
<ServiceIdentifier>
<ns2:telephoneNumber>7155778246</ns2:telephoneNumber>
</ServiceIdentifier>
<attribute>UNBUNDLED_NETWORK_ELEMENT_ID</attribute>
</InquireWirelineServiceMaintenanceDetailsRequest>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
When i am importing the table definition of the above xml file,the elements are getting xpath with '???' in place of namespace prefix.
For example,for element Version,Xpath is
/SOAP-ENV:Envelope/SOAP-ENV:Header/???:MessageHeader/???:TrackingMessageHeader/ns1:version/text()So,my job is getting aborted with the error
"Unexpected termination by unix signal 11(SIGSEGV)".[/b]