XML parsing performance improvement

Wisemen,
I am getting XML in the format below
<Model index="32769">
<XmlTagA>XCVT_CARD</XmlTagA>
<XmlTagB>E_MODULE</XmlTagB>
<XmlTagC>
<XmlTagD>SAG04483FDV</XmlTagD>
</XmlTagC>
<XmlTagE>true</XmlTagE>
</Model>
The end goal is to get
AttrA = XCVT_CARD
AttrB = E_MODULE
AttrC = SAG04483FDV
AttrD = true
So currently I use DefaultMutableTreeNode(MyObj myobj) where I define
MyObj contains
int nodeIndex
int parentIndex
String AttrX;
String XmlTagX;
so my DefaultMutableTreeNode consists of MyObj's which have the incoming XML hirerchy pre-defined.
Thus, at RunTime when I get a XML I go through me DefaultMutableTreeNode elements one by one level and try to match
myObj.XmlTagX == InComingXml.tagName
if so then I can get my AttrX = IncomingXml.Value
My question is that is there any util on the web that can do the same this; i.e convert Incoming XML into userdefined NameValue Pairs or is there any better way of doing this ?
thanx
-WiseGuy

what are you talking about? binding XML files to class attributes?
why do you use a tree node hierarchy? never heard about DOM?

Similar Messages

  • XML parser performance

    Hello,
    I was wondering if anybody had any experience in regards to the relative performance (i.e., speed) of the different Java XML parsers out there. Specifically,
    javax.xml.parsers.DocumentBuilder.parse() vs. any others.
    My goal is to reduce the amount of time needed to parse ~1000 XML files (avg size 3kb) and I have done some tests that lead me to conclude that the rate-limiting step is not the file i/o (surprisingly).
    Is there any particular XML parser that people favor?
    Thanks,
    ckl

    I have created a parser with interesting performance result with
    files < 100 Ko at http://www.japisoft.com/fastparser
    Regards,
    A.Brillant

  • WebLogic's High-Performance XML parser

    I understand that 6.1's high performance XML parser is the replacement of 6.0's
    custom generated parser. Per the documentation, I need to set SAXParserFactory
    to weblogic.xml.babel.jaxp.SAXParserFactoryImpl, but I couldn't find weblogic/xml/babel/jaxp/SAXParserFactoryImpl
    in either weblogic.jar or xmlx.jar. There are bunch of weblogicx/xml/babel/* in
    xmlx.jar.
    When I call JAXP code, I got this error:
    javax.xml.parsers.FactoryConfigurationError: Failed to find SAXParserFactory.
    weblogic.xml.babel.jaxp.SAXParserFactoryImpl
    javax.xml.parsers.FactoryConfigurationError: Failed to find SAXParserFactory.
    weblogic.xml.babel.jaxp.SAXParserFactoryImpl
    Am I missing something, or the 6.1 beta download forget to include the *.babel.jaxp.*
    stuff?
    Jim Zhou.

    Jim,
    Please don't use System.setProperty() in any server code. This was intended
    as an example only. I think the XMLReaderFactory is not specified in
    JAXP1.1.
    Thanks,
    Chris
    "Chris Fry" <[email protected]> wrote in message
    news:[email protected]...
    Jim,
    Here is a code fragment to acess the parser:
    System.setProperty("javax.xml.parsers.SAXParserFactory","weblogic.xml.babel.
    jaxp.SAXParserFactoryImpl");
    SAXParserFactory factory = SAXParserFactory.newInstance();
    SAXParser parser = factory.newSAXParser();
    parser.parse("yourfile.xml",defaultHandler);
    "Jim Zhou" <[email protected]> wrote in message
    news:[email protected]...
    I just found out that XML Registry setting on SAXParserFactory does notapply to
    XMLReaderFactory() and XMLReader:
    XMLReader parser = XMLReaderFactory.createXMLReader();
    I have to use SAXParserFactory to get High Performance Parser kicked in:
    SAXParserFactory factory = SAXParserFactory.newInstance();
    SAXParser parser = factory.newSAXParser();
    Is this the right behavior? Thanks for the help.
    Jim Zhou.
    "Jim Zhou" <[email protected]> wrote:
    Chris,
    Thanks for the reply. It still doesn't work. I think the problem is
    that weblogic.jar
    and xmlx.jar both does not have eihter
    "weblogicx.xml.babel.jaxp.SAXParserFactoryImpl"
    or "weblogic.xml.babel.jaxp.SAXParserFactoryImpl". So the current Beta
    download
    forgot to include the above classes. I might try download Beta again
    to see if
    any difference.
    Regards,
    Jim Zhou.
    "Chris Fry" <[email protected]> wrote:
    Jim,
    This is a mismatch between our beta and the final place that the
    parser
    will
    live in the release, you should be able to get the parser by setting
    the
    SAXParserFactory to weblogicx.xml.babel.jaxp.SAXParserFactoryImpl (it
    will
    be weblogic.xml.babel.jaxp.SAXParserFactoryImpl in the final release).
    A couple notes:
    The parser only handles standalone documents, with no entityreferences
    and
    is optimized for small to midsize documents (IE soap and wsdl type
    documents).
    Pleas let me know if you can get it to work.
    Chris
    "Jim Zhou" <[email protected]> wrote in message
    news:[email protected]...
    I understand that 6.1's high performance XML parser is the
    replacement
    of
    6.0's
    custom generated parser. Per the documentation, I need to setSAXParserFactory
    to weblogic.xml.babel.jaxp.SAXParserFactoryImpl, but I couldn't findweblogic/xml/babel/jaxp/SAXParserFactoryImpl
    in either weblogic.jar or xmlx.jar. There are bunch ofweblogicx/xml/babel/* in
    xmlx.jar.
    When I call JAXP code, I got this error:
    javax.xml.parsers.FactoryConfigurationError: Failed to findSAXParserFactory.
    weblogic.xml.babel.jaxp.SAXParserFactoryImpl
    javax.xml.parsers.FactoryConfigurationError: Failed to findSAXParserFactory.
    weblogic.xml.babel.jaxp.SAXParserFactoryImpl
    Am I missing something, or the 6.1 beta download forget to includethe
    *.babel.jaxp.*
    stuff?
    Jim Zhou.

  • Which XML Parser gives best performance? Please respond!!

    Hi,
    I am trying to figure out what is the best performing XML parser. I know that SAX implementation is good for XML reading and DOM is good when building XML documents.
    Now, I want to know which parser (JAXP? JDOM? Piccolo?) I understand that JAXP underneath uses Xerces and SAX2. Is it right?
    Is it a good practice to have a single application using a SAX parser for reading xml docs and a DOM parser to build xml parser?
    We are also planning to migrate from Apache Soap to Apache Axis. Do you have any recommendations?

    I think JAXP is an API, not a parser. It uses an underlying parser called Crimson by default. If you want it to use other parsers you can configure it to do so. I can't tell you which parser is more fastest.
    The easiest way of reading and writing XML documents is to use an XML data binding library such as JAXB or castor. It's much nicer than implementing the SAX callback methods or building document trees. The steps involve are...
    1. Write an XML Schema
    2. Tell the XML data binding tool to generate the source code to marshall / unmarshall XML documents to and from java objects
    3. Compile the source code
    4. Package the classes into a library
    5. Use the library in your application
    Steps 2-4 can be added into your build script.
    It may take you a couple of days to become familiar with the tools, but will save you weeks of maintenance & debugging.

  • ANN: XML Parser for Java v2.0.2.6

    The v2.0.2.6 of the XML Parser for Java is now available for download. The following features and bug fixes are included:
    Changes:
    Conformance to the XSLT/XPATH October REC.
    New API in XSLStylesheet class:
    removeParam(String param)
    resetParams()
    Bug fixes:
    Bug #1111423: OutOfMemory exception, if multiple calls made to document()
    Bug #1101028: Unexpected character error in DTD parsing document using Docbook DTD
    Bug #1101021: #default not supported in exclude-result-prefixes
    Bug #1099830: Extra characters inserted into output using the XML Parser
    Bug #1099663: HTML output does not allow only doctype-public to be specified
    Bug #1099536: HTML output does not disable escaping for script, style unless lowercase
    Bug #1098738: ArrayOutOfBoundsException xsl:if test="not(@a)'"
    Bug #1095047: XSLProcessor NPE'S on named templates with non-empty namespaces
    Bug #1094971: XSLStylesheet needs methods for removing parameters
    Bug #1092351: Using valueof() shuffles order of elements in my source document
    Bug #1086663: xsl:sort data-type attribute can now be a namespace-prefixed name
    Bug #1086661: xsl:version attribute now required on literal result element
    Bug #1064692: Default xml-serialization should use empty-element syntax
    Bug #1064689: Current() function doesn't work correctly
    This is the sixth production patch release for v2.
    Oracle XML Team http://technet.oracle.com
    Oracle Technology Network
    null

    The link has been fixed. You will go to the v2 download page
    now. Sorry for the inconvience.
    Oracle XML Team
    http://technet.oracle.com
    Oracle Technology Network
    Renilton Oliveira (guest) wrote:
    : I didn't find the file for version 2.0.0.0 as well.
    : Renilton
    : Andrei Filimonov (guest) wrote:
    : : I tried to download XML Parser for Java v2 it seems that
    only
    : v
    : : 1.0.1.4 is available. Could you please give an exact URL for
    : v2
    : : download?
    : : Andrei Filimonov
    : : Oracle XML Team wrote:
    : : : The Oracle XML v2 parser is now available for download
    here
    : as
    : : : an early beta release and is written in Java. It features
    : an
    : : : improved architecture over the Oracle XML v1 parser and
    has
    : : : shown better performance on small to large XML documents.
    : It
    : : : will also be able to format the XML document according to
    a
    : : : stylesheet, having integrated an XSLT processor.
    : : : Version 2 of the XML Parser for Java, besides
    incorporating
    : an
    : : : XSLT processor, has been re-architected from version 1.
    This
    : : has
    : : : resulted in a number of changes to the class names
    : especially
    : : : those that support Namespaces. See v2changes.txt and
    : the .diff
    : : : difference files in the sample directory.
    : : : Oracle XML Team
    : : : http://technet.oracle.com
    : : : Oracle Technology Network
    null

  • Xml parsing innovation

    [ANN] VTD-XML Version 1.5 Released
    Eight years after the invention of XML, DOM and SAX,
    despite their respective issues, are still the mainstays
    of application developers.
    So is it the end of road for XML parsing innovation?
    The VTD-XML project team think not. We are proud to
    announce the availability of both C and Java version
    1.5 of VTD-XML, the next generation open-source XML
    parser that goes beyond DOM and SAX in terms of
    performance, memory usage and ease of use.
    The technical highlights of VTD-XML are:
    * Performance: the world's fastest XML parser,
    between 5x~10x faster than DOM
    * Memory Usage: 3x to 5x less than DOM, 1.3x~1.5x
    XML document size
    * Random access with built-in XPath support
    * A simple and intuitive API
    Other advanced features include:
    * Buffer reuse
    * Large document support (2GByte)
    * Incremental update
    * Hardware acceleration
    * Native XML indexing.
    For demos, latest benchmarks, related articles and software
    downloads, please visit http://vtd-xml.sf.net. Also let us
    know your thoughts and suggestions and help us improve
    VTD-XML.

    Don't crosspost.
    http://forum.java.sun.com/thread.jspa?threadID=707987&tstart=20
    It should be noted that this parser is not a full implementation, and ignores some xml constructs, which perhaps helps it's performance numbers in comparison to compliant parsers.

  • ANN: XML Parser for Java v2.0.2.5

    The v2.0.2.5 of the XML Parser for Java is now available for
    download. The following features and bug fixes are included:
    Conformance to the XSLT/XPATH October PR.
    Support for internationalized error messages has been added. The
    locale can be set using setLocale(java.util.Locale) function in
    XSLProcessor, SAXParser, and DOMParser.
    New APIs in XMLNode class:
    value-of(String pattern)
    selectNodes(String pattern)
    selectSingleNode(String pattern)
    selectSingleNode(String pattern, NSResolver ns)
    New API in XSLStylesheet class
    setParam(String param, String value)
    Bug fixes:
    Bug #957465: Missing a way to set stylesheet-level param-
    variables
    Bug #962290: selectNodes() improvements
    Bug #1033472: Html output prints empty elements for non-empty
    elements
    Bug #1040717: Character entity for greater that in html output
    style
    Bug #1046003: Bug is parsing text nodes larger than 16K
    Bug #1051671: 'xsl:namespace-alias' not supported
    Bug #1052387: Disable-output-escaping doesn't flush while
    printing
    Bug #1053273: 'xsl:message' terminate attribute not supported
    Bug #1058004: No access to media-type and encoding on xsl:output
    Bug #1058008: xsl:version attribute not copied to result
    Bug #1061159: Exclude-result-prefixes not supported
    Bug #1067965: Bug in Non-validating parser while reading QNames
    in DTD
    This is the fifth production patch release for v2.
    Oracle XML Team
    http://technet.oracle.com
    Oracle Technology Network
    null

    The link has been fixed. You will go to the v2 download page
    now. Sorry for the inconvience.
    Oracle XML Team
    http://technet.oracle.com
    Oracle Technology Network
    Renilton Oliveira (guest) wrote:
    : I didn't find the file for version 2.0.0.0 as well.
    : Renilton
    : Andrei Filimonov (guest) wrote:
    : : I tried to download XML Parser for Java v2 it seems that
    only
    : v
    : : 1.0.1.4 is available. Could you please give an exact URL for
    : v2
    : : download?
    : : Andrei Filimonov
    : : Oracle XML Team wrote:
    : : : The Oracle XML v2 parser is now available for download
    here
    : as
    : : : an early beta release and is written in Java. It features
    : an
    : : : improved architecture over the Oracle XML v1 parser and
    has
    : : : shown better performance on small to large XML documents.
    : It
    : : : will also be able to format the XML document according to
    a
    : : : stylesheet, having integrated an XSLT processor.
    : : : Version 2 of the XML Parser for Java, besides
    incorporating
    : an
    : : : XSLT processor, has been re-architected from version 1.
    This
    : : has
    : : : resulted in a number of changes to the class names
    : especially
    : : : those that support Namespaces. See v2changes.txt and
    : the .diff
    : : : difference files in the sample directory.
    : : : Oracle XML Team
    : : : http://technet.oracle.com
    : : : Oracle Technology Network
    null

  • ANN: XML Parser for Java Release 1.0.1.4

    A new maintenance release of the Oracle Parser for Java is
    available for download. It has the following fixes and changes:
    Bug fixes for #893971, i.e XML parser cannot parse documents
    from InputStream;
    #900146 normalize() is wrong if the literal contains angle
    brackets;
    #898423, multiplicity info about elements enhancement.
    New API in the following Classes:
    1. oracle.xml.parser.ElementDecl
    -getParseTree( Returns the root Node of Content Model
    parse tree, which could then be traversed node by node using
    getFirstChild() and getLastChild() ).
    This is the fourth production patch release. Oracle XML Parser
    1.0.1.4.0
    Oracle XML Team
    http://technet.oracle.com
    Oracle Technology Network
    null

    The link has been fixed. You will go to the v2 download page
    now. Sorry for the inconvience.
    Oracle XML Team
    http://technet.oracle.com
    Oracle Technology Network
    Renilton Oliveira (guest) wrote:
    : I didn't find the file for version 2.0.0.0 as well.
    : Renilton
    : Andrei Filimonov (guest) wrote:
    : : I tried to download XML Parser for Java v2 it seems that
    only
    : v
    : : 1.0.1.4 is available. Could you please give an exact URL for
    : v2
    : : download?
    : : Andrei Filimonov
    : : Oracle XML Team wrote:
    : : : The Oracle XML v2 parser is now available for download
    here
    : as
    : : : an early beta release and is written in Java. It features
    : an
    : : : improved architecture over the Oracle XML v1 parser and
    has
    : : : shown better performance on small to large XML documents.
    : It
    : : : will also be able to format the XML document according to
    a
    : : : stylesheet, having integrated an XSLT processor.
    : : : Version 2 of the XML Parser for Java, besides
    incorporating
    : an
    : : : XSLT processor, has been re-architected from version 1.
    This
    : : has
    : : : resulted in a number of changes to the class names
    : especially
    : : : those that support Namespaces. See v2changes.txt and
    : the .diff
    : : : difference files in the sample directory.
    : : : Oracle XML Team
    : : : http://technet.oracle.com
    : : : Oracle Technology Network
    null

  • Still problems serializing xml-docs with xml-parser for java v2.0.2.7

    Hi !
    I'm using the Oracle XML Parser 2.0.2.7.0 and get some problems when serializing the XMLDocument.
    In one class (DOMOut) I parse a xml-file with the oracle.xml.parser.v2.DOMParser, then obtain the XMLDocument and write it to System.out
    In another class (DOMIn) I fetch the XMLDocument from System.in, search for a given Element and print it's TextValue (if existing) to System.out
    That is where the error occurs.
    I get the XMLDocument from System.in but the returning NodeList from doc.getElementsByTagName() is empty. [nl.getLength()==0] even if it shouldn't be.
    Look at this code and output:
    [DOMOut]
    DOMParser parser = new DOMParser();
    parser.parse(url);
    XMLDocument doc = (XMLDocument)parser.getDocument();
    ObjectOutputStream out = new ObjectOutputStream(System.out);
    out.writeObject(doc); out.flush();
    [DOMIn]
    ObjectInputStream in = new ObjectInputStream(System.in);
    XMLDocument doc = (XMLDocument)in.readObject();
    doc.print(System.out);
    NodeList nl = doc.getElementsByTagName("Name");
    System.out.println("Length of NodeList: "+nl.getLength());
    if (nl.getLength()==0)
    System.out.println(argv[0] + ": not in this document!");
    else {
    XMLNode node = (XMLNode) nl.item(nl.getLength()-1);
    System.out.println(node.getNodeName() + ": " + (node.getFirstChild()).getNodeValue());
    This is the relevant code.
    I javac both classes and then do this:
    java DOMOut xmltestfile.xml > xx
    java DOMIn Name < xx
    And get this as output:
    <?xml version = '1.0'?>
    <!DOCTYPE course [
    <!ELEMENT course (Name,Dept,Instructor,Student)>
    <!ELEMENT Name ((#PCDATA)*)*>
    <!ELEMENT Dept ((#PCDATA)*)*>
    <!ELEMENT Instructor (Name)>
    <!ELEMENT Student (Name)*>
    ]>
    <course>
    <Name>Calculus</Name>
    <Dept>Math</Dept>
    <Instructor>
    <Name>Jim Green</Name>
    </Instructor>
    <Student>
    <Name>Jack</Name>
    <Name>Mary</Name>
    <Name>Paul</Name>
    </Student>
    </course>
    Length of NodeList: 0
    Name: not in this document!
    Has anyone an idea?
    If I do all this stuff without serializing it works.
    If I do not search for argv[0], but the string "Name" it fails.
    If I do search for "*" it works fine!
    I'm very confused could anybody please help me a bit??
    Stefan.
    [[email protected]]

    The link has been fixed. You will go to the v2 download page
    now. Sorry for the inconvience.
    Oracle XML Team
    http://technet.oracle.com
    Oracle Technology Network
    Renilton Oliveira (guest) wrote:
    : I didn't find the file for version 2.0.0.0 as well.
    : Renilton
    : Andrei Filimonov (guest) wrote:
    : : I tried to download XML Parser for Java v2 it seems that
    only
    : v
    : : 1.0.1.4 is available. Could you please give an exact URL for
    : v2
    : : download?
    : : Andrei Filimonov
    : : Oracle XML Team wrote:
    : : : The Oracle XML v2 parser is now available for download
    here
    : as
    : : : an early beta release and is written in Java. It features
    : an
    : : : improved architecture over the Oracle XML v1 parser and
    has
    : : : shown better performance on small to large XML documents.
    : It
    : : : will also be able to format the XML document according to
    a
    : : : stylesheet, having integrated an XSLT processor.
    : : : Version 2 of the XML Parser for Java, besides
    incorporating
    : an
    : : : XSLT processor, has been re-architected from version 1.
    This
    : : has
    : : : resulted in a number of changes to the class names
    : especially
    : : : those that support Namespaces. See v2changes.txt and
    : the .diff
    : : : difference files in the sample directory.
    : : : Oracle XML Team
    : : : http://technet.oracle.com
    : : : Oracle Technology Network
    null

  • ANN: Oracle XML Parser for Java v2.0.2

    The new version of the Oracle XML Parser for Java v2 is
    available for download and has the following features and
    changes:
    1. Conformance to the XSLT/XPATH August WD.
    Note that there are several changes between April99 XSLT draft
    and the August99 XSLT/Xpath draft and these changes have been
    implemented in the XSL Processor. The XSL Processor has been
    modified to accept XPath syntax for expressions and patterns.
    Stylesheets might have to be modified to be conformant to the
    August XSLT/XPath draft before they can be used with this
    release.
    Some of the changes between April draft and the August draft
    are:
    a. Expressions in the stylesheet must match the XPath
    production Expr.
    b. Some of the attribute names and element names in XSL
    namespace have changed.
    c. Some new functions have been added to XPath CORE function
    library.
    Please refer to the August XSLT/XPath draft for more details.
    This is the first production release for v2.
    Oracle XML Team
    http://technet.oracle.com
    Oracle Technology Network
    null

    The link has been fixed. You will go to the v2 download page
    now. Sorry for the inconvience.
    Oracle XML Team
    http://technet.oracle.com
    Oracle Technology Network
    Renilton Oliveira (guest) wrote:
    : I didn't find the file for version 2.0.0.0 as well.
    : Renilton
    : Andrei Filimonov (guest) wrote:
    : : I tried to download XML Parser for Java v2 it seems that
    only
    : v
    : : 1.0.1.4 is available. Could you please give an exact URL for
    : v2
    : : download?
    : : Andrei Filimonov
    : : Oracle XML Team wrote:
    : : : The Oracle XML v2 parser is now available for download
    here
    : as
    : : : an early beta release and is written in Java. It features
    : an
    : : : improved architecture over the Oracle XML v1 parser and
    has
    : : : shown better performance on small to large XML documents.
    : It
    : : : will also be able to format the XML document according to
    a
    : : : stylesheet, having integrated an XSLT processor.
    : : : Version 2 of the XML Parser for Java, besides
    incorporating
    : an
    : : : XSLT processor, has been re-architected from version 1.
    This
    : : has
    : : : resulted in a number of changes to the class names
    : especially
    : : : those that support Namespaces. See v2changes.txt and
    : the .diff
    : : : difference files in the sample directory.
    : : : Oracle XML Team
    : : : http://technet.oracle.com
    : : : Oracle Technology Network
    null

  • ANN: XML Parser for Java v2 - Release 2.0.0.0

    The Oracle XML v2 parser is now available for download here as
    an early beta release and is written in Java. It features an
    improved architecture over the Oracle XML v1 parser and has
    shown better performance on small to large XML documents. It
    will also be able to format the XML document according to a
    stylesheet, having integrated an XSLT processor.
    Version 2 of the XML Parser for Java, besides incorporating an
    XSLT processor, has been re-architected from version 1. This has
    resulted in a number of changes to the class names especially
    those that support Namespaces. See v2changes.txt and the .diff
    difference files in the sample directory.
    Oracle XML Team
    http://technet.oracle.com
    Oracle Technology Network
    null

    The link has been fixed. You will go to the v2 download page
    now. Sorry for the inconvience.
    Oracle XML Team
    http://technet.oracle.com
    Oracle Technology Network
    Renilton Oliveira (guest) wrote:
    : I didn't find the file for version 2.0.0.0 as well.
    : Renilton
    : Andrei Filimonov (guest) wrote:
    : : I tried to download XML Parser for Java v2 it seems that
    only
    : v
    : : 1.0.1.4 is available. Could you please give an exact URL for
    : v2
    : : download?
    : : Andrei Filimonov
    : : Oracle XML Team wrote:
    : : : The Oracle XML v2 parser is now available for download
    here
    : as
    : : : an early beta release and is written in Java. It features
    : an
    : : : improved architecture over the Oracle XML v1 parser and
    has
    : : : shown better performance on small to large XML documents.
    : It
    : : : will also be able to format the XML document according to
    a
    : : : stylesheet, having integrated an XSLT processor.
    : : : Version 2 of the XML Parser for Java, besides
    incorporating
    : an
    : : : XSLT processor, has been re-architected from version 1.
    This
    : : has
    : : : resulted in a number of changes to the class names
    : especially
    : : : those that support Namespaces. See v2changes.txt and
    : the .diff
    : : : difference files in the sample directory.
    : : : Oracle XML Team
    : : : http://technet.oracle.com
    : : : Oracle Technology Network
    null

  • Metadata Caching-Performance Improvement

    Hi all,
    Could u plz give me suggestions to improve speed of metadata caching?
    Now, I'm retrieving the metadata from the database and writing it as xml file. Connection pooling has helped improve performance, but further improvement is required
    Besides, is there some means to determine optimum values for MaxIdle, MinIdle and EvictionInterval?
    I'd be grateful for any help. Thanks

    For performance first try to identify your bottlenecks.
    Also saving the cache data in XML can itself become a bottleneck. Becouse accessing the cache will invole IO operations and XML parsing.
    Normaly the best thing to do to keep the data that you think will be accessed frequantly in memory. Also make your algorighm keep only a small amount of data in the cache by regulerly cleaning it up by removing old entries. Small cache means better search performance in the cache.

  • IOException thrown in oracle.xml.parser.v2.XMLElement.readExternal() method

    Hi,
    I have a bpel process which takes in a particular xml format and does some processing asynchronously. I am calling this bpel process from a web application which uses axis web service to call this application.
    Everything works fine when the xml is small (around 10 to 15 kb). But once the xml gets huge(around 250 to 400 kb) error is thrown in bpel in the oracle.xml.parser.v2.XMLElement.readExternal() method. It seems like bpel is not able to reconstruct the object that it had written to some stream before. I learnt from some forum posts that this done for optimizing performance but I would like to know whether i have to tweak something here.
    Particularly what does this "java.io.IOException: Error in reading Namespace associated with the node" mean. Below is the error log
    10/01/05 20:40:51 java.io.IOException: Error in reading Namespace associated with the node
    10/01/05 20:40:51      at oracle.xml.parser.v2.XMLElement.readExternal(XMLElement.java:2954)
    10/01/05 20:40:51      at oracle.xml.parser.v2.XMLNode.readChildNodes(XMLNode.java:2842)
    10/01/05 20:40:51      at oracle.xml.parser.v2.XMLNode.readChildNodes(XMLNode.java:2843)
    10/01/05 20:40:51      at oracle.xml.parser.v2.XMLNode.readChildNodes(XMLNode.java:2843)
    10/01/05 20:40:51      at oracle.xml.parser.v2.XMLNode.readChildNodes(XMLNode.java:2843)
    10/01/05 20:40:51      at oracle.xml.parser.v2.XMLNode.readChildNodes(XMLNode.java:2843)
    10/01/05 20:40:51      at oracle.xml.parser.v2.XMLNode.readChildNodes(XMLNode.java:2843)
    10/01/05 20:40:51      at oracle.xml.parser.v2.XMLDocument.readExternal(XMLDocument.java:3394)
    10/01/05 20:40:51      at com.collaxa.cube.xml.dom.SDOMHelper.loadCompressedNormalDom(SDOMHelper.java:345)
    10/01/05 20:40:51      at com.collaxa.cube.xml.dom.SDOMHelper.load(SDOMHelper.java:135)
    10/01/05 20:40:51      at com.collaxa.cube.xml.dom.DOMUtil.loadDocument(DOMUtil.java:2266)
    10/01/05 20:40:51      at com.collaxa.cube.engine.delivery.DeliveryHelper.loadParts(DeliveryHelper.java:878)
    10/01/05 20:40:51      at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:515)
    10/01/05 20:40:51      at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:342)
    10/01/05 20:40:51      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    10/01/05 20:40:51      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    10/01/05 20:40:51      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    10/01/05 20:40:51      at java.lang.reflect.Method.invoke(Method.java:585)
    10/01/05 20:40:51      at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
    10/01/05 20:40:51      at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    10/01/05 20:40:51      at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    10/01/05 20:40:51      at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    10/01/05 20:40:51      at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
    10/01/05 20:40:51      at java.security.AccessController.doPrivileged(Native Method)
    10/01/05 20:40:51      at javax.security.auth.Subject.doAs(Subject.java:396)
    10/01/05 20:40:51      at com.evermind.server.ThreadState.runAs(ThreadState.java:648)
    10/01/05 20:40:51      at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
    10/01/05 20:40:51      at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    10/01/05 20:40:51      at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
    10/01/05 20:40:51      at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    10/01/05 20:40:51      at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    10/01/05 20:40:51      at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    10/01/05 20:40:51      at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
    10/01/05 20:40:51      at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
    10/01/05 20:40:51      at CubeDeliveryBean_LocalProxy_4bin6i8.handleInvoke(Unknown Source)
    10/01/05 20:40:51      at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:37)
    10/01/05 20:40:51      at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:138)
    10/01/05 20:40:51      at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
    10/01/05 20:40:51      at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
    10/01/05 20:40:51      at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)
    10/01/05 20:40:51      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    10/01/05 20:40:51      at java.lang.reflect.Method.invoke(Method.java:585)
    10/01/05 20:40:51      at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
    10/01/05 20:40:51      at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    10/01/05 20:40:51      at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    10/01/05 20:40:51      at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    10/01/05 20:40:51      at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
    10/01/05 20:40:51      at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    10/01/05 20:40:51      at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
    10/01/05 20:40:51      at oracle.j2ee.connector.messageinflow.MessageEndpointImpl.OC4J_invokeMethod(MessageEndpointImpl.java:297)
    10/01/05 20:40:51      at WorkerBean_EndPointProxy_4bin6i8.onMessage(Unknown Source)
    10/01/05 20:40:51      at oracle.j2ee.ra.jms.generic.WorkConsumer.run(WorkConsumer.java:266)
    10/01/05 20:40:51      at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
    10/01/05 20:40:51      at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
    10/01/05 20:40:51      at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
    10/01/05 20:40:51      at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
    10/01/05 20:40:51      at java.lang.Thread.run(Thread.java:595)
    10/01/05 20:40:51 0 - ORABPEL-00000
    Exception not handled by the Collaxa Cube system.
    An unhandled exception has been thrown in the Collaxa Cube system. The exception reported is: "ORABPEL-09222
    Cannot deserialize DOM element.
    Failed to deserialize the DOM element from binary format, the document id 806601993018f2af:-5dd89d4f:125feeefac4:-7fbf. The exception reported is Error in reading Namespace associated with the node
         at com.collaxa.cube.xml.dom.SDOMHelper.loadCompressedNormalDom(SDOMHelper.java:355)
         at com.collaxa.cube.xml.dom.SDOMHelper.load(SDOMHelper.java:135)
         at com.collaxa.cube.xml.dom.DOMUtil.loadDocument(DOMUtil.java:2266)
         at com.collaxa.cube.engine.delivery.DeliveryHelper.loadParts(DeliveryHelper.java:878)
         at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:515)
         at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:342)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAs(Subject.java:396)
         at com.evermind.server.ThreadState.runAs(ThreadState.java:648)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at CubeDeliveryBean_LocalProxy_4bin6i8.handleInvoke(Unknown Source)
         at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:37)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:138)
         at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
         at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
         at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at oracle.j2ee.connector.messageinflow.MessageEndpointImpl.OC4J_invokeMethod(MessageEndpointImpl.java:297)
         at WorkerBean_EndPointProxy_4bin6i8.onMessage(Unknown Source)
         at oracle.j2ee.ra.jms.generic.WorkConsumer.run(WorkConsumer.java:266)
         at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
         at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
         at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
         at java.lang.Thread.run(Thread.java:595)
    Exception: ORABPEL-09222
    Cannot deserialize DOM element.
    Failed to deserialize the DOM element from binary format, the document id 806601993018f2af:-5dd89d4f:125feeefac4:-7fbf. The exception reported is Error in reading Namespace associated with the node
    Handled As: com.collaxa.cube.CubeException
    10/01/05 20:40:51 1 - ORABPEL-09222
    Cannot deserialize DOM element.
    Failed to deserialize the DOM element from binary format, the document id 806601993018f2af:-5dd89d4f:125feeefac4:-7fbf. The exception reported is Error in reading Namespace associated with the node
    <2010-01-05 20:40:51,381> <ERROR> <pmf_capability_domain.collaxa.cube> <BaseCubeSessionBean::logError> Error while invoking bean "cube delivery": [com.collaxa.cube.CubeException: Exception not handled by the Collaxa Cube system.
    An unhandled exception has been thrown in the Collaxa Cube system. The exception reported is: "ORABPEL-09222
    Cannot deserialize DOM element.
    Failed to deserialize the DOM element from binary format, the document id 806601993018f2af:-5dd89d4f:125feeefac4:-7fbf.  The exception reported is Error in reading Namespace associated with the node
         at com.collaxa.cube.xml.dom.SDOMHelper.loadCompressedNormalDom(SDOMHelper.java:355)
         at com.collaxa.cube.xml.dom.SDOMHelper.load(SDOMHelper.java:135)
         at com.collaxa.cube.xml.dom.DOMUtil.loadDocument(DOMUtil.java:2266)
         at com.collaxa.cube.engine.delivery.DeliveryHelper.loadParts(DeliveryHelper.java:878)
         at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:515)
         at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:342)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAs(Subject.java:396)
         at com.evermind.server.ThreadState.runAs(ThreadState.java:648)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at CubeDeliveryBean_LocalProxy_4bin6i8.handleInvoke(Unknown Source)
         at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:37)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:138)
         at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
         at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
         at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at oracle.j2ee.connector.messageinflow.MessageEndpointImpl.OC4J_invokeMethod(MessageEndpointImpl.java:297)
         at WorkerBean_EndPointProxy_4bin6i8.onMessage(Unknown Source)
         at oracle.j2ee.ra.jms.generic.WorkConsumer.run(WorkConsumer.java:266)
         at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
         at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
         at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
         at java.lang.Thread.run(Thread.java:595)
    Exception: ORABPEL-09222
    Cannot deserialize DOM element.
    Failed to deserialize the DOM element from binary format, the document id 806601993018f2af:-5dd89d4f:125feeefac4:-7fbf.  The exception reported is Error in reading Namespace associated with the node
    Handled As: com.collaxa.cube.CubeException
    ] -> [com.collaxa.cube.xml.dom.DOMException: Cannot deserialize DOM element.
    Failed to deserialize the DOM element from binary format, the document id 806601993018f2af:-5dd89d4f:125feeefac4:-7fbf.  The exception reported is Error in reading Namespace associated with the node
    ORABPEL-00000
    Exception not handled by the Collaxa Cube system.
    An unhandled exception has been thrown in the Collaxa Cube system. The exception reported is: "ORABPEL-09222
    Cannot deserialize DOM element.
    Failed to deserialize the DOM element from binary format, the document id 806601993018f2af:-5dd89d4f:125feeefac4:-7fbf. The exception reported is Error in reading Namespace associated with the node
         at com.collaxa.cube.xml.dom.SDOMHelper.loadCompressedNormalDom(SDOMHelper.java:355)
         at com.collaxa.cube.xml.dom.SDOMHelper.load(SDOMHelper.java:135)
         at com.collaxa.cube.xml.dom.DOMUtil.loadDocument(DOMUtil.java:2266)
         at com.collaxa.cube.engine.delivery.DeliveryHelper.loadParts(DeliveryHelper.java:878)
         at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:515)
         at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:342)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAs(Subject.java:396)
         at com.evermind.server.ThreadState.runAs(ThreadState.java:648)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at CubeDeliveryBean_LocalProxy_4bin6i8.handleInvoke(Unknown Source)
         at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:37)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:138)
         at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
         at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
         at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at oracle.j2ee.connector.messageinflow.MessageEndpointImpl.OC4J_invokeMethod(MessageEndpointImpl.java:297)
         at WorkerBean_EndPointProxy_4bin6i8.onMessage(Unknown Source)
         at oracle.j2ee.ra.jms.generic.WorkConsumer.run(WorkConsumer.java:266)
         at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
         at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
         at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
         at java.lang.Thread.run(Thread.java:595)
    Exception: ORABPEL-09222

    I finally found the root cause of the solution. We are using axis serialization/deserialization at the client end to call the bpel service which works well for small xml. But mysteriously for larger xmls the deserialization fails at the server end when the incoming xml is being used. So we used the regular oracle java api to call the web service. This solved the problem.
    We could not find whether the problem lies with Oracle SOA suite 10.1.3.1 or Apache axis 2.0. But as of now these two seem to be incompatible for large xmls at the moment.
    Any pointers are welcome!

  • Siebel Adapter Error :- oracle.xml.parser.v2.XMLParseException

    We are trying to insert records into Siebel using Oracle Siebel Adapter (10.1.3.1) and BPEL. We are successful using the JCA Test Tool with the following request.
    <Siebel xmlns:sbl="urn:iwaysoftware:adapter:siebel:oct2004:request" xmlns="urn:iwaysoftware:adapter:siebel:oct2004:request" location="S/BO/MDT Patient/MDT Patient/insert">
    <sbl:insert>
    <sbl:Email_spcUsage/>
    <sbl:First_spcName>NINA</sbl:First_spcName>
    <sbl:Last_spcName>GOUBER</sbl:Last_spcName>
    <sbl:M_slhF>F</sbl:M_slhF>
    <sbl:Middle_spcName>E</sbl:Middle_spcName>
    <sbl:Person_spcUId>0000007777</sbl:Person_spcUId>
    <sbl:Suffix/>
    </sbl:insert>
    </Siebel>
    But when the Adapter service is invoked from BPEL the following error is coming in the JCA logs.
    Thu, 17 Jan 2008 16:09:14.0671 CST - Thread[HTTPThreadGroup-61,5,HTTPThreadGroup] [info ] [IWAF JCA Siebel] IWAFManagedConnection for Siebel:test has listener registered: com.evermind.server.connector.ConnectionContext@1b5d88d
    Thu, 17 Jan 2008 16:09:14.0749 CST - Thread[HTTPThreadGroup-61,5,HTTPThreadGroup] [info ] [IWAF JCA Siebel] IWAFManagedConnection for Siebel:test dispatch event 2
    Thu, 17 Jan 2008 16:09:14.0749 CST - Thread[HTTPThreadGroup-61,5,HTTPThreadGroup] [error] [IWAF JCA Siebel] **** Error in parsing the input document.
    oracle.xml.parser.v2.XMLParseException: Start of root element expected.
         at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:320)
         at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:341)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:303)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:205)
         at com.iwaysoftware.idom.XmlDocument.parse(XmlDocument.java:120)
         at com.iwaysoftware.idom.XmlDocument.setRootXML(XmlDocument.java:77)
         at com.ibi.afjca.cci.IWAFInteraction.execProcess(IWAFInteraction.java:195)
         at com.ibi.afjca.cci.IWAFInteraction.exec(IWAFInteraction.java:136)
         at com.ibi.afjca.cci.IWAFInteraction.execute(IWAFInteraction.java:93)
         at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:470)
         at com.collaxa.cube.ws.WSIFInvocationHandler.invoke(WSIFInvocationHandler.java:431)
         at com.collaxa.cube.ws.WSInvocationManager.invoke2(WSInvocationManager.java:416)
         at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:222)
         at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__invoke(BPELInvokeWMP.java:736)
         at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:371)
         at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:195)
         at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3271)
         at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1697)
         at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:184)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:269)
         at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5244)
         at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:1083)
         at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.createAndInvoke(CubeEngineBean.java:132)
         at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.syncCreateAndInvoke(CubeEngineBean.java:161)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    Any help would be appreciated.
    Thanks,
    Praveen

    Following is the WSDL
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions name="insert"
    targetNamespace="http://xmlns.oracle.com/pcbpel/iWay/wsdl/Siebel/test/insert"
    xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:jca="http://xmlns.oracle.com/pcbpel/wsdl/jca/"
    xmlns:iWay="http://xmlns.oracle.com/pcbpel/adapter/iWay/"
    xmlns:pc="http://xmlns.oracle.com/pcbpel/"
    xmlns:insert="http://xmlns.oracle.com/pcbpel/iWay/wsdl/Siebel/test/insert"
    xmlns:iWayResponse="urn:iwaysoftware:adapter:siebel:oct2004:response"
    xmlns:iWayRequest="urn:iwaysoftware:adapter:siebel:oct2004:request"
    xmlns="http://schemas.xmlsoap.org/wsdl/">
    <types>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    targetNamespace="urn:iwaysoftware:adapter:siebel:oct2004:request"
    xmlns:sbl="urn:iwaysoftware:adapter:siebel:oct2004:request"
    elementFormDefault="qualified">
    <xsd:element name="Siebel">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="insert" type="sbl:record"/>
    </xsd:sequence>
    <xsd:attribute name="location" type="xsd:string" use="optional"
    default="S/BO/MDT Patient/MDT Patient/insert"/>
    </xsd:complexType>
    </xsd:element>
    <xsd:complexType name="record">
    <xsd:sequence>
    <xsd:element name="AMA_spcTOP" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Academic_spcEmail" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Access_spcLevel" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Accomplishments" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Account" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Account_spcAddress_spcName" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Account_spcCurrency_spcCode" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Account_spcCurrency_spcCode_spcDummy"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Account_spcFor_spcOutlook" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Account_spcId" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Account_spcIntegration_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Account_spcLocation" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Account_spcMod_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Account_spcNumber" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Account_spcOrganization" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Account_spcPartner_spcFlag" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Account_spcParty_spcUId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Account_spcPrice_spcList_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Account_spcPrimary_spcAddress_spcId"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Account_spcPrimary_spcBill_spcTo_spcAddress_spcId"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Account_spcPrimary_spcBill_spcTo_spcPerson_spcId"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Account_spcPrimary_spcMarket" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Account_spcPrimary_spcShip_spcTo_spcAddress_spcId"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Account_spcPrimary_spcShip_spcTo_spcPerson_spcId"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Account_spcRow_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Account_spcStatus" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Account_spcStreet_spcAddress" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Account_spcSurvey_spcType" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Account_spcType" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Action_spcContact_spcRow_spcStatus"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Action_spcRow_spcStatus" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Action_spcType" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Active_spcStatus" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Address_spcDisable_spcDataCleansing"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Address_spcName" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Address_spcName_spcLocked_spcFlag"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Address_spcS-S_spcInstance" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Address_spcType" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Affiliated_spcAccount" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Affiliated_spcAccount_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Affiliations" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Affinity_spcGroups" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Age" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Agenda" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Agent_spcNumber" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Alert" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Algorithm_spcType" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Alias" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Alignment" type="xsd:string" minOccurs="0"/>
    <xsd:element name="All_spcFunds_spcManaged" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Alliance_spcPartner_spcFlag" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Alternate_spcEmail_spcAddress" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Alternate_spcPhone_spc_pnd" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Alternate_spcPhone_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Alternate_spcPhone_spcIntegration_spcId"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Alternate_spcPhone_spcMedium_spcType"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Alternate_spcPhone_spcName" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Alternate_spcPhone_spcNumber" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Annual_spcIncome" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Annual_spcRevenue" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Applicant_spcType" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Applicant_spcType_spcINT" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Application_spcName" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Application_spcOwnership_spcType_spcINT"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Approval_spcAuthority" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Approval_spcAuthority_spcFINCORP" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Area_spcof_spcExpertise" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Assessment_spcName" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Assessment_spcScore" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Assessment_spcStar_spcValue" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Assessment_spcValue" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Asset_spcBalance" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Asset_spcCurrency" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Asset_spcId" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Asset_spcLiability_spcRelation_spcCode"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Asset_spcLiability_spcStart_spcDate"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Asset_spcRelationship" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="AssetLiab_spcOwnership_spc_pct" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="AssetLiab_spcOwnership_spcValue" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Assignment_spcExcluded" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Assistant" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Assistant_spcEmail_spcAddress" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Assistant_spcPhone_spc_pnd" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Attempted_spcValidation" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Authorization_spcLevel" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="AutoSchedule_spcDuration_spcMinutes"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="AutoSchedule_spcEnd_spcDate" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="AutoSchedule_spcStart_spcDate" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="AutoSchedule_spcWeekends" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Average_spcno._spcof_spcmiles_slhkm_spcdriven_spcper_spcyear"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Banking_spcRelationship" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Bankruptcy_spcRelationship_spcType"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Best_spcCall_spcTime" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Bill_spcPay_spcAmount_spcLimit" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Bill_spcPay_spcBSP_spcCustomer_spcId"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Bill_spcPay_spcEnrolled" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Bill_spcPayment_spcEnrollment_spcFlag"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Bill_spcPresentment_spcEnrollment_spcFlag"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Birth_spcDate" type="xsd:string" minOccurs="0"/>
    <xsd:element name="BirthYear" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Board_spcSeat" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Branch" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Branch_spcId" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Brick_spcId" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Brick_spcName" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Business_spcCity" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Business_spcCountry" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Business_spcPostal_spcCode" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Business_spcResults" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Business_spcState" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Business_spcStreet_spcAddress" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Business_spcStreet_spcAddress_spc2"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Buying_spcStyle" type="xsd:string" minOccurs="0"/>
    <xsd:element name="COB_spcFlg" type="xsd:string" minOccurs="0"/>
    <xsd:element name="COB_spcFlg_spcDisplay_spcValue" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="CSN" type="xsd:string" minOccurs="0"/>
    <xsd:element name="CT1" type="xsd:string" minOccurs="0"/>
    <xsd:element name="CT2" type="xsd:string" minOccurs="0"/>
    <xsd:element name="CT3" type="xsd:string" minOccurs="0"/>
    <xsd:element name="CT4" type="xsd:string" minOccurs="0"/>
    <xsd:element name="CT5" type="xsd:string" minOccurs="0"/>
    <xsd:element name="CT6" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Calc_spcName" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Calculated_spcAccount_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Calculated_spcType" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Call" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Call_spcClass" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Case_spcRel_spcType_spcCode" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Cellular_spcPhone_spc_pnd" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="ChallengeAnswer" type="xsd:string" minOccurs="0"/>
    <xsd:element name="ChallengeQuestion" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Child_spcAction_spcType" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Citizenship" type="xsd:string" minOccurs="0"/>
    <xsd:element name="City" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Clinical_spcRole" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Coach" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Comment" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Communication_spcAddress_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Communication_spcAddress_spcIntegration_spcId"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Communication_spcAddress_spcMedium_spcType"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Communication_spcAddress_spcName" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Communication_spcAddress_spcPerson_spcId"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Company_spcIdentifier" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Completed_spcSpine_spcFellowship" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Computer_spcOwnership_spcFlag" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Confidential_spcReason" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Consumer_spcFlag" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Contact_spcAlert_spcActive_spc_lprInteger_rpr"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Contact_spcCreated_spcDate" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Contact_spcId" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Contact_spcImage_spcDescription" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Contact_spcImage_spcDock_spcStatus"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Contact_spcImage_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Contact_spcOrganization_spcIntegration_spcId"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Contact_spcPreference" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Contact_spcRegion" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Contact_spcUpdated_spcDate" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="ContactImgFileAutoUpdFlg" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="ContactImgFileDate" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="ContactImgFileDockStatFlg" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="ContactImgFileExt" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="ContactImgFileName" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="ContactImgFileSize" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Contacted" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Contract_spcFlag" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Contracted_spcSince" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Correspondence_spcPreference" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Cost_spcCenter" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Country" type="xsd:string" minOccurs="0"/>
    <xsd:element name="County" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Courses" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Created_spcAt" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Created_spcBy_spcName" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Credit_spcAgency" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Credit_spcBureau_spc_pnd" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Credit_spcScore" type="xsd:string" minOccurs="0"/>
    <xsd:element name="CurrYear" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Currency_spcCode" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Current_spcFunds_spcManaged" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Current_spcStay_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Current_spcStay_spcOverdue_spcNum"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Customer_spcNumber" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Customer_spcSession" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Customer_spcUntil_spcDate" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Customer_spcValue" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Customer_spcValue_spc1" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Customer_spcValue_spc2" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Customer_spcValue_spc3" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Customer_spcValue_spc4" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Customer_spcValue_spc5" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Customer_spcValue_spcIndicator" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="DEA_spcExpr_spc-_spcold" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="DEA_pnd_spc-_spcold" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="DL_spcExpiration_spcDate" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="DL_spcNumber" type="xsd:string" minOccurs="0"/>
    <xsd:element name="DL_spcState" type="xsd:string" minOccurs="0"/>
    <xsd:element name="DUNS_spcNumber" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Date_spcEntered_spcHousehold" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Date_spcExited_spcHousehold" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Date_spcof_spcBirth" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="DeDup_spcKey_spcModification_spcDate"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="DeDup_spcKeys" type="xsd:string" minOccurs="0"/>
    <xsd:element name="DeDup_spcLast_spcMatch_spcDate" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="DeDup_spcToken" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Deceased_spcFlag" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Decile" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Decision_spcCriteria_spcBusiness" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Decision_spcCriteria_spcProduct" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Decision_spcIssue_spcName" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Decision_spcIssues" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Decision_spcOrientation" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Dedup_spcToken" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Deduplication_spcMatch_spcScore" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Deduplication_spcObject_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Default_spcRole" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Degree" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Degree_spcof_spcInfluence" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Denorm_spcContact_spcFirst_spcName"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Denorm_spcContact_spcLast_spcName"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Department" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Designation" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Designations" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Directory_spcKey" type="xsd:string" minOccurs="0"/>
    <xsd:element name="DirectoryKey" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Disable_spcDataCleansing" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Discount_spcEligible" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Discount_spcUsed_spcin_spcPast" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Dislikes" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Division_spcDescription" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Dock_spcFlag" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Dollars_spcSpent_spcwith_spcfacility_spcfor_spcservice_spcand_spcparts"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Driver_spcLicense_spcExpiration" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Driver_spcLicense_spcNumber" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Driver_spcLicense_spcState" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="EP_spcAdministrative_spcCoordinator_spcFirst_spcName"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="EP_spcAdministrative_spcCoordinator_spcId"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="EP_spcAdministrative_spcCoordinator_spcLast_spcName"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="ESP_spcDecision_spcOrientation" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="ESP_spcOrg_spcStatus" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="ESP_spcPolitical_spcAnalysis" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="ESP_spcRole" type="xsd:string" minOccurs="0"/>
    <xsd:element name="ESP_spcTime_spcSpent" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Economic_spcBuyer" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Education" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Educational_spcBackground" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Educational_spcBackground_spcINACTIVE"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Email_spcAddress" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Email_spcAddress_spc2" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Email_spcSR_spcUpdates_spcFlag" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Email_spcUsage" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Email_spcUsage_spc2" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Employee_spcFirst_spcName" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Employee_spcFlag" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Employee_spcId" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Employee_spcLast_spcName" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Employee_spcLogin_spcName" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Employee_spcNumber" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Employer_spcId" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Employer_spcName" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Employer_spcName_spcFree_spcText" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Employer_spcSite" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Encryption_spcIndex_spcKey" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="End_spcDate" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Evidence_spcto_spcsupport_spcrating"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Exchange_spcDate" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Exists_spcNew_spcOutBound_spcEmail_spcActivities"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Experience_spcLevel" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Exprience_spcwith_spcIntitution" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="FINS_spcEducation" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Faculty_spcComments" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Faculty_spcStatus" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Family" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Family_spcMembers" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Fax_spcAddress" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Fax_spcPhone_spc_pnd" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Fed_spcIncome_spcTax_spcBracket" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Fellow_spcSuggestions" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="First_spcImplant_spcDate" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="First_spcName" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Firstlogic_spcMatch_spcKey" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="For_spcContract_spcFlag" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Frequency_spcof_spcreplacement" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Full_spcAddress" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Full_spcAddress_spc2" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Full_spcAddress_spc2_spcActive_spcFlag"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Full_spcName" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Full_spcName_spcFor_spcINS" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Full_spcName_spcFor_spcOutlook" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Full_spcName_spcFor_spcOutlook_spcENU"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Full_spcName_spcFor_spcOutlook_spcJPN"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Full_spcName_spcNo_spcSpace" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Geographic_spcPreference" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Global_spcOpt_spcIn_slhOut" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="GotoeDealerView" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Guarantor_spcFlag" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="HLS_spcCitizenship" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="HMS_spcPhysician_spcID" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Hard_spcTo_spcReach" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Has_spcAlerts" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Head_spcId" type="xsd:string" minOccurs="0"/>
    <xsd:element name="High_spcPrescriber_spcFlag" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Hire_spcDate" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Hire_spcMonth" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Hired_spcBy" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Hobbies" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Hobby" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Home_spcPhone_spc_pnd" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Household" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Household_spcId" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Household_spcIntegration_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Household_spcName" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Household_spcNumber" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Household_spcParty_spcUId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Household_spcStatus" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Households" type="xsd:string" minOccurs="0"/>
    <xsd:element name="ICD_spcProcedure_spcDecile" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="ID_spcExpiration_spcDate" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="ID_spcInformation" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="ID_spcState" type="xsd:string" minOccurs="0"/>
    <xsd:element name="ID_spcType" type="xsd:string" minOccurs="0"/>
    <xsd:element name="INS_spcEmployers_spcName" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="INS_spcHousehold_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="INS_spcHousehold_spcName" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="INS_spcIncome" type="xsd:string" minOccurs="0"/>
    <xsd:element name="INS_spcInsured_spcItem_spcRole" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="INS_spcOccupation" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="INS_spcPersonal_spcAddress_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="INS_spcPersonal_spcAddress_spcIndicator"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="INS_spcPersonal_spcAddress_spcName"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="INS_spcPersonal_spcAddress_spcType"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="INS_spcPersonal_spcCity" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="INS_spcPersonal_spcCountry" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="INS_spcPersonal_spcCounty" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="INS_spcPersonal_spcIntegration_spcId"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="INS_spcPersonal_spcPostal_spcCode"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="INS_spcPersonal_spcState" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="INS_spcPersonal_spcStreet_spcAddress"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="INS_spcPersonal_spcStreet_spcAddress_spc2"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="IPG_spcProcedure_spcDecile" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Ideal_spcCall_spcTime" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Identifier" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Implanter_spcFlag" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Income" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Income_spcCurrency_spcCode" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Income_spcExchange_spcDate" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Income_spcExpense_spcRelation_spcCode"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Income_spcExpenses_spcOwnership_spc_pct"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Income_spcExpenses_spcOwnership_spcValue"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Income_spcExpenses_spcStart_spcDate"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Industry" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Industry_spcCORE" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Influencer_spcFirst_spcName" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Influencer_spcLast_spcName" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Insurance_spcPlan_spcAccept" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Insurance_spcPlan_spcBelong" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Integration_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Interest_spcLevel" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Interest_spcPrice" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Interest_spcQuantity" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Interest_spcReport_spcDate" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Interest_spcType" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Interests" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Investigator_spcFlag" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Investment_spcExperience" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Investment_spcHorizon" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Investment_spcKnowledge" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Investment_spcPortfolio_spcRisk_spcAssessment"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Investment_spcProfile" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Invite_spcTo_spcSeminars" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Invoice_spcComments" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Is_spcAgent" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Is_spcLife_spcSciences" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Is_spceDealer" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Job_spcTitle" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Jobs_spcin_spcFive_spcYears" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Joined_spcAccount_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Key_spcOpinion_spcLeader" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="LOY_spcMember_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Language_spcId" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Language_spcPreference" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Last_spcClnse_spcDate" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Last_spcCredit_spcDate" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Last_spcName" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Last_spcName_cma_spcFirst_spcName"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Last_spcName_cma_spcFirst_spcName_spcENU"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Last_spcName_cma_spcFirst_spcName_spcJPN"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Last_spcUpdate_spc-_spcSDQ" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Legal_spcName" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Liability_spcBalance" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Liability_spcCurrency" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="License_spcExpiry_spcDate" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="License_spcNumber" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="License_spcState" type="xsd:string" minOccurs="0"/>
    <xsd:element name="License_spcStatus" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Life_spcEvent" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Life_spcEvent_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Life_spcEvent_spcValue" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Life_spcEvents" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Likes" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Liquid_spcNet_spcWorth" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="List_spcMgmt_spcList_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Locators" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Logan_spcTest_crt" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Login" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Login_spcName" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Login_spcPassword" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Loyalty_spcComment" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Loyalty_spcContact_spcFull_spcName"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Loyalty_spcEmergency_spcContact_spcId"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Loyalty_spcMember_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Loyalty_spcMember_spcType" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Loyalty_spcMember_spcType_spcCal" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="M_slhF" type="xsd:string" minOccurs="0"/>
    <xsd:element name="M_slhM" type="xsd:string" minOccurs="0"/>
    <xsd:element name="MDT_spcAccount_spcAddress_spcName"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="MDT_spcActiva" type="xsd:string" minOccurs="0"/>
    <xsd:element name="MDT_spcActivity_spcRole" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="MDT_spcAdoption" type="xsd:string" minOccurs="0"/>
    <xsd:element name="MDT_spcBusiness_spcManager_spcFlag"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="MDT_spcClinical_spcResearcher_spcflag"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="MDT_spcClinical_spcStudies_spcflag"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="MDT_spcContact_spcFullName" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="MDT_spcContract_spcExpiration_spcDate"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="MDT_spcDART_spcAddress_spcRead_spcOnly_spcFlag"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="MDT_spcDART_spcDeceased_spcDate" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="MDT_spcDART_spcDo_spcNot_spcContact_spcFlag"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="MDT_spcDART_spcDo_spcNot_spcTrack_spcFlag"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="MDT_spcDART_spcDuplicate_spcFlag" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="MDT_spcDART_spcEmail_spcUndeliverable_spcFlag"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="MDT_spcDART_spcMedtronic_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="MDT_spcDART_spcPatient_spcID" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="MDT_spcDART_spcPatient_spcID_spcType"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="MDT_spcDART_spcPrivacy_spcFlag" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="MDT_spcDART_spcProtected_spcFlag" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="MDT_spcDART_spcRefuse_spcSSN_spcFlag"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="MDT_spcDART_spcSpecial_spcNeeds" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="MDT_spcDistrict" type="xsd:string" minOccurs="0"/>
    <xsd:element name="MDT_spcITB" type="xsd:string" minOccurs="0"/>
    <xsd:element name="MDT_spcImplanter" type="xsd:string" minOccurs="0"/>
    <xsd:element name="MDT_spcKey_spcContact_spc1" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="MDT_spcKey_spcContact_spc2" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="MDT_spcKey_spcContact_spc3" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="MDT_spcKey_spcContact_spcType" type="xsd:string"/>
    <xsd:element name="MDT_spcMGU_spcDecile" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="MDT_spcMGU_spcDecile_spcType" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="MDT_spcMGU_spcDrug_spcDescription"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="MDT_spcMGU_spcMultiple_spcProcedures"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="MDT_spcMGU_spcNRx" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="MDT_spcMGU_spcTRx" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="MDT_spcMGU_spcTherapy_spcMix" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="MDT_spcManaging_spcPhysician" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="MDT_spcMedtronic_spcfaculty_spcflag"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="MDT_spcNational_spcRank" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="MDT_spcNeuro_spcSegType" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="MDT_spcNum_spcPatients" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="MDT_spcNum_spcPatients_spcManaged_slhReferred"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="MDT_spcNum_spcof_spcProgrammers" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="MDT_spcPain_spcPump" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="MDT_spcPain_spcStim" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="MDT_spcPatient_spcMgmt_spcCoordinator_spcFlag"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="MDT_spcPatient_spcType" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="MDT_spcPhysician_spcFinder_spcFlag"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="MDT_spcPrimary_spcContact_spcAgreement_spcId"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="MDT_spcProf_spcAssn" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="MDT_spcProgrammer_spcFlag" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="MDT_spcProjected_spcClaims" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="MDT_spcRDT" type="xsd:string" minOccurs="0"/>
    <xsd:element name="MDT_spcRegion" type="xsd:string" minOccurs="0"/>
    <xsd:element name="MDT_spcRole" type="xsd:string" minOccurs="0"/>
    <xsd:element name="MDT_spcSegType" type="xsd:string" minOccurs="0"/>
    <xsd:element name="MDT_spcSource_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="MDT_spcSource_spcName" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="MDT_spcSpeaker_spcFlag" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="MDT_spcSpeakerComp_spcFlag" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="MDT_spcTargeted" type="xsd:string" minOccurs="0"/>
    <xsd:element name="MDT_spcTherapy" type="xsd:string" minOccurs="0"/>
    <xsd:element name="MDT_spcTrial" type="xsd:string" minOccurs="0"/>
    <xsd:element name="MDT_spcVisited_spcHQ_spcFlag" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="MDTAnalyticsImplanterProfile" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="MDTMGUContactAnalyticsReport" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="MDTMGUContactBOReport" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="MDTMGUTgtReadOnly" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="MDTNeuroContactAnalyticsReport" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="MDTNeuroContactBOReport" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="MDTReadOnly" type="xsd:string" minOccurs="0"/>
    <xsd:element name="MDTTgtReadOnly" type="xsd:string" minOccurs="0"/>
    <xsd:element name="MDU_spcMGU_spcDrug_spcDescription"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="ME_spcSpeaker_spcFlag" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="MVG_spcPrimary_spcEmployee_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Maiden_spcName" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Mail_spcStop" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Mail_spcType_spcCode" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Manager" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Manager_spcFirst_spcName" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Manager_spcId" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Manager_spcIntegration_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Manager_spcLast_spcName" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Manager_spcMiddle_spcName" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Manager_spcPrimary_spcOrganization"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Manager_spcPrimary_spcOrganization_spcId"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Manager_spcTenure" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Manager_spcUId" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Marital_spcStatus" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Market_spcCap_spcPref" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Market_spcPotential" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Market_spcSegment" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Married" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Mega_spcPhysician" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Member_spcFlag" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Member_spcNumber" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Memberships" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Merge_spcSequence_spcNumber" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Middle_spcName" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Mobile_spcPhone_spcTxt_spcAddress"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Mode" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Months_spcat_spcResidence" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Mother_spcMaiden_spcName" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="My_spcPosition_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="No_spcNew_spcOutBound_spcEmail_spcActivities"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Number_spcOf_spcDependents" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Number_spcof_spcImplants" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Number_spcof_spcMDT_spcImplants" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Number_spcof_spcReferrals" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Number_spcof_spcYears_spcat_spcSchool"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="OK_spcTo_spcSample" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Opportunity" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Opportunity_spcAccount" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Opportunity_spcAccount_spcLocation"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Opportunity_spcContact_spcComment"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Opportunity_spcEnd_spcDate" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Opportunity_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Opportunity_spcStart_spcDate" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Org_spcStatus" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Organization" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Organization_spcDummy" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Organization_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Organization_spcIntegration_spcId"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Original_spcCreate_spcDate" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Other_spcID_spcExpiration_spcDate"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Other_spcID_spcNumber" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Other_spcID_spcState" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Other_spcID_spcType" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Overall_spcInvestment_spcObjective"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Own_spcor_spcRent" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Owned_spcBy" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Owned_spcBy_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Ownership_spcInd." type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="PIM_spcCurrent_spcUser_spcSync_spcFlag"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="PIM_spcSync_spcOwner" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="PT_spcMember_spcFlag" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Page_spc_pnd" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Pager_spcTxt_spcAddress" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Par_spcOppty_spcName" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Parent_spcOppty_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Partnership_spcContact_spcFlag" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Partnership_spcKey_spcContact_spcFlag"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Party_spcName" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Party_spcType_spcCode" type="xsd:string"/>
    <xsd:element name="Party_spcUId" type="xsd:string"/>
    <xsd:element name="Password" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Percent_spcOwned" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Permenant_spcResident" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Permission_spcfor_spcMDT_spcTo_spcContact"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Persistency_spcRatio" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Person_spcUId" type="xsd:string"/>
    <xsd:element name="Personal_spcAddress_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Personal_spcAddress_spcIntegration_spcId"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Personal_spcAddress_spcName" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Personal_spcAddress_spcStart_spcDate"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Personal_spcAgenda" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Personal_spcCity" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Personal_spcContact" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Personal_spcCountry" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Personal_spcFull_spcAddress" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Personal_spcPostal_spcCode" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Personal_spcProvince" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Personal_spcState" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Personal_spcStreet_spcAddress" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Personal_spcStreet_spcAddress_spc2"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Personal_spcUse_spcof_spcService" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Personal_spcWin" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Personality" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Pharma_spcApp" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Photograph_spcAvailable_spcFlag" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="PhysNum" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Place_spcof_spcBirth" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Political_spcAnalysis" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Political_spcStrategy" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Position" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Position_spcId" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Position_spcIntegration_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Position_spcLast_spcCall_spcDate" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Position_spcPrimary_spcAddress_spcId"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Position_spcStatus" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Postal_spcCode" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Pr_spcEmp_spcof_spcContact_spcPr_spcPostn"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Practice_spcEmail" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Practice_spcExperience" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Practice_spcInterest" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Preferred_spcCommunication_spcMethod"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Preferred_spcCommunications" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Preferred_spcEmail" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Preferred_spcLanguage_spcCode" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Preferred_spcMethod_spcof_spcSales_slhService_spcFollow_spcUp"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Preferred_spcMethod_spcof_spcService_spcReminder"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Preferred_spcName" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Preferred_spcPhone_spcType" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Prescriber_spcFlag" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Presenter_spcLevel" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Presenter_spcTitle" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Previous_spcJobs" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Price_spcList" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Price_spcList_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Price_spcList_spcIntegration_spcId"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Primary_spcAccount_spcAddress_spcId"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Primary_spcAccount_spcName" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Primary_spcAddress_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Primary_spcAddress_spcIntegration_spcId"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Primary_spcAddress_spcMod_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Primary_spcAffiliation" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Primary_spcAlternate_spcEmail_spcId"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Primary_spcAlternate_spcPhone_spcId"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Primary_spcArea_spcof_spcExpertise_spcId"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Primary_spcAsset_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Primary_spcAssignment_spcDenorm_spcFlag"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Primary_spcAssignment_spcManual_spcFlag"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Primary_spcAssignment_spcSystem_spcFlag"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Primary_spcCategory_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Primary_spcCity" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Primary_spcCountry" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Primary_spcCourse_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Primary_spcDecile_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Primary_spcDegree_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Primary_spcDesignation_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Primary_spcEmployee_spcId_spcOf_spcPrimary_spcCompany_spcPosition"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Primary_spcEmployee_spcId_spcOf_spcPrimary_spcContact_spcPosition"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Primary_spcEmployee_spcLogin_spcOf_spcPrimary_spcCompany_spcPosition"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Primary_spcEmployee_spcLogin_spcOf_spcPrimary_spcContact_spcPosition"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Primary_spcFax_spcNumber_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Primary_spcFinancial_spcGoals" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Primary_spcGroup_slhHousehold_spcId"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Primary_spcHobby_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Primary_spcHousehold" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Primary_spcIdentity_spcFirst_spcName"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Primary_spcIdentity_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Primary_spcIdentity_spcLast_spcName"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Primary_spcImage_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Primary_spcIndustry" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Primary_spcIndustry_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Primary_spcLocators_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Primary_spcMembership_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Primary_spcNote_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Primary_spcOpportunity_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Primary_spcOrganization" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Primary_spcOrganization_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Primary_spcOther_spcID_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Primary_spcPIM_spcSync_spcOwner_spcId"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Primary_spcPatPopu_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Primary_spcPersonal_spcAddress_spcId"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Primary_spcPersonal_spcAddress_spcIndicator"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Primary_spcPersonal_spcCity" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Primary_spcPersonal_spcCountry" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Primary_spcPersonal_spcPayment_spcProfile_spcId"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Primary_spcPersonal_spcPostal_spcCode"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Primary_spcPersonal_spcState" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Primary_spcPersonal_spcStreet_spcAddress"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Primary_spcPersonal_spcZip" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Primary_spcPosition_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Primary_spcPosition_spcId_spcOf_spcCompany"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Primary_spcPostal_spcCode" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Primary_spcProduct_spcLine_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Primary_spcProfAssn_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Primary_spcResponsibility_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Primary_spcSMS_spcNumber_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Primary_spcSecurity_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Primary_spcSegmentation_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Primary_spcService_spcAgreement_spcId"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Primary_spcSoftware_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Primary_spcSpecial_spcNeeds_spcId"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Primary_spcSpecialty" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Primary_spcSpecialty_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Primary_spcState" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Primary_spcState_spcLicense_spcId"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Primary_spcStreet_spcAddress" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Primary_spcSub_spcSpecialty_spcId"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Primary_spcTerritory_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Primary_spcTherapy_spcMix_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Primary_spcTraining_spcInterests_spcId"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Primary_spcTraining_spcLocStateCoun_spcId"
    type="xsd:string" minOccurs="0"/>
    <xsd:element name="Priority_spcFlag" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Privacy_spcCode" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Privacy_spcCode_spcURL" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Procedures_spcor_spcImplants" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Product_spcLine" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Professional_spcSkill" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Profile_spcReview_spcDate" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Profile_spcReviewed_spcBy" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Profile_spcStatus" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Project_spcAccount_spcId" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Project_spcContact_spcComment" type="xsd:string"
    minOccurs="0"/>
    <xsd:element name="Project_spcId" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Project_spcName" type="xsd:string" minOccurs="0"/>
    <xsd:element n

  • Problem in XML Parsing via oracle procedure...

    Hi,
    I wrote one oracle procedure for xml parsing.
    I have one valid xml file which has "encode UTF-8". The XML file contains some comments also. While we are parsing the xml file at that time it is not parse successfully and also it is not giving any error. After the following line it is skip rest of the codes(lines).
    dbms_xmlparser.parseclob(l_parser, l_clob);
    At the end of the xml file there are some comments which is like "<!-- abc --> ".
    When I am changing the "encode UTF-8 to ISO-88596-1" & removing the comments which wrote on bottom of the file then its working fine, but the files which we are getting from the system is contains the encode UTF-8 and we don't want to preprocess on that xml files. Even if we will do that via shell script or perl script then it will be overhead to the system and in a single stroke our system will parse more than 5k xml files, so if we will do some preprocess on it, it will take some more time approx 1-2 minutes extra.
    So, If someone knows any solution of this problem, then please guide & help me on this.
    My xml file structure is as follows:-
    <?xml version="1.0" encoding="UTF-8"?>
    <mcd xmlns:HTML="http://www.w3.org/TR/REC-xml">
         <child>
              <child1>32.401 V5.5</child1>
              <child2>ZoneGate</child2>
         </child>
         <mc>
              <newid>
                   <id>12</id>
              </newid>
              <mindex>
                   <date>20111102180000</date>
                   <mt>abc1</mt>
                   <mt>abc2</mt>
                   <mvalue>
                        <r>val_1</r>
                        <r>val_2</r>
                   </mvalue>
              </mindex>
         </mc>
    </mcd>
    <!--
    ALARM STATUS
    morning 10
    afternoon 14
    evening 18
    night 22
    -->
    <!--
    PARAM:EID = 1
    PARAM:GId = 3
    PARAM:GSId = 0
    --!>
    And my oracle procedure is as follows:-
    create or replace procedure loadXMLtotable(dir_name IN varchar2, xmlfile IN varchar2) AS
    -- Defining the variables
    ecode               NUMBER;
    emesg           VARCHAR2(200);
    l_bfile      BFILE;
    l_clob      CLOB;
    l_dest_offset      INTEGER:=1;
    l_src_offset      INTEGER:=1;
    l_Char_set_id      NUMBER := NLS_CHARSET_ID('UTF8');
    l_lang_context      INTEGER := dbms_lob.default_lang_ctx;
    l_warning           INTEGER;
    l_parser dbms_xmlparser.Parser;
    l_doc dbms_xmldom.DOMDocument;
    l_nl1 dbms_xmldom.DOMNodeList;
    l_nl2 dbms_xmldom.DOMNodeList;
    l_n dbms_xmldom.DOMNode;
    node1 dbms_xmldom.DOMNode;
    colid integer ; -- column id used for identifying which column it belongs.
    l_xmltype XMLTYPE;
    sub_xmltype XMLTYPE;
    num_nodes number;
    l_index PLS_INTEGER;
    l_subIndex           PLS_INTEGER;
    starttime Date;
         temp_datatime VARCHAR(25);
    columnname varchar2(300);
    columnvalue varchar2(300);
    -- creating a Type which is a type of "test_hem" table RowType, which I created in SVN server
    TYPE tab_type IS TABLE OF test_hem%ROWTYPE;
    t_tab tab_type := tab_type();
    BEGIN
    -- Passing the xmlfile and virtual directory name which we gave at the time of directory creation
    l_bfile := BFileName('MY_FILES', xmlfile);
    dbms_lob.createtemporary(l_clob, cache=>FALSE);
    dbms_lob.open(l_bfile, dbms_lob.lob_readonly);
    --dbms_lob.loadFromFile(dest_lob => l_clob,
    -- src_lob => l_bfile,
    -- amount => dbms_lob.getLength(l_bfile));
    dbms_lob.loadclobfromfile(l_clob, l_bfile, dbms_lob.getlength(l_bfile),
    l_dest_offset, l_src_offset, l_Char_set_id, l_lang_context, l_warning);
    dbms_lob.close(l_bfile);
    -- make sure implicit date conversions are performed correctly
    dbms_session.set_nls('NLS_DATE_FORMAT','''YYYY-MON-DD HH24:MI:SS''');
    dbms_output.put_line('Date format set');
    -- Create a parser.
    l_parser := dbms_xmlparser.newParser;
    dbms_output.put_line('output 1');
    -- Parse the document and create a new DOM document.
    dbms_xmlparser.parseclob(l_parser, l_clob);
    dbms_output.put_line(' passed parsing');
    l_doc := dbms_xmlparser.getDocument(l_parser);
    dbms_output.put_line(' passed getdocument');
    -- Free resources associated with the CLOB and Parser now they are no longer needed.
    dbms_lob.freetemporary(l_clob);
    dbms_xmlparser.freeParser(l_parser);
    -- Get a list of all the EMP nodes in the document using the XPATH syntax.
    l_nl1 := dbms_xslprocessor.selectNodes(dbms_xmldom.makeNode(l_doc),'//mcd/child');
    -- Loop through the list and create a new record in a tble collection
    FOR cur_sel IN 0 .. dbms_xmldom.getLength(l_nl1) - 1 LOOP
    l_n := dbms_xmldom.item(l_nl1, cur_sel);
    t_tab.extend;
    -- Use XPATH syntax to assign values to he elements of the collection.
    dbms_xslprocessor.valueOf(l_n,'child1/text()',t_tab(t_tab.last).country);
    -- putting the state and vendorname into the table rowtype
    dbms_xslprocessor.valueOf(l_n,'child2/text()',t_tab(t_tab.last).state);
    END LOOP;
    -- getting the version and putting into the table rowtype
    l_n := dbms_xslprocessor.selectSingleNode(dbms_xmldom.makeNode(l_doc),'//mcd/mc/newid/id');
    dbms_xslprocessor.valueOf(l_n,'id/text()',t_tab(t_tab.last).id);
    -- selecting the nodes whose starting tag is "mindex"
    l_nl1 := dbms_xslprocessor.selectNodes(dbms_xmldom.makeNode(l_doc),'//mcd/mc/mindex');
    -- checking the total number of nodes whose starting through "mi"
    num_nodes := dbms_xmldom.getLength(l_nl1);
    l_index := 1;
    -- For loop to iterate the nodes.
    FOR cur_sel IN 0 .. dbms_xmldom.getLength(l_nl1) - 1 LOOP
    -- whole current node is selected and storing into the node1 variable
    node1 := dbms_xmldom.item(l_nl1, cur_sel);
    -- setting the xmltype as AL32UTF8
    l_xmltype := xmltype(l_bfile, nls_charset_id('AL32UTF8'));
    -- if selecting parent node containing the mt child node then only proceed else skip that parent node.
    IF (l_xmltype.Existsnode('//mcd/mc/mindex[' || l_index || ']/mt') > 0 and l_xmltype.Existsnode('//mcd/mc/mindex[' || l_index || ']/mvalue/r') > 0) Then
    -- fetch the datatime, convert it into to_date format and store it into table rowtype
    temp_datatime := dbms_xslprocessor.valueOf(node1, 'date/text()');
    t_tab(t_tab.last).data_time := to_char(to_date(temp_datatime, 'YYYYMmcDHH24MISS'));
    l_subIndex := 1;
                                  while (l_xmltype.Existsnode('//mcd/mc/mindex[' || l_index || ']/mt[' || l_subIndex || ']') > 0 and l_xmltype.Existsnode('//mcd/mc/mindex[' || l_index || ']/mvalue/r['|| l_subIndex || ']') > 0 ) LOOP
                                  -- getting mt and corresponging mvalue/r values
    dbms_xslprocessor.valueOf(node1,'mt[' || l_subIndex || ']/text()',columnname);
    dbms_xslprocessor.valueOf(node1,'mvalue/r[' || l_subIndex || ']/text()',columnvalue);
    l_subIndex := l_subIndex + 1;
    -- getting the column to which this mapping belongs.
    select columnid into colid from abc_table where columnname=name;
    CASE colid
    WHEN 1 THEN t_tab(t_tab.last).col1 := columnvalue;
                             WHEN 2 THEN t_tab(t_tab.last).col2 := columnvalue;
                             WHEN 3 THEN t_tab(t_tab.last).col3 := columnvalue;
    ELSE dbms_output.put_line('No column mapping for counter ' || columnname) ;
    END CASE; -- end of case statement.
    END LOOP;
    -- Insert data into the real table from the table collection.
    FORALL i IN t_tab.first .. t_tab.last
    INSERT INTO test_hem VALUES t_tab(i);
    END IF;
    l_index := l_index + 1;
    COMMIT;
    END LOOP;
    commit;
    EXCEPTION
    WHEN OTHERS THEN
    ecode := SQLCODE;
    emesg := SQLERRM;
    dbms_output.put_line(TO_CHAR(ecode) || '-' || emesg);
         dbms_lob.freetemporary(l_clob);
         dbms_xmlparser.freeParser(l_parser);
         dbms_xmldom.freeDocument(l_doc);
    END;

    Sorry Odie,
    I am new to this site as well as PL/SQL. I am giving additional details which you had mentioned in your last comments.
    our Oracle Database version is "10.2.0.4.0"
    The structure of target table Instrument_Details is as follows:
    Create table Instrument_Details (
    instrument_id          Integer  Primary Key,
    provider_name          Varchar2(32),
    version_number          Varchar2(32),
    location_id                  Integer,
    installation_date             Date,
    granularity                  Integer,
    time_out                  Integer );
    Note:- Here test_hem is alias of Instrument_details.
    Here instrument_id is a primary key.
    provider_name contains the child2 xml tag value.
    version_number contains the child1 xml tag value.
    location_id contains the newid/id value which is map to other table which fetching the location name corresponding to the location_id.
    installation_date contains the date xml tag value.
    Now we have created one mapping tables where we mapped the xml tag values "mt" with table column name means "abc1 = granularity", "abc2 = time_out" in that table.
    these table column value are written under mvalue xml tag.
    _Our Database Character set is_:-
    NLS_CHARACTERSET WE8ISO8859P1
    Now as you suggest me to format your code. I am writing the xml code and procedure code again.
    My xml file structure is as follows:-
    <?xml version="1.0" encoding="UTF-8"?>
    <mcd xmlns:HTML="http://www.w3.org/TR/REC-xml">
      <child>
          <child1>32.401 V5.5</child1>
          <child2>ZoneGate</child2>
      </child>
      <mc>
          <newid>
               <id>12</id>
          </newid>
      <mindex>
           <date>20111102180000</date>
           <mt>abc1</mt>
           <mt>abc2</mt>
           <mvalue>
                 <r>val_1</r>   -- here val_1 and val_2 are numeric values
                 <r>val_2</r>
            </mvalue>
      </mindex>
      </mc>
    </mcd>
    <!--
    ALARM STATUS
    morning 10
    afternoon 14
    evening 18
    night 22
    -->
    <!--
    PARAM:EID = 1
    PARAM:GId = 3
    PARAM:GSId = 0
    --!> And my oracle procedure is as follows:-
    create or replace procedure loadXMLtotable(dir_name IN varchar2, xmlfile IN varchar2) AS
    -- Defining the variables
    ecode NUMBER;
    emesg VARCHAR2(200);
    l_bfile BFILE;
    l_clob CLOB;
    l_dest_offset INTEGER:=1;
    l_src_offset INTEGER:=1;
    l_Char_set_id NUMBER := NLS_CHARSET_ID('UTF8');
    l_lang_context INTEGER := dbms_lob.default_lang_ctx;
    l_warning INTEGER;
    l_parser dbms_xmlparser.Parser;
    l_doc dbms_xmldom.DOMDocument;
    l_nl1 dbms_xmldom.DOMNodeList;
    l_nl2 dbms_xmldom.DOMNodeList;
    l_n dbms_xmldom.DOMNode;
    node1 dbms_xmldom.DOMNode;
    colid integer ; -- column id used for identifying which column it belongs.
    l_xmltype XMLTYPE;
    sub_xmltype XMLTYPE;
    num_nodes number;
    l_index PLS_INTEGER;
    l_subIndex PLS_INTEGER;
    starttime Date;
    temp_datatime VARCHAR(25);
    columnname varchar2(300);
    columnvalue varchar2(300);
    -- creating a Type which is a type of "Instrument_Details" table RowType, which I created in SVN server
    TYPE tab_type IS TABLE OF Instrument_Details%ROWTYPE;
    t_tab tab_type := tab_type();
    BEGIN
    -- Passing the xmlfile and virtual directory name which we gave at the time of directory creation
    l_bfile := BFileName('MY_FILES', xmlfile);
    dbms_lob.createtemporary(l_clob, cache=>FALSE);
    dbms_lob.open(l_bfile, dbms_lob.lob_readonly);
    --dbms_lob.loadFromFile(dest_lob => l_clob,
    -- src_lob => l_bfile,
    -- amount => dbms_lob.getLength(l_bfile));
    dbms_lob.loadclobfromfile(l_clob, l_bfile, dbms_lob.getlength(l_bfile),
    l_dest_offset, l_src_offset, l_Char_set_id, l_lang_context, l_warning);
    dbms_lob.close(l_bfile);
    -- make sure implicit date conversions are performed correctly
    dbms_session.set_nls('NLS_DATE_FORMAT','''YYYY-MON-DD HH24:MI:SS''');
    dbms_output.put_line('Date format set');
    -- Create a parser.
    l_parser := dbms_xmlparser.newParser;
    dbms_output.put_line('output 1');
    -- Parse the document and create a new DOM document.
    dbms_xmlparser.parseclob(l_parser, l_clob);
    *-- Below lines are skipping....*
    dbms_output.put_line(' passed parsing');
    l_doc := dbms_xmlparser.getDocument(l_parser);
    dbms_output.put_line(' passed getdocument');
    -- Free resources associated with the CLOB and Parser now they are no longer needed.
    dbms_lob.freetemporary(l_clob);
    dbms_xmlparser.freeParser(l_parser);
    -- Get a list of all the EMP nodes in the document using the XPATH syntax.
    l_nl1 := dbms_xslprocessor.selectNodes(dbms_xmldom.makeNode(l_doc),'//mcd/child');
    -- Loop through the list and create a new record in a tble collection
    FOR cur_sel IN 0 .. dbms_xmldom.getLength(l_nl1) - 1 LOOP
    l_n := dbms_xmldom.item(l_nl1, cur_sel);
    t_tab.extend;
    -- Use XPATH syntax to assign values to he elements of the collection.
    dbms_xslprocessor.valueOf(l_n,'child1/text()',t_tab(t_tab.last).country);
    -- putting the state and vendorname into the table rowtype
       dbms_xslprocessor.valueOf(l_n,'child2/text()',t_tab(t_tab.last).state);
    END LOOP;
    -- getting the version and putting into the table rowtype
       l_n := dbms_xslprocessor.selectSingleNode(dbms_xmldom.makeNode(l_doc),'//mcd/mc/newid/id');
      dbms_xslprocessor.valueOf(l_n,'id/text()',t_tab(t_tab.last).id);
    -- selecting the nodes whose starting tag is "mindex"
      l_nl1 := dbms_xslprocessor.selectNodes(dbms_xmldom.makeNode(l_doc),'//mcd/mc/mindex');
    -- checking the total number of nodes whose starting through "mi"
      num_nodes := dbms_xmldom.getLength(l_nl1);
    l_index := 1;
      -- For loop to iterate the nodes.
      FOR cur_sel IN 0 .. dbms_xmldom.getLength(l_nl1) - 1 LOOP
      -- whole current node is selected and storing into the node1 variable
      node1 := dbms_xmldom.item(l_nl1, cur_sel);
      -- setting the xmltype as AL32UTF8
       l_xmltype := xmltype(l_bfile, nls_charset_id('AL32UTF8'));
      -- if selecting parent node containing the mt child node then only proceed else skip that parent node.
        IF (l_xmltype.Existsnode('//mcd/mc/mindex[' || l_index || ']/mt') > 0 and l_xmltype.Existsnode('//mcd/mc/mindex[' || l_index || ']/mvalue/r') > 0) Then
      -- fetch the datatime, convert it into to_date format and store it into table rowtype
        temp_datatime := dbms_xslprocessor.valueOf(node1, 'date/text()');
        t_tab(t_tab.last).data_time := to_char(to_date(temp_datatime, 'YYYYMmcDHH24MISS'));
        l_subIndex := 1;
       while (l_xmltype.Existsnode('//mcd/mc/mindex[' || l_index || ']/mt[' || l_subIndex || ']') > 0 and l_xmltype.Existsnode('//mcd/mc/mindex[' || l_index || ']/mvalue/r['|| l_subIndex || ']') > 0 ) LOOP
    -- getting mt and corresponging mvalue/r values
       dbms_xslprocessor.valueOf(node1,'mt[' || l_subIndex || ']/text()',columnname);
      dbms_xslprocessor.valueOf(node1,'mvalue/r[' || l_subIndex || ']/text()',columnvalue);
      l_subIndex := l_subIndex + 1;
      -- getting the column to which this mapping belongs.
      select columnid into colid from abc_table where columnname=name;
      CASE colid
      WHEN 1 THEN t_tab(t_tab.last).col1 := columnvalue;
      WHEN 2 THEN t_tab(t_tab.last).col2 := columnvalue;
      WHEN 3 THEN t_tab(t_tab.last).col3 := columnvalue;
          ELSE dbms_output.put_line('No column mapping for counter ' || columnname) ;
      END CASE; -- end of case statement.
      END LOOP;
    -- Insert data into the real table from the table collection.
      FORALL i IN t_tab.first .. t_tab.last
        INSERT INTO test_hem VALUES t_tab(i);
      END IF;
      l_index := l_index + 1;
    COMMIT;
    END LOOP;
    commit;
    EXCEPTION
      WHEN OTHERS THEN
      ecode := SQLCODE;
      emesg := SQLERRM;
      dbms_output.put_line(TO_CHAR(ecode) || '-' || emesg);
      dbms_lob.freetemporary(l_clob);
      dbms_xmlparser.freeParser(l_parser);
      dbms_xmldom.freeDocument(l_doc);
    END;Thanks in advance for your help...

Maybe you are looking for

  • Background Jobs are failing

    Hi Gurus, Below are the jobs which are being failed in our solution manager system since two weeks with error " Logon of user 'DDAWES' in cleint 100 failed.  Found that user got locked due to some auditing reasons and i had changed the background job

  • IMac headphone jack stopped working (Part 2)

    Following my earlier post 2 days ago, even though it seems I'm just talking to myself, - just in case anyone is interested out there: I'm attributing this fault to a software error. The 'headphone' option re-appears from time to time for selection fr

  • Can  i have a connected mode with lightroom 5 for my SONY SLT-A77V ?

    can  i have a connected mode with lightroom 5 for my SONY SLT-A77V ? thanks for anwers.

  • Updating properties on Tooltips / FX Application Thread

    Hi all. First post, novice JavaFX developer. Long story short, I have some nodes on which I've installed tooltips, like so: tooltip = new Tooltip() Tooltip.install(node, tooltip) The node here could be any of a set of graphical elements. Each element

  • Is anyone here using the Aperture to pBase export plugin?

    And figured out how to make it work without crashing? What a great little plug in and timesaver! I just wish I could get it to work without crashing Aperture every time I try to export even one photo. Maybe I need to switch to another photo site.....