oracle.xml.parser.v2.XMLParseException: Element not completed
697722Apr 22 2009 — edited Apr 27 2009Do anyone get any idea about this...?
xml:
<LatestVehCross>
<UNIQ_BUNDLE_NO>100</UNIQ_BUNDLE_NO>
</LatestVehCross>
schema:
<?xml version = '1.0' encoding = 'UTF-8'?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="LatestVehCross" type="LatestVehCrossType"/>
<xsd:element name="UNIQ_BUNDLE_NO" type="xsd:string"/>
<xsd:complexType name="LatestVehCrossType">
<xsd:sequence>
<xsd:element ref="UNIQ_BUNDLE_NO" minOccurs="1" maxOccurs="1"/>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
Error when call xmlElement.validateContent(schemaDoc):
oracle.xml.parser.v2.XMLParseException: Element not completed: 'LatestVehCross'
at oracle.xml.parser.v2.XMLError.flushErrors(XMLError.java:146)
at oracle.xml.parser.v2.XMLElement.validateContent(XMLElement.java:1069)
at oracle.xml.parser.v2.XMLElement.validateContent(XMLElement.java:1039)
at lbs.webservice.rocars.to.lbs.enqlatestvc.request.serviceimpl.EnqLatestVehCrossServiceImpl.checkParameters(EnqLatestVehCrossServiceImpl.java:185)
at lbs.webservice.framework.interfaces.serviceimpl.BaseServiceImpl.call(BaseServiceImpl.java:93)
at lbs.webservice.rocars.to.lbs.enqlatestvc.request.serviceimpl.EnqLatestVehCrossServiceImpl.main(EnqLatestVehCrossServiceImpl.java:451)
[ERROR][2009-04-21 17:49:31,762][main]: (IFErrorHandler.java:processError:53)
Element not completed: 'LatestVehCross'
java.lang.RuntimeException: Element not completed: 'LatestVehCross'
at lbs.webservice.framework.interfaces.serviceimpl.BaseServiceImpl.call(BaseServiceImpl.java:111)
at lbs.webservice.rocars.to.lbs.enqlatestvc.request.serviceimpl.EnqLatestVehCrossServiceImpl.main(EnqLatestVehCrossServiceImpl.java:451)