 |
 |
 |
Need your help for an issue in Castor VO-XML Mapping file
I am trying to Map VO-XML for the following root tag in XML mapping file
<xtvd from="2005-09-23T06:40:20Z" to="2005-09-24T06:40:20Z"
xmlns="urn:TMSWebServices"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:TMSWebServices E:\VISDP\epgtests\tmsxtvd.xsd"
schemaVersion="1.3">
And I am getting the following error...I tried with ns-uri, ns-prefix,
QName-prefix attributes in <bind-xml> tag, but was not successful....any
help from the team....
org.xml.sax.SAXException: The namespace associated with the prefix: 'xmlns'
is null.
at
org.exolab.castor.xml.UnmarshalHandler.resolveNamespace(UnmarshalHandler.jav
a:3012)
at
org.exolab.castor.xml.UnmarshalHandler.processAttribute(UnmarshalHandler.jav
a:2775)
at
org.exolab.castor.xml.UnmarshalHandler.processAttributes(UnmarshalHandler.ja
va:2479)
at
org.exolab.castor.xml.UnmarshalHandler.startElement(UnmarshalHandler.java:21
47)
at
org.exolab.castor.xml.UnmarshalHandler.startElement(UnmarshalHandler.java:12
92)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown
Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unkno
wn Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc
her.dispatch(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:605)
at org.exolab.castor.mapping.Mapping.loadMappingInternal(Mapping.java:532)
at org.exolab.castor.mapping.Mapping.loadMappingInternal(Mapping.java:480)
at org.exolab.castor.mapping.Mapping.loadMapping(Mapping.java:407)
Thanks
|
 | 

|  |
These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.
|  |
| |
 |
 |
 |