XML validation gives ORA-30937

Hi,
Could some one look at this as I am getting ORA-30937 while validating XML with a registered schema.
Thanks in advance.
Parappa
SQL> DECLARE
2 doc varchar2(3800) :=
3 '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
4 <xs:schema targetNamespace="http://ibtco.com/common/exception/stack" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:stack="http://ibtco.com/common/exception/stack" elementFormDefault="qualified" attributeFormDefault="unqualified">
5 <xs:complexType name="StackTextType">
6 <xs:annotation>
7 <xs:documentation>
8 for holding the string information in exception
9 </xs:documentation>
10 </xs:annotation>
11 <xs:simpleContent>
12 <xs:extension base="xs:string"/>
13 </xs:simpleContent>
14 </xs:complexType>
15 <xs:complexType name="StackElementType">
16 <xs:annotation>
17 <xs:documentation>
18 for holding detail information in each stack element
19 </xs:documentation>
20 </xs:annotation>
21 <xs:attribute name="Class" type="xs:Name" use="required"/>
22 <xs:attribute name="Method" type="xs:Name" use="required"/>
23 <xs:attribute name="LineNumber" type="xs:unsignedInt" use="required"/>
24 <xs:attribute name="File" type="xs:Name" use="optional"/>
25 <xs:attribute name="Native" type="xs:boolean" use="optional" default="false"/>
26 </xs:complexType>
27 <xs:complexType name="StackDetailType">
28 <xs:annotation>
29 <xs:documentation>
30 for holding information in the stack trace
31 </xs:documentation>
32 </xs:annotation>
33 <xs:sequence>
34 <xs:element name="Element" type="stack:StackElementType" maxOccurs="unbounded"/>
35 </xs:sequence>
36 <xs:attribute name="Truncate" type="xs:boolean" use="optional" default="false"/>
37 </xs:complexType>
38 <xs:complexType name="RootExceptionType">
39 <xs:annotation>
40 <xs:documentation>
41 for holding the stack trace information for each exception
42 </xs:documentation>
43 </xs:annotation>
44 <xs:sequence>
45 <xs:element name="Message" type="xs:string"/>
46 <xs:choice>
47 <xs:element name="StackDetail" type="stack:StackDetailType"/>
48 <xs:element name="StackText" type="stack:StackTextType"/>
49 </xs:choice>
50 </xs:sequence>
51 <xs:attribute name="Type" type="xs:NCName" use="required"/>
52 </xs:complexType>
53 <xs:complexType name="WrapperExceptionType">
54 <xs:annotation>
55 <xs:documentation>
56 for defining top level element for exception stack
57 </xs:documentation>
58 </xs:annotation>
59 <xs:sequence>
60 <xs:element name="Message" type="xs:string"/>
61 </xs:sequence>
62 <xs:attribute name="Type" type="xs:NCName" use="required"/>
63 </xs:complexType>
64 <xs:element name="ExceptionStack">
65 <xs:annotation>
66 <xs:documentation>
67 top level element exception stack
68 </xs:documentation>
69 </xs:annotation>
70 <xs:complexType>
71 <xs:sequence>
72 <xs:element name="RootException" type="stack:RootExceptionType"/>
73 <xs:element name="WrapperException" type="stack:WrapperExceptionType" minOccurs="0" maxOccurs="unbounded"/>
74 </xs:sequence>
75 </xs:complexType>
76 </xs:element>
77 </xs:schema>';
78 BEGIN
79 dbms_xmlschema.registerSchema('http://ibtco.com/common/exception/stack', doc);
80 END;
81 /
PL/SQL procedure successfully completed.
Elapsed: 00:00:00.07
SQL> DECLARE
2
3 l_errormsgid VARCHAR2(30);
4 l_errorinfo VARCHAR2(100);
5 l_error_context CLOB; -- Error Stack
6 l_error_context_data CLOB; -- XML Context
7 l_var_xml_context VARCHAR2(4000);
8 l_var_error_stack VARCHAR2(4000);
9 l_sqlCode UTL_ERROR_LOGS.ERROR_CODE%TYPE;
10 p_ErrorMsgId NUMBER := '0';
11 p_ErrorInfo VARCHAR2(2000):= 'SUCCESS';
12 l_xml_context SYS.XMLTYPE;
13 l_count number :=0;
14 l_ret NUMBER;
15 BEGIN
16
17
18
19 -- Store XML in a clob
20
21 l_var_error_stack :=
22 '<?xml version="1.0" encoding="UTF-8"?>
23 <!--Sample XML file generated by XMLSpy v2005 sp1 U (http://www.xmlspy.com)-->
24 <ExceptionStack
25 xmlns="http://ibtco.com/common/exception/stack"
26 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
27 xsi:schemaLocation="http://ibtco.com/common/exception/stack
28 http://ibtco.com/common/exception/stack"
29 >
30 <Exception Type="RootCauseException">
31 <Message>Exception Message</Message>
32 <StackDetail Truncate="false">
33 <Element LineNumber="0" File="Exception.java" Class="com.ibtco.common.exception.ExceptionManager" Method="manage" Native="false"/>
34 <Element LineNumber="0" File="Exception.java" Class="com.ibtco.common.exception.ExceptionHandler" Method="handle" Native="false"/>
35 <Element LineNumber="0" File="Exception.java" Class="com.ibtco.common.exception.Exception" Method="throw" Native="false"/>
36 </StackDetail>
37 </Exception>
38 <Cause Type="WrappedException">
39 <Message>String</Message>
40 <StackDetail/>
41 </Cause>
42 <Cause Type="AnotherWrappedException">
43 <Message>String</Message>
44 <StackDetail/>
45 </Cause>
46 </ExceptionStack>';
47
48 DBMS_LOB.CREATETEMPORARY
49 (
50 lob_loc => l_error_context,
51 cache => TRUE
52 );
53
54 DBMS_LOB.WRITE
55 (
56 lob_loc =>l_error_context,
57 amount => length(l_var_error_stack),
58 offset => 1,
59 buffer => l_var_error_stack
60 );
61
62 l_xml_context := XMLTYPE(l_error_context);
63
64
65 -- validate against XML schema
66 --l_xml_context.schemavalidate();
67 l_ret := l_xml_context.isschemavalid('http://ibtco.com/common/exception/stack');
68 IF l_ret = 1 then
69 dbms_output.put_line('Data is valid:' || l_ret );
70 ELSE
71 dbms_output.put_line('Data is invalid:' || l_ret);
72 END IF;
73 END;
74 /
DECLARE
ERROR at line 1:
ORA-30937: No schema definition for 'Exception' (namespace 'http://ibtco.com/common/exception/stack') in parent 'ExceptionStack'
ORA-06512: at "SYS.XMLTYPE", line 348
ORA-06512: at line 67
Elapsed: 00:00:00.00
SQL>
Here are the actual scripts:
DECLARE
doc varchar2(3800) :=
'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<xs:schema targetNamespace="http://ibtco.com/common/exception/stack" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:stack="http://ibtco.com/common/exception/stack" elementFormDefault="qualified" attributeFormDefault="unqualified">
     <xs:complexType name="StackTextType">
          <xs:annotation>
               <xs:documentation>
                    for holding the string information in exception
               </xs:documentation>
          </xs:annotation>
          <xs:simpleContent>
               <xs:extension base="xs:string"/>
          </xs:simpleContent>
     </xs:complexType>
     <xs:complexType name="StackElementType">
          <xs:annotation>
               <xs:documentation>
                    for holding detail information in each stack element
               </xs:documentation>
          </xs:annotation>
          <xs:attribute name="Class" type="xs:Name" use="required"/>
          <xs:attribute name="Method" type="xs:Name" use="required"/>
          <xs:attribute name="LineNumber" type="xs:unsignedInt" use="required"/>
          <xs:attribute name="File" type="xs:Name" use="optional"/>
          <xs:attribute name="Native" type="xs:boolean" use="optional" default="false"/>
     </xs:complexType>
     <xs:complexType name="StackDetailType">
          <xs:annotation>
               <xs:documentation>
                    for holding information in the stack trace
               </xs:documentation>
          </xs:annotation>
          <xs:sequence>
               <xs:element name="Element" type="stack:StackElementType" maxOccurs="unbounded"/>
          </xs:sequence>
          <xs:attribute name="Truncate" type="xs:boolean" use="optional" default="false"/>
     </xs:complexType>
     <xs:complexType name="RootExceptionType">
          <xs:annotation>
               <xs:documentation>
                    for holding the stack trace information for each exception
               </xs:documentation>
          </xs:annotation>
          <xs:sequence>
               <xs:element name="Message" type="xs:string"/>
               <xs:choice>
                    <xs:element name="StackDetail" type="stack:StackDetailType"/>
                    <xs:element name="StackText" type="stack:StackTextType"/>
               </xs:choice>
          </xs:sequence>
          <xs:attribute name="Type" type="xs:NCName" use="required"/>
     </xs:complexType>
     <xs:complexType name="WrapperExceptionType">
          <xs:annotation>
               <xs:documentation>
                    for defining top level element for exception stack
               </xs:documentation>
          </xs:annotation>
          <xs:sequence>
               <xs:element name="Message" type="xs:string"/>
          </xs:sequence>
          <xs:attribute name="Type" type="xs:NCName" use="required"/>
     </xs:complexType>
     <xs:element name="ExceptionStack">
          <xs:annotation>
               <xs:documentation>
                    top level element exception stack
               </xs:documentation>
          </xs:annotation>
          <xs:complexType>
               <xs:sequence>
                    <xs:element name="RootException" type="stack:RootExceptionType"/>
                    <xs:element name="WrapperException" type="stack:WrapperExceptionType" minOccurs="0" maxOccurs="unbounded"/>
               </xs:sequence>
          </xs:complexType>
     </xs:element>
</xs:schema>';
BEGIN
dbms_xmlschema.registerSchema('http://ibtco.com/common/exception/stack', doc);
END;
-- Validate Error Stack XML
DECLARE
     l_errormsgid VARCHAR2(30);
     l_errorinfo VARCHAR2(100);
     l_error_context          CLOB; -- Error Stack
     l_error_context_data     CLOB;     -- XML Context
     l_var_xml_context     VARCHAR2(4000);
     l_var_error_stack     VARCHAR2(4000);
     l_sqlCode          UTL_ERROR_LOGS.ERROR_CODE%TYPE;
     p_ErrorMsgId NUMBER := '0';
     p_ErrorInfo VARCHAR2(2000):= 'SUCCESS';
     l_xml_context SYS.XMLTYPE;
     l_count number :=0;
l_ret     NUMBER;
BEGIN
     -- Store XML in a clob
     l_var_error_stack :=
'<?xml version="1.0" encoding="UTF-8"?>
<!--Sample XML file generated by XMLSpy v2005 sp1 U (http://www.xmlspy.com)-->
<ExceptionStack
xmlns="http://ibtco.com/common/exception/stack"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://ibtco.com/common/exception/stack
http://ibtco.com/common/exception/stack"
>
<Exception Type="RootCauseException">
<Message>Exception Message</Message>
<StackDetail Truncate="false">
<Element LineNumber="0" File="Exception.java" Class="com.ibtco.common.exception.ExceptionManager" Method="manage" Native="false"/>
<Element LineNumber="0" File="Exception.java" Class="com.ibtco.common.exception.ExceptionHandler" Method="handle" Native="false"/>
<Element LineNumber="0" File="Exception.java" Class="com.ibtco.common.exception.Exception" Method="throw" Native="false"/>
</StackDetail>
</Exception>
<Cause Type="WrappedException">
<Message>String</Message>
<StackDetail/>
</Cause>
<Cause Type="AnotherWrappedException">
<Message>String</Message>
<StackDetail/>
</Cause>
</ExceptionStack>';
     DBMS_LOB.CREATETEMPORARY
lob_loc => l_error_context,
cache => TRUE
     DBMS_LOB.WRITE
     lob_loc =>l_error_context,
     amount => length(l_var_error_stack),
     offset => 1,
     buffer => l_var_error_stack
     l_xml_context := XMLTYPE(l_error_context);
     -- validate against XML schema
     --l_xml_context.schemavalidate();
     l_ret := l_xml_context.isschemavalid('http://ibtco.com/common/exception/stack');
     IF l_ret = 1 then
          dbms_output.put_line('Data is valid:' || l_ret );
     ELSE
          dbms_output.put_line('Data is invalid:' || l_ret);
     END IF;
END;
/

You schema definition goes like this:
<xs:element name="ExceptionStack">
<xs:annotation>
<xs:documentation>
top level element exception stack
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="RootException" type="stack:RootExceptionType"/>
<xs:element name="WrapperException" type="stack:WrapperExceptionType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>and your document goes like this:
<ExceptionStack
xmlns="http://ibtco.com/common/exception/stack"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://ibtco.com/common/exception/stack
http://ibtco.com/common/exception/stack"
>
<Exception Type="RootCauseException">
<Message>Exception Message</Message>
<StackDetail Truncate="false">
.In your schema definition, you have not defined the element named "Exception" or element named "Cause", but are using it in your document. You need to fix either the schema definition or the document to make them consistent.
Message was edited by:
Kamal Kishore

Similar Messages

  • ORA-30937

    I want to copy a xml-document into the database. with 9.2.0.1 this works correctly but after upgrade to 9.2.0.4 it does not work and gives ORA-30937.
    Can anybody kindly help?
    Anna

    I found that for a 9.2.0.4 database "noNameSpaceSchemaLocation" has to be replaced with "noNamespaceSchemaLocation". Then it works.
    regards
    Anna

  • ORA-30937 when validating element referenced from included schema

    I've boiled my latest problem down to a simple test case. Basically it seems as though the included schema is the problem, but I can't figure out why:
    begin
    dbms_xmlschema.deleteSchema('http://www.forensic.gov.uk/eMessages/Pnclink/NDNA/testinclude.xsd', dbms_xmlschema.DELETE_CASCADE_FORCE);
    dbms_xmlschema.registerSchema('http://www.forensic.gov.uk/eMessages/Pnclink/NDNA/testinclude.xsd',
    '<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified" versionfiltered="1-00" id="NDNASimpleTypes">
    <xsd:complexType name="MessageHeaderType">
    <xsd:sequence>
    <xsd:element name="MESSAGE_NUMBER" type="xsd:long"/>
    <xsd:element name="MESSAGE_TYPE" type="MessageTypeType"/>
    <xsd:element name="MESSAGE_DATE" type="xsd:dateTime"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:simpleType name="MessageTypeType">
    <xsd:annotation>
    <xsd:documentation>The definition of the Sample Message Types</xsd:documentation>
    </xsd:annotation>
    <xsd:restriction base="xsd:string">
    <xsd:maxLength value="2"/>
    <xsd:enumeration value="CT"/>
    <xsd:enumeration value="CA"/>
    <xsd:enumeration value="CD"/>
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:schema>',TRUE,FALSE,FALSE,FALSE);
    dbms_xmlschema.deleteSchema('http://www.forensic.gov.uk/eMessages/Pnclink/NDNA/Test.xsd', dbms_xmlschema.DELETE_CASCADE);
    dbms_xmlschema.registerSchema('http://www.forensic.gov.uk/eMessages/Pnclink/NDNA/Test.xsd',
    '<xsd:schema xmlns="http://www.forensic.gov.uk/eMessages/Pnclink/NDNA" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.forensic.gov.uk/eMessages/Pnclink/NDNA" elementFormDefault="qualified" attributeFormDefault="unqualified" versionfiltered="1.0" id="Test">
    <xsd:include schemaLocation="http://www.forensic.gov.uk/eMessages/Pnclink/NDNA/testinclude.xsd"/>
    <xsd:element name="SAMPLE_MESSAGE">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="MESSAGE_HEADER" type="MessageHeaderType"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>',TRUE,TRUE,FALSE,FALSE);
    END;
    update xml_in
    set xml_data = xmltype ( '<?xml versionfiltered="1.0" encoding="UTF-8"?>
    <!--Sample XML file generated by XMLSpy v2005 rel. 3 U (http://www.altova.com)-->
    <SAMPLE_MESSAGE xmlns="http://www.forensic.gov.uk/eMessages/Pnclink/NDNA" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.forensic.gov.uk/eMessages/Pnclink/NDNA http://www.forensic.gov.uk/eMessages/Pnclink/NDNA/Test.xsd">
    <MESSAGE_HEADER>
    <MESSAGE_NUMBER>2147483647</MESSAGE_NUMBER>
    <MESSAGE_TYPE>CT</MESSAGE_TYPE>
    <MESSAGE_DATE>2001-12-17T09:30:47</MESSAGE_DATE>
    </MESSAGE_HEADER>
    </SAMPLE_MESSAGE>
    where msg_id = 8
    and I get the error:
    ORA-30937: No schema definition for 'MESSAGE_NUMBER' (namespace 'http://www.forensic.gov.uk/eMessages/Pnclink/NDNA') in parent 'MESSAGE_HEADER'
    ORA-06512: at "SYS.XMLTYPE", line 0
    ORA-06512: at line 27
    But if I remove the MESSAGE_NUMBER I get
    ORA-31154: invalid XML document
    ORA-19202: Error occurred in XML processing
    LSX-00213: only 0 occurrences of particle "MESSAGE_NUMBER", minimum is 1
    ORA-06512: at "SYS.XMLTYPE", line 0
    ORA-06512: at line 37
    So it knows there is supposed to be a particle called message_number if it's not there, but not what to do with it if it is.
    One other thing, which I think is significant: If I amend my test.xsd schema so I define MESSAGE_HEADER there, so the only thing being referenced from testinclude.xsd is the SIMPLE type "MessageTypeType", I don't have a problem. It seems to be only when I include COMPLEX types.
    Any suggestions?

    Dave
    I can't register the XML Schemas with XML DB, since we do think versionfiltered is a valid attribute for a schema element...
    SQL> declare
      2    res boolean;
      3    xmlSchema xmlType := xmlType(
      4  '<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified" versionfilt
    ered="1-00" id="NDNASimpleTypes">
      5
      6          <xsd:complexType name="MessageHeaderType">
      7                  <xsd:sequence>
      8                          <xsd:element name="MESSAGE_NUMBER" type="xsd:long"/>
      9                          <xsd:element name="MESSAGE_TYPE" type="MessageTypeType"/>
    10                          <xsd:element name="MESSAGE_DATE" type="xsd:dateTime"/>
    11                  </xsd:sequence>
    12          </xsd:complexType>
    13          <xsd:simpleType name="MessageTypeType">
    14                  <xsd:annotation>
    15                          <xsd:documentation>The definition of the Sample Message Types</xsd:documentation>
    16                  </xsd:annotation>
    17                  <xsd:restriction base="xsd:string">
    18                          <xsd:maxLength value="2"/>
    19                          <xsd:enumeration value="CT"/>
    20                          <xsd:enumeration value="CA"/>
    21                          <xsd:enumeration value="CD"/>
    22                  </xsd:restriction>
    23          </xsd:simpleType>
    24  </xsd:schema>');
    25  begin
    26    if (dbms_xdb.existsResource(:schemaPath)) then
    27      dbms_xdb.deleteResource(:schemaPath);
    28    end if;
    29    res := dbms_xdb.createResource(:schemaPath,xmlSchema);
    30  end;
    31  /
    Queuing DELETE Event
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.04
    SQL> begin
      2    dbms_xmlschema.registerSchema
      3    (
      4      :schemaURL,
      5      xdbURIType(:schemaPath).getClob(),
      6      TRUE,TRUE,FALSE,TRUE
      7    );
      8  end;
      9  /
    begin
    ERROR at line 1:
    ORA-30937: No schema definition for 'versionfiltered' (namespace '##local') in parent '/schema'
    ORA-06512: at "XDB.DBMS_XMLSCHEMA_INT", line 20
    ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 31
    ORA-06512: at line 2XMLSPY agrees with us on this...
    If I change version filtered to version I get
    SQL> var schemaURL varchar2(256)
    SQL> var schemaPath varchar2(256)
    SQL> --
    SQL> begin
      2    :schemaURL := 'http://www.forensic.gov.uk/eMessages/Pnclink/NDNA/testinclude.xsd';
      3    :schemaPath := '/public/testinclude.xsd';
      4  end;
      5  /
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.00
    SQL> call dbms_xmlSchema.deleteSchema(:schemaURL,4)
      2  /
    Queuing DELETE Event
    Call completed.
    Elapsed: 00:00:00.07
    SQL> declare
      2    res boolean;
      3    xmlSchema xmlType := xmlType(
      4  '<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1-
    00" id="NDNASimpleTypes">
      5
      6          <xsd:complexType name="MessageHeaderType">
      7                  <xsd:sequence>
      8                          <xsd:element name="MESSAGE_NUMBER" type="xsd:long"/>
      9                          <xsd:element name="MESSAGE_TYPE" type="MessageTypeType"/>
    10                          <xsd:element name="MESSAGE_DATE" type="xsd:dateTime"/>
    11                  </xsd:sequence>
    12          </xsd:complexType>
    13          <xsd:simpleType name="MessageTypeType">
    14                  <xsd:annotation>
    15                          <xsd:documentation>The definition of the Sample Message Types</xsd:documentation>
    16                  </xsd:annotation>
    17                  <xsd:restriction base="xsd:string">
    18                          <xsd:maxLength value="2"/>
    19                          <xsd:enumeration value="CT"/>
    20                          <xsd:enumeration value="CA"/>
    21                          <xsd:enumeration value="CD"/>
    22                  </xsd:restriction>
    23          </xsd:simpleType>
    24  </xsd:schema>');
    25  begin
    26    if (dbms_xdb.existsResource(:schemaPath)) then
    27      dbms_xdb.deleteResource(:schemaPath);
    28    end if;
    29    res := dbms_xdb.createResource(:schemaPath,xmlSchema);
    30  end;
    31  /
    Queuing DELETE Event
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.04
    SQL> begin
      2    dbms_xmlschema.registerSchema
      3    (
      4      :schemaURL,
      5      xdbURIType(:schemaPath).getClob(),
      6      TRUE,TRUE,FALSE,TRUE
      7    );
      8  end;
      9  /
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.20
    SQL> begin
      2    :schemaURL := 'http://www.forensic.gov.uk/eMessages/Pnclink/NDNA/Test.xsd';
      3    :schemaPath := '/public/Test.xsd';
      4  end;
      5  /
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.01
    SQL> call dbms_xmlSchema.deleteSchema(:schemaURL,4)
      2  /
    Queuing DELETE Event
    Call completed.
    Elapsed: 00:00:00.06
    SQL> declare
      2    res boolean;
      3    xmlSchema xmlType := xmlType(
      4  '<xsd:schema xmlns="http://www.forensic.gov.uk/eMessages/Pnclink/NDNA" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="ht
    tp://www.forensic.gov.uk/eMessages/Pnclink/NDNA" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0" id="Test">
      5
      6          <xsd:include schemaLocation="http://www.forensic.gov.uk/eMessages/Pnclink/NDNA/testinclude.xsd"/>
      7        <xsd:element name="SAMPLE_MESSAGE">
      8                  <xsd:complexType>
      9                          <xsd:sequence>
    10                                  <xsd:element name="MESSAGE_HEADER" type="MessageHeaderType"/>
    11                          </xsd:sequence>
    12                  </xsd:complexType>
    13          </xsd:element>
    14    </xsd:schema>');
    15  begin
    16    if (dbms_xdb.existsResource(:schemaPath)) then
    17      dbms_xdb.deleteResource(:schemaPath);
    18    end if;
    19    res := dbms_xdb.createResource(:schemaPath,xmlSchema);
    20  end;
    21  /
    Queuing DELETE Event
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.04
    SQL> begin
      2    dbms_xmlschema.registerSchema
      3    (
      4      :schemaURL,
      5      xdbURIType(:schemaPath).getClob(),
      6      TRUE,TRUE,FALSE,FALSE
      7    );
      8  end;
      9  /
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.14
    SQL> var xmltext varchar2(4000)
    SQL> --
    SQL> begin
      2    :xmltext :=
      3  '<SAMPLE_MESSAGE xmlns="http://www.forensic.gov.uk/eMessages/Pnclink/NDNA" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:sc
    hemaLocation="http://www.forensic.gov.uk/eMessages/Pnclink/NDNA http://www.forensic.gov.uk/eMessages/Pnclink/NDNA/Test.xsd">
      4     <MESSAGE_HEADER>
      5        <MESSAGE_NUMBER>2147483647</MESSAGE_NUMBER>
      6        <MESSAGE_TYPE>CT</MESSAGE_TYPE>
      7        <MESSAGE_DATE>2001-12-17T09:30:47</MESSAGE_DATE>
      8     </MESSAGE_HEADER>
      9  </SAMPLE_MESSAGE>';
    10  end;
    11  /
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.01
    SQL> drop table xml_in
      2  /
    Table dropped.
    Elapsed: 00:00:00.04
    SQL> create table xml_in
      2  (
      3    msg_id   number(4),
      4    xml_data xmltype
      5  )
      6  /
    Table created.
    Elapsed: 00:00:00.03
    SQL> insert into xml_in values ( 8, xmltype ('<FOO/>'))
      2  /
    1 row created.
    Elapsed: 00:00:00.01
    SQL> declare
      2    xmldata xmltype;
      3  begin
      4    xmldata := xmltype(:xmltext);
      5    xmldata.schemaValidate();
      6  end;
      7  /
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.09
    SQL> update xml_in
      2     set xml_data = xmltype ( :xmltext )
      3   where msg_id = 8
      4  /
    1 row updated.
    Elapsed: 00:00:00.01
    SQL> select * from xml_in
      2  /
        MSG_ID
    XML_DATA
             8
    <SAMPLE_MESSAGE xmlns="http://www.forensic.gov.uk/eMessages/Pnclink/NDNA" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLo
    cation="ht
    tp://www.forensic.gov.uk/eMessages/Pnclink/NDNA http://www.forensic.gov.uk/eMessages/Pnclink/NDNA/Test.xsd">
      <MESSAGE_HEADER>
        <MESSAGE_NUMBER>2147483647</MESSAGE_NUMBER>
        <MESSAGE_TYPE>CT</MESSAGE_TYPE>
        <MESSAGE_DATE>2001-12-17T09:30:47</MESSAGE_DATE>
      </MESSAGE_HEADER>
    </SAMPLE_MESSAGE>
    Elapsed: 00:00:00.06
    SQL>

  • XML validation in sender file adapter

    Hi
    I am using FCC on the sender file adapter ....i need to make sure that one of the fields should always be integer else the sender adapter should give error
    Can i use xml validation with FCC on the sender file adapter?

    Hi Hema,
    As per understanding you need to check one or few fields value is integer or not.
    You can achieve in 2 ways :
    Case1:Using inbuilt xml validation options.
    For 7.11 and below
    1)In ESR/Message type/Export the xsd to local machine.
    2)Insert the xsd file in the below loc
    /usr/sap/<sid>/DVEBMGS00/j2ee/cluster/server0/validation/schema/
    <guid>/<namespace1>/<service_interface_name>/<namespace2>
    <sid>: System ID of the server instance.
    <guid>: The GUID of the SWCV.
    <namespace1> : The namespace within which the service interface is defined.
    <service_interface_name> : The name of the service interface.
    <namespace2>
    : The namespace of the Message Type used by the service interface. In many
    instances, namespace1 and namespace2 are the same.
    Italic path folders need to create by you.
    For 7.3 and above
    Michal's PI tips: XML validation - changes in 7.3
    Case 2 :Handling using simple UDF.
    Input-->UDF-->Output
    try {
       Integer.parseInt(input);
       return input ;
    catch(NumberFormatException e) {   
    throw new StreamTransformationException( "Input field value for xyz field "+input+"is not in integer format.Plz correct it"); 
    Regards
    Venkat

  • Not able to run validation using validation.xml & validator-rules.xml

    Hello Friends,
    I am not able to run validation using validation.xml & validator-rules.xml.
    Entire code in running prefectly but no error messages are prompted.
    Following is my code:
    File Name : struts-config.xml
    <struts-config>
    <!-- Form Beans Configuration -->
    <form-beans>
    <form-bean name="searchForm"
    type="com.solversa.SearchForm"/>
    </form-beans>
    <!-- Global Forwards Configuration -->
    <global-forwards>
    <forward name="search" path="/search.jsp"/>
    </global-forwards>
    <!-- Action Mappings Configuration -->
    <action-mappings>
    <action path="/search"
    type="com.solversa.SearchAction"
    name="searchForm"
    scope="request"
    validate="true"
    input="/search.jsp">
    </action>
    </action-mappings>
    <!-- Message Resources Configuration -->
    <message-resources
    parameter="ApplicationResources"/>
    <!-- Validator Configuration -->
    <plug-in className="org.apache.struts.validator.ValidatorPlugIn">
    <set-property property="pathnames"
    value="/WEB-INF/validator-rules.xml,
    /WEB-INF/validation.xml"/>
    </plug-in>
    </struts-config>
    <br> File Name : <b> validation.xml </b>
    <form-validation>
    <formset>
    <form name="searchForm">
    <field property="name" depends="minlength">
    <arg key="label.search.name" position = "0"/>
    <arg1 name="minlength" key="${var:minlength}" resource="false"/>
    <var>
    <var-name>minlength</var-name>
    <var-value>5</var-value>
    </var>
    </field>
    <field property="ssNum" depends="mask">
    <arg0 key="label.search.ssNum"/>
    <var>
    <var-name>mask</var-name>
    <var-value>^\d{3}-\d{2}-\d{4}$</var-value>
    </var>
    </field>
    </form>
    </formset>
    </form-validation>
    <br> File Name : <b> SearchForm.java </b>
    package com.jamesholmes.minihr;
    import java.util.List;
    import org.apache.struts.validator.ValidatorForm;
    public class SearchForm extends ValidatorForm
    private String name = null;
    private String ssNum = null;
    private List results = null;
    public void setName(String name) {
    this.name = name;
    public String getName() {
    return name;
    public void setSsNum(String ssNum) {
    this.ssNum = ssNum;
    public String getSsNum() {
    return ssNum;
    public void setResults(List results) {
    this.results = results;
    public List getResults() {
    return results;
    <br> File Name : <b> SearchAction.java </b>
    package com.jamesholmes.minihr;
    import java.util.ArrayList;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import org.apache.struts.action.Action;
    import org.apache.struts.action.ActionForm;
    import org.apache.struts.action.ActionForward;
    import org.apache.struts.action.ActionMapping;
    public final class SearchAction extends Action
    public ActionForward execute(ActionMapping mapping,
    ActionForm form,
    HttpServletRequest request,
    HttpServletResponse response)
    throws Exception
    EmployeeSearchService service = new EmployeeSearchService();
    ArrayList results;
    SearchForm searchForm = (SearchForm) form;
    // Perform employee search based on what criteria was entered.
    String name = searchForm.getName();
    if (name != null && name.trim().length() > 0) {
    results = service.searchByName(name);
    } else {
    results = service.searchBySsNum(searchForm.getSsNum().trim());
    // Place search results in SearchForm for access by JSP.
    searchForm.setResults(results);
    // Forward control to this Action's input page.
    return mapping.getInputForward();
    <br> File Name : <b> EmployeeSearchService.java </b>
    package com.jamesholmes.minihr;
    import java.util.ArrayList;
    public class EmployeeSearchService
    /* Hard-coded sample data. Normally this would come from a real data
    source such as a database. */
    private static Employee[] employees =
    new Employee("Bob Davidson", "123-45-6789"),
    new Employee("Mary Williams", "987-65-4321"),
    new Employee("Jim Smith", "111-11-1111"),
    new Employee("Beverly Harris", "222-22-2222"),
    new Employee("Thomas Frank", "333-33-3333"),
    new Employee("Jim Davidson", "444-44-4444")
    // Search for employees by name.
    public ArrayList searchByName(String name) {
    ArrayList resultList = new ArrayList();
    for (int i = 0; i < employees.length; i++) {
    if (employees.getName().toUpperCase().indexOf(name.toUpperCase()) != -1) {
    resultList.add(employees[i]);
    return resultList;
    // Search for employee by social security number.
    public ArrayList searchBySsNum(String ssNum) {
    ArrayList resultList = new ArrayList();
    for (int i = 0; i < employees.length; i++) {
    if (employees[i].getSsNum().equals(ssNum)) {
    resultList.add(employees[i]);
    return resultList;
    <br> File Name : <b> Employee.java </b>
    package com.solversa;
    public class Employee
         private String name;
         private String ssNum;
         public Employee(String name, String ssNum) {
         this.name = name;
         this.ssNum = ssNum;
         public void setName(String name) {
         this.name = name;
         public String getName() {
         return name;
         public void setSsNum(String ssNum) {
         this.ssNum = ssNum;
         public String getSsNum() {
         return ssNum;
    Pls help me out.
    Not able to prompt errors.

    Hello Friends,
    I am not able to run validation using
    validation.xml & validator-rules.xml.
    Entire code in running prefectly but no error
    messages are prompted.
    Following is my code:
    File Name : struts-config.xml
    <struts-config>
    <!-- Form Beans Configuration -->
    <form-beans>
    <form-bean name="searchForm"
    type="com.solversa.SearchForm"/>
    ans>
    <!-- Global Forwards Configuration -->
    <global-forwards>
    <forward name="search" path="/search.jsp"/>
    global-forwards>
    <!-- Action Mappings Configuration -->
    <action-mappings>
    <action path="/search"
    type="com.solversa.SearchAction"
    name="searchForm"
    scope="request"
    validate="true"
    input="/search.jsp">
    tion>
    </action-mappings>
    <!-- Message Resources Configuration -->
    <message-resources
    parameter="ApplicationResources"/>
    <!-- Validator Configuration -->
    <plug-in
    className="org.apache.struts.validator.ValidatorPlugI
    ">
    <set-property property="pathnames"
    value="/WEB-INF/validator-rules.xml,
    /WEB-INF/validation.xml"/>
    >
    </struts-config>
    <br> File Name : <b> validation.xml </b>
    <form-validation>
    <formset>
    <form name="searchForm">
    <field property="name" depends="minlength">
    <arg key="label.search.name" position = "0"/>
    <arg1 name="minlength" key="${var:minlength}"
    resource="false"/>
    <var>
    <var-name>minlength</var-name>
    <var-value>5</var-value>
    </var>
    </field>
    <field property="ssNum" depends="mask">
    <arg0 key="label.search.ssNum"/>
    <var>
    <var-name>mask</var-name>
    <var-value>^\d{3}-\d{2}-\d{4}$</var-value>
    </var>
    </field>
    /form>
    </formset>
    form-validation>
    <br> File Name : <b> SearchForm.java </b>
    package com.jamesholmes.minihr;
    import java.util.List;
    import org.apache.struts.validator.ValidatorForm;
    public class SearchForm extends ValidatorForm
    private String name = null;
    private String ssNum = null;
    private List results = null;
    public void setName(String name) {
    this.name = name;
    public String getName() {
    return name;
    public void setSsNum(String ssNum) {
    this.ssNum = ssNum;
    public String getSsNum() {
    return ssNum;
    public void setResults(List results) {
    this.results = results;
    public List getResults() {
    return results;
    <br> File Name : <b> SearchAction.java </b>
    package com.jamesholmes.minihr;
    import java.util.ArrayList;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import org.apache.struts.action.Action;
    import org.apache.struts.action.ActionForm;
    import org.apache.struts.action.ActionForward;
    import org.apache.struts.action.ActionMapping;
    public final class SearchAction extends Action
    public ActionForward execute(ActionMapping
    mapping,
    ActionForm form,
    HttpServletRequest request,
    HttpServletResponse response)
    throws Exception
    EmployeeSearchService service = new
    EmployeeSearchService();
    ArrayList results;
    SearchForm searchForm = (SearchForm) form;
    // Perform employee search based on what criteria
    was entered.
    String name = searchForm.getName();
    if (name != null && name.trim().length() > 0) {
    results = service.searchByName(name);
    else {
    results =
    service.searchBySsNum(searchForm.getSsNum().trim());
    // Place search results in SearchForm for access
    by JSP.
    searchForm.setResults(results);
    // Forward control to this Action's input page.
    return mapping.getInputForward();
    <br> File Name : <b> EmployeeSearchService.java </b>
    package com.jamesholmes.minihr;
    import java.util.ArrayList;
    public class EmployeeSearchService
    /* Hard-coded sample data. Normally this would come
    from a real data
    source such as a database. */
    ivate static Employee[] employees =
    new Employee("Bob Davidson", "123-45-6789"),
    new Employee("Mary Williams", "987-65-4321"),
    new Employee("Jim Smith", "111-11-1111"),
    new Employee("Beverly Harris", "222-22-2222"),
    new Employee("Thomas Frank", "333-33-3333"),
    new Employee("Jim Davidson", "444-44-4444")
    // Search for employees by name.
    public ArrayList searchByName(String name) {
    ArrayList resultList = new ArrayList();
    for (int i = 0; i < employees.length; i++) {
    if
    (employees.getName().toUpperCase().indexOf(name.toU
    pperCase()) != -1) {
    resultList.add(employees[i]);
    return resultList;
    // Search for employee by social security number.
    public ArrayList searchBySsNum(String ssNum) {
    ArrayList resultList = new ArrayList();
    for (int i = 0; i < employees.length; i++) {
    if (employees[i].getSsNum().equals(ssNum)) {
    resultList.add(employees[i]);
    return resultList;
    <br> File Name : <b> Employee.java </b>
    package com.solversa;
    public class Employee
         private String name;
         private String ssNum;
         public Employee(String name, String ssNum) {
         this.name = name;
         this.ssNum = ssNum;
         public void setName(String name) {
         this.name = name;
         public String getName() {
         return name;
         public void setSsNum(String ssNum) {
         this.ssNum = ssNum;
         public String getSsNum() {
         return ssNum;
    Pls help me out.
    Not able to prompt errors.
    Hi,
    Your error message are not displaying because u does not made Message-Resoucrce property file (Resource Bundle) when you make it .
    give it entry in
    struts-config.xml
    <message-resources parameter="ApplicationResources" />
    and
    define key and corresponding error message to key in this ApplicationResources i.e
    #Error Resources
    label.search.ssNum=Plz Enter correct ssNum

  • ORA-30937: No schema definition for

    Here are the steps I followed to load the xml
    DBMS_XMLSCHEMA.REGISTERSCHEMA(
    SCHEMAURL => 'security.xsd',
    SCHEMADOC => BFILENAME('XML_DIR', 'security.xsd')
    LOCAL => TRUE
    CREATE TABLE TMP_XML_TABLES
    xml_document XMLType
    XMLType COLUMN xml_document
    XMLSchema "security.xsd"
    ELEMENT "security"
    INSERT INTO TMP_XML_TABLES
    VALUES
    xmltype
    BFILENAME('XML_CLOB_DIR', 'sec.xml'),
    nls_charset_id('AL32UTF8')
    I am getting below error.
    ORA-30937: No schema definition for 'fido_flag' (namespace '##local') in parent '/security/security_
    ORA-06512: at "SYS.XMLTYPE", line 295
    ORA-06512: at line 1
    Below is the XSD and XML file. Please let me know what is wrong with it.
    security.xsd
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- edited with XMLSPY v2004 rel. 4 U (http://www.xmlspy.com) by Cary Liu (Cary Liu) -->
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
         <xs:element name="security">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="security_row" minOccurs="0" maxOccurs="unbounded"/>
                        <xs:element ref="variable_rate_row" minOccurs="0" maxOccurs="unbounded"/>
                   </xs:sequence>
                   <xs:attribute name="security_count" type="xs:long" use="optional"/>
                   <xs:attribute name="variable_rate_count" type="xs:long" use="optional"/>
              </xs:complexType>
         </xs:element>
         <xs:element name="security_row">
              <xs:complexType>
                   <xs:all>
                        <xs:element ref="security_id"/>
                        <xs:element ref="primary_asset_id"/>
                        <xs:element ref="delay_days"/>
                        <xs:element ref="arm_indicator"/>
                        <xs:element ref="camra_abs_und_coll"/>
                        <xs:element ref="camra_abs_und_coll_cpn"/>
                        <xs:element ref="initial_principal_pay_date"/>
                        <xs:element ref="final_principal_pay_date"/>
                        <xs:element ref="mtg_term"/>
                        <xs:element ref="original_face"/>
                        <xs:element ref="pool_number"/>
                        <xs:element ref="principal_pay_frequency"/>
                        <xs:element ref="pay_down_date"/>
                        <xs:element ref="principal_pay_bus_day_rule"/>
                        <xs:element ref="seasoned_mbs"/>
                        <xs:element ref="tba_stlmt_month"/>
                        <xs:element ref="accrual_flag"/>
                        <xs:element ref="accrual_rule"/>
                        <xs:element ref="base_payment_date"/>
                        <xs:element ref="day_count"/>
                        <xs:element ref="ex_interest_bond_code"/>
                        <xs:element ref="ex_days"/>
                        <xs:element ref="ex_div_date"/>
                        <xs:element ref="last_coupon_date"/>
                        <xs:element ref="for_bond_security_type"/>
                        <xs:element ref="dated_date"/>
                        <xs:element ref="issue_date"/>
                        <xs:element ref="first_coupon_date"/>
                        <xs:element ref="second_coupon_date"/>
                        <xs:element ref="mat_date"/>
                        <xs:element ref="interest_accrual_method"/>
                        <xs:element ref="odd_first_coupon_date"/>
                        <xs:element ref="odd_last_coupon_date"/>
                        <xs:element ref="payment_eom_rule"/>
                        <xs:element ref="pay_frequency"/>
                        <xs:element ref="pay_business_day_rule"/>
                        <xs:element ref="yield_day_count"/>
                        <xs:element ref="zero_coupon_type"/>
                        <xs:element ref="analyst"/>
                        <xs:element ref="analyst_recomm"/>
                        <xs:element ref="approval_flag"/>
                        <xs:element ref="camra_sec_type"/>
                        <xs:element ref="class"/>
                        <xs:element ref="comments"/>
                        <xs:element ref="holding_style"/>
                        <xs:element ref="issued_capital"/>
                        <xs:element ref="issued_capital_currency"/>
                        <xs:element ref="min_denomination"/>
                        <xs:element ref="price_multiplier"/>
                        <xs:element ref="pricing_identifier"/>
                        <xs:element ref="quantity_issued"/>
                        <xs:element ref="shares_outstanding"/>
                        <xs:element ref="quantity_type"/>
                        <xs:element ref="redemption_value"/>
                        <xs:element ref="scb_industry"/>
                        <xs:element ref="issue_desc1"/>
                        <xs:element ref="issue_desc2"/>
                        <xs:element ref="issue_desc3"/>
                        <xs:element ref="issue_short_name"/>
                        <xs:element ref="trading_lot_size"/>
                        <xs:element ref="unit_factor"/>
                        <xs:element ref="camra_exercise_date"/>
                        <xs:element ref="camra_expiration_date"/>
                        <xs:element ref="alliance_sector"/>
                        <xs:element ref="alliance_industry"/>
                        <xs:element ref="apace_security_type"/>
                        <xs:element ref="camra_gl_type"/>
                        <xs:element ref="emerg_mkt_ind"/>
                        <xs:element ref="form_13f_flag"/>
                        <xs:element ref="instrument_class"/>
                        <xs:element ref="issue_type"/>
                        <xs:element ref="mortgage_sector"/>
                        <xs:element ref="naic_code"/>
                        <xs:element ref="performance_segment"/>
                        <xs:element ref="program_type"/>
                        <xs:element ref="camra_sic_code2"/>
                        <xs:element ref="camra_sched_d_group"/>
                        <xs:element ref="camra_sched_d_state"/>
                        <xs:element ref="security_form"/>
                        <xs:element ref="security_type_distrib"/>
                        <xs:element ref="camra_sic_code"/>
                        <xs:element ref="structured_note_flag"/>
                        <xs:element ref="underlying_category"/>
                        <xs:element ref="primary_asset_id_type"/>
                        <xs:element ref="superticker"/>
                        <xs:element ref="default_status"/>
                        <xs:element ref="default_date"/>
                        <xs:element ref="accrue_in_default_ind"/>
                        <xs:element ref="ctd_bond"/>
                        <xs:element ref="contract_size"/>
                        <xs:element ref="derivative_type"/>
                        <xs:element ref="delivery_method"/>
                        <xs:element ref="conversion_factor"/>
                        <xs:element ref="flex_option_ind"/>
                        <xs:element ref="leap_option_ind"/>
                        <xs:element ref="orig_strike_price"/>
                        <xs:element ref="otc_flag"/>
                        <xs:element ref="part_paid_percent"/>
                        <xs:element ref="strike_price"/>
                        <xs:element ref="put_call_flag"/>
                        <xs:element ref="strike_price_type"/>
                        <xs:element ref="pay_currency"/>
                        <xs:element ref="rec_currency"/>
                        <xs:element ref="premium_amount"/>
                        <xs:element ref="warrant_style"/>
                        <xs:element ref="pay_status"/>
                        <xs:element ref="tick_amount"/>
                        <xs:element ref="right_warrant_option_type"/>
                        <xs:element ref="underlying_cusip"/>
                        <xs:element ref="var_margin_rule"/>
                        <xs:element ref="nominal_annual_income"/>
                        <xs:element ref="dividend_frequency"/>
                        <xs:element ref="dividend_reinvestment_ind"/>
                        <xs:element ref="dr_sponsoring"/>
                        <xs:element ref="dr_sponsor"/>
                        <xs:element ref="claim_type"/>
                        <xs:element ref="dated_date_cpi"/>
                        <xs:element ref="when_issued_ind"/>
                        <xs:element ref="series"/>
                        <xs:element ref="tranche"/>
                        <xs:element ref="guarantee_type"/>
                        <xs:element ref="deep_discount_ind"/>
                        <xs:element ref="perpetual_flag"/>
                        <xs:element ref="maturity_override"/>
                        <xs:element ref="camra_index_desc"/>
                        <xs:element ref="camra_index_spread"/>
                        <xs:element ref="coupon"/>
                        <xs:element ref="rate_benchmark"/>
                        <xs:element ref="rate_multiplier"/>
                        <xs:element ref="spread_to_benchmark"/>
                        <xs:element ref="rate_reset_frequency"/>
                        <xs:element ref="rate_base_reset_date"/>
                        <xs:element ref="reset_lag_days"/>
                        <xs:element ref="reset_lockout_days"/>
                        <xs:element ref="next_reset_date"/>
                        <xs:element ref="rate_calculate_switch"/>
                        <xs:element ref="rate_reset_bus_day_rule"/>
                        <xs:element ref="rate_reset_eom_rule"/>
                        <xs:element ref="rate_type"/>
                        <xs:element ref="mutual_fund_sponsor"/>
                        <xs:element ref="regulated_flag"/>
                        <xs:element ref="tia_1961_flag"/>
                        <xs:element ref="accumulation_income_flag"/>
                        <xs:element ref="fsa_indicator"/>
                        <xs:element ref="income_dist_policy"/>
                        <xs:element ref="mutual_fund_charge_type"/>
                        <xs:element ref="holdings_flag"/>
                        <xs:element ref="issuer_type"/>
                        <xs:element ref="issuer_id"/>
                        <xs:element ref="parent_issuer_id"/>
                        <xs:element ref="country"/>
                        <xs:element ref="currency"/>
                        <xs:element ref="country_of_origin"/>
                        <xs:element ref="risk_country"/>
                        <xs:element ref="currency_of_earnings"/>
                        <xs:element ref="currency_of_income"/>
                        <xs:element ref="currency_of_trade"/>
                        <xs:element ref="principal_currency"/>
                        <xs:element ref="exchange"/>
                        <xs:element ref="state_code"/>
                        <xs:element ref="muni_insurance"/>
                        <xs:element ref="conduit"/>
                        <xs:element ref="muni_note_type"/>
                        <xs:element ref="muni_issuer"/>
                        <xs:element ref="obligation_type"/>
                        <xs:element ref="oes_next_call_date"/>
                        <xs:element ref="offering_yield"/>
                        <xs:element ref="remarketing_agent"/>
                        <xs:element ref="tax_exempt_region"/>
                        <xs:element ref="fed_wire"/>
                        <xs:element ref="oid_flag"/>
                        <xs:element ref="oid_number"/>
                        <xs:element ref="oi_price"/>
                        <xs:element ref="camra_moody_sector"/>
                        <xs:element ref="restricted"/>
                        <xs:element ref="camra_class_144"/>
                        <xs:element ref="foreign_restriction_ind"/>
                        <xs:element ref="foreign_restriction_req"/>
                        <xs:element ref="sec_144a"/>
                        <xs:element ref="reg_s"/>
                        <xs:element ref="prvt_place_ind"/>
                        <xs:element ref="liquid_flag"/>
                        <xs:element ref="call_protection_period"/>
                        <xs:element ref="call_protection_type"/>
                        <xs:element ref="camra_make_whole_ind"/>
                        <xs:element ref="camra_conversion_price"/>
                        <xs:element ref="convertible_flag"/>
                        <xs:element ref="nra_tax_code"/>
                        <xs:element ref="tax_relief_at_source_ind"/>
                        <xs:element ref="tax_withholding_code"/>
                        <xs:element ref="tax_status"/>
                        <xs:element ref="voting_rights"/>
                        <xs:element ref="votes_per_share"/>
                        <xs:element ref="cum_voting_flag"/>
                        <xs:element ref="coupon_cap"/>
                        <xs:element ref="coupon_floor"/>
                        <xs:element ref="cross_currency_country"/>
                        <xs:element ref="cross_currency_fwd_rate"/>
                        <xs:element ref="cross_rate"/>
                        <xs:element ref="fwd_base_rate"/>
                        <xs:element ref="fwd_rate"/>
                        <xs:element ref="fwd_reset_date"/>
                        <xs:element ref="spot_base_rate"/>
                        <xs:element ref="spot_cross_rate"/>
                        <xs:element ref="fwd_point_difference"/>
                        <xs:element ref="fwd_broker_code"/>
                        <xs:element ref="fwd_side"/>
                        <xs:element ref="redemption_currency"/>
                        <xs:element ref="redenomination_date"/>
                        <xs:element ref="redenomination_flag"/>
                        <xs:element ref="amt_flag"/>
                        <xs:element ref="orig_entrydate"/>
                        <xs:element ref="orig_enteredby"/>
                        <xs:element ref="last_entrydate"/>
                        <xs:element ref="last_enteredby"/>
                        <xs:element ref="credit_family_id"/>
                        <xs:element ref="cusip"/>
                        <xs:element ref="isin"/>
                        <xs:element ref="sedol"/>
                        <xs:element ref="ticker"/>
                        <xs:element ref="apace_accrual_type"/>
                        <xs:element ref="capital_income_flag"/>
                        <xs:element ref="wal_date"/>
                        <xs:element ref="cfb_level_pay"/>
                        <xs:element ref="pending_corp_action"/>
                        <xs:element ref="pending_proxy_vote"/>
                        <xs:element ref="pms_live_indicator"/>
                        <xs:element ref="pms_price_type"/>
                        <xs:element ref="spark_flag"/>
                        <xs:element ref="whittingdale_debt_cat"/>
                        <xs:element ref="whittingdale_rating"/>
                        <xs:element ref="whittingdale_code"/>
                        <xs:element ref="expiration_date"/>
                        <xs:element ref="maturity_price"/>
                        <xs:element ref="commencement_date"/>
                        <xs:element ref="declared_payment_date"/>
                        <xs:element ref="drawer"/>
                        <xs:element ref="fv_volatility"/>
                        <xs:element ref="mv_volatility"/>
                        <xs:element ref="settle_period"/>
                        <xs:element ref="trading_margin"/>
                        <xs:element ref="compound_frequency"/>
                        <xs:element ref="coupon_rounding"/>
                        <xs:element ref="duration_to_reset"/>
                        <xs:element ref="float_rate_index_location"/>
                        <xs:element ref="periodic_basis_point_cap"/>
                        <xs:element ref="weighted_average_coupon"/>
                        <xs:element ref="whittingdale_issuer"/>
                        <xs:element ref="settlement_location"/>
                        <xs:element ref="attachment_lower"/>
                        <xs:element ref="attachment_upper"/>
                        <xs:element ref="exposure_type"/>
                        <xs:element ref="nth2default"/>
                        <xs:element ref="restruct_doc_clause"/>
                        <xs:element ref="swap_counterparty"/>
                        <xs:element ref="swaption_issue_date"/>
                        <xs:element ref="swaption_mat_date"/>
                        <xs:element ref="apace_call_price"/>
                        <xs:element ref="apace_call_date"/>
                        <xs:element ref="apace_callable_flag"/>
                        <xs:element ref="apace_put_price"/>
                        <xs:element ref="apace_put_date"/>
                        <xs:element ref="apace_putable_flag"/>
                        <xs:element ref="apace_day_count"/>
                        <xs:element ref="apace_io_ind"/>
                        <xs:element ref="apace_pass_thru_flag"/>
                        <xs:element ref="apace_price_method"/>
                        <xs:element ref="apace_price_source"/>
                        <xs:element ref="apace_depository_type"/>
                        <xs:element ref="apace_conv_ratio"/>
                        <xs:element ref="apace_floating_rate"/>
                        <xs:element ref="apace_frn_reset_code"/>
                        <xs:element ref="apace_frn_reset_date"/>
                        <xs:element ref="apace_step_conversion_date"/>
                        <xs:element ref="apace_step_conversion_rate"/>
                        <xs:element ref="apace_accrual_date_code"/>
                        <xs:element ref="apace_payment_date_code"/>
                        <xs:element ref="apace_payment_cycle_code"/>
                        <xs:element ref="apace_par_call_date"/>
                        <xs:element ref="apace_prerefund_price"/>
                        <xs:element ref="apace_prerefund_date"/>
                        <xs:element ref="apace_sink_fund_flag"/>
                        <xs:element ref="make_whole_call_flag"/>
                        <xs:element ref="fido_security_type_jvst"/>
                        <xs:element ref="fido_security_type_jstp"/>
                        <xs:element ref="fido_issuer_id"/>
                        <xs:element ref="fido_guarantor_id"/>
                        <xs:element ref="fido_name"/>
                        <xs:element ref="draft_id"/>
                        <xs:element ref="bbsw_at_last_reset"/>
                        <xs:element ref="delta"/>
                        <xs:element ref="price"/>
                        <xs:element ref="benchmark_index_sec"/>
                        <xs:element ref="index_multiplier"/>
                        <xs:element ref="index_spread"/>
                        <xs:element ref="index_link_location"/>
                        <xs:element ref="index_lag"/>
                        <xs:element ref="benchmark_rounding"/>
                        <xs:element ref="index_link_bus_day_rule"/>
                        <xs:element ref="calculation_type"/>
                        <xs:element ref="start_day_of_month"/>
                        <xs:element ref="pms_issue"/>
                        <xs:element ref="pms_name"/>
                        <xs:element ref="camra_cusip"/>
                        <xs:element ref="infoexpress_id"/>
                        <xs:element ref="issuer_desc"/>
                        <xs:element ref="parent_issuer_desc"/>
                        <xs:element ref="lead_mgr"/>
                        <xs:element ref="co_mgr"/>
                        <xs:element ref="superticker_desc"/>
                        <xs:element ref="fmc_id"/>
                        <xs:element ref="spintl_id"/>
                        <xs:element ref="tranche_type"/>
                        <xs:element ref="collateral_type"/>
                        <xs:element ref="ab_fund_desc"/>
                        <xs:element ref="adp_number"/>
                        <xs:element ref="underlying_account_id"/>
                   </xs:all>
              </xs:complexType>
         </xs:element>
         <xs:element name="variable_rate_row">
              <xs:complexType>
                   <xs:all>
                        <xs:element ref="security_id"/>
                        <xs:element ref="primary_asset_id"/>
                        <xs:element ref="sedol"/>
                        <xs:element ref="rate_type"/>
                        <xs:element ref="coupon"/>
                        <xs:element ref="effective_date"/>
                        <xs:element ref="delete_flag"/>
                        <xs:element ref="update_flag"/>
                        <xs:element ref="last_enteredby"/>
                        <xs:element ref="last_entrydate"/>
                        <xs:element ref="pms_live_indicator"/>
                   </xs:all>
              </xs:complexType>
         </xs:element>
         <xs:element name="security_id" type="xs:string"/>
         <xs:element name="primary_asset_id" type="xs:string"/>
         <xs:element name="delay_days" type="xs:double" nillable="true"/>
         <xs:element name="arm_indicator" type="xs:string" nillable="true"/>
         <xs:element name="camra_abs_und_coll" type="xs:string" nillable="true"/>
         <xs:element name="camra_abs_und_coll_cpn" type="xs:double" nillable="true"/>
         <xs:element name="initial_principal_pay_date" type="xs:date" nillable="true"/>
         <xs:element name="final_principal_pay_date" type="xs:date" nillable="true"/>
         <xs:element name="mtg_term" type="xs:int" nillable="true"/>
         <xs:element name="original_face" type="xs:double" nillable="true"/>
         <xs:element name="pool_number" type="xs:string" nillable="true"/>
         <xs:element name="principal_pay_frequency" type="xs:string" nillable="true"/>
         <xs:element name="pay_down_date" type="xs:string" nillable="true"/>
         <xs:element name="principal_pay_bus_day_rule" type="xs:string" nillable="true"/>
         <xs:element name="seasoned_mbs" type="xs:string" nillable="true"/>
         <xs:element name="tba_stlmt_month" type="xs:string" nillable="true"/>
         <xs:element name="accrual_flag" type="xs:string" nillable="true"/>
         <xs:element name="accrual_rule" type="xs:string" nillable="true"/>
         <xs:element name="base_payment_date" type="xs:string" nillable="true"/>
         <xs:element name="day_count" type="xs:string" nillable="true"/>
         <xs:element name="ex_interest_bond_code" type="xs:string" nillable="true"/>
         <xs:element name="ex_days" type="xs:int" nillable="true"/>
         <xs:element name="ex_div_date" type="xs:date" nillable="true"/>
         <xs:element name="last_coupon_date" type="xs:date" nillable="true"/>
         <xs:element name="for_bond_security_type" type="xs:string" nillable="true"/>
         <xs:element name="dated_date" type="xs:date" nillable="true"/>
         <xs:element name="issue_date" type="xs:date" nillable="true"/>
         <xs:element name="first_coupon_date" type="xs:date" nillable="true"/>
         <xs:element name="second_coupon_date" type="xs:date" nillable="true"/>
         <xs:element name="mat_date" type="xs:date" nillable="true"/>
         <xs:element name="interest_accrual_method" type="xs:string" nillable="true"/>
         <xs:element name="odd_first_coupon_date" type="xs:date" nillable="true"/>
         <xs:element name="odd_last_coupon_date" type="xs:date" nillable="true"/>
         <xs:element name="payment_eom_rule" type="xs:string" nillable="true"/>
         <xs:element name="pay_frequency" type="xs:string" nillable="true"/>
         <xs:element name="pay_business_day_rule" type="xs:string" nillable="true"/>
         <xs:element name="yield_day_count" type="xs:string" nillable="true"/>
         <xs:element name="zero_coupon_type" type="xs:string" nillable="true"/>
         <xs:element name="analyst" type="xs:string" nillable="true"/>
         <xs:element name="analyst_recomm" type="xs:string" nillable="true"/>
         <xs:element name="approval_flag" type="xs:string" nillable="true"/>
         <xs:element name="camra_sec_type" type="xs:string" nillable="true"/>
         <xs:element name="class" type="xs:string" nillable="true"/>
         <xs:element name="comments" type="xs:string" nillable="true"/>
         <xs:element name="holding_style" type="xs:string" nillable="true"/>
         <xs:element name="issued_capital" type="xs:double" nillable="true"/>
         <xs:element name="issued_capital_currency" type="xs:string" nillable="true"/>
         <xs:element name="min_denomination" type="xs:double" nillable="true"/>
         <xs:element name="price_multiplier" type="xs:double" nillable="true"/>
         <xs:element name="pricing_identifier" type="xs:string" nillable="true"/>
         <xs:element name="quantity_issued" type="xs:double" nillable="true"/>
         <xs:element name="shares_outstanding" type="xs:decimal" nillable="true"/>
         <xs:element name="quantity_type" type="xs:string" nillable="true"/>
         <xs:element name="redemption_value" type="xs:double" nillable="true"/>
         <xs:element name="scb_industry" type="xs:string" nillable="true"/>
         <xs:element name="issue_desc1" type="xs:string" nillable="true"/>
         <xs:element name="issue_desc2" type="xs:string" nillable="true"/>
         <xs:element name="issue_desc3" type="xs:string" nillable="true"/>
         <xs:element name="issue_short_name" type="xs:string" nillable="true"/>
         <xs:element name="trading_lot_size" type="xs:double" nillable="true"/>
         <xs:element name="unit_factor" type="xs:double" nillable="true"/>
         <xs:element name="camra_exercise_date" type="xs:date" nillable="true"/>
         <xs:element name="camra_expiration_date" type="xs:date" nillable="true"/>
         <xs:element name="alliance_sector" type="xs:string" nillable="true"/>
         <xs:element name="alliance_industry" type="xs:string" nillable="true"/>
         <xs:element name="apace_security_type" type="xs:string" nillable="true"/>
         <xs:element name="camra_gl_type" type="xs:string" nillable="true"/>
         <xs:element name="emerg_mkt_ind" type="xs:string" nillable="true"/>
         <xs:element name="form_13f_flag" type="xs:string" nillable="true"/>
         <xs:element name="instrument_class" type="xs:string"/>
         <xs:element name="issue_type" type="xs:string"/>
         <xs:element name="mortgage_sector" type="xs:string" nillable="true"/>
         <xs:element name="naic_code" type="xs:string" nillable="true"/>
         <xs:element name="performance_segment" type="xs:string" nillable="true"/>
         <xs:element name="program_type" type="xs:string" nillable="true"/>
         <xs:element name="camra_sic_code2" type="xs:string" nillable="true"/>
         <xs:element name="camra_sched_d_group" type="xs:string" nillable="true"/>
         <xs:element name="camra_sched_d_state" type="xs:string" nillable="true"/>
         <xs:element name="security_form" type="xs:string" nillable="true"/>
         <xs:element name="security_type_distrib" type="xs:string" nillable="true"/>
         <xs:element name="camra_sic_code" type="xs:string" nillable="true"/>
         <xs:element name="structured_note_flag" type="xs:string" nillable="true"/>
         <xs:element name="underlying_category" type="xs:string" nillable="true"/>
         <xs:element name="primary_asset_id_type" type="xs:string"/>
         <xs:element name="superticker" type="xs:string" nillable="true"/>
         <xs:element name="default_status" type="xs:string" nillable="true"/>
         <xs:element name="default_date" type="xs:date" nillable="true"/>
         <xs:element name="accrue_in_default_ind" type="xs:string" nillable="true"/>
         <xs:element name="ctd_bond" type="xs:string" nillable="true"/>
         <xs:element name="contract_size" type="xs:double" nillable="true"/>
         <xs:element name="derivative_type" type="xs:string" nillable="true"/>
         <xs:element name="delivery_method" type="xs:string" nillable="true"/>
         <xs:element name="conversion_factor" type="xs:double" nillable="true"/>
         <xs:element name="flex_option_ind" type="xs:string" nillable="true"/>
         <xs:element name="leap_option_ind" type="xs:string" nillable="true"/>
         <xs:element name="orig_strike_price" type="xs:double" nillable="true"/>
         <xs:element name="otc_flag" type="xs:string" nillable="true"/>
         <xs:element name="part_paid_percent" type="xs:double" nillable="true"/>
         <xs:element name="strike_price" type="xs:double" nillable="true"/>
         <xs:element name="put_call_flag" type="xs:string" nillable="true"/>
         <xs:element name="strike_price_type" type="xs:string" nillable="true"/>
         <xs:element name="pay_currency" type="xs:string" nillable="true"/>
         <xs:element name="rec_currency" type="xs:string" nillable="true"/>
         <xs:element name="premium_amount" type="xs:double" nillable="true"/>
         <xs:element name="warrant_style" type="xs:string" nillable="true"/>
         <xs:element name="pay_status" type="xs:string" nillable="true"/>
         <xs:element name="tick_amount" type="xs:double" nillable="true"/>
         <xs:element name="right_warrant_option_type" type="xs:string" nillable="true"/>
         <xs:element name="underlying_cusip" type="xs:string" nillable="true"/>
         <xs:element name="var_margin_rule" type="xs:int" nillable="true"/>
         <xs:element name="nominal_annual_income" type="xs:double" nillable="true"/>
         <xs:element name="dividend_frequency" type="xs:string" nillable="true"/>
         <xs:element name="dividend_reinvestment_ind" type="xs:string" nillable="true"/>
         <xs:element name="dr_sponsoring" type="xs:string" nillable="true"/>
         <xs:element name="dr_sponsor" type="xs:string" nillable="true"/>
         <xs:element name="claim_type" type="xs:string" nillable="true"/>
         <xs:element name="dated_date_cpi" type="xs:double" nillable="true"/>
         <xs:element name="when_issued_ind" type="xs:string" nillable="true"/>
         <xs:element name="series" type="xs:string" nillable="true"/>
         <xs:element name="tranche" type="xs:string" nillable="true"/>
         <xs:element name="guarantee_type" type="xs:string" nillable="true"/>
         <xs:element name="deep_discount_ind" type="xs:string" nillable="true"/>
         <xs:element name="perpetual_flag" type="xs:string" nillable="true"/>
         <xs:element name="maturity_override" type="xs:string" nillable="true"/>
         <xs:element name="camra_index_desc" type="xs:string" nillable="true"/>
         <xs:element name="camra_index_spread" type="xs:double" nillable="true"/>
         <xs:element name="coupon" type="xs:double" nillable="true"/>
         <xs:element name="rate_benchmark" type="xs:string" nillable="true"/>
         <xs:element name="rate_multiplier" type="xs:double" nillable="true"/>
         <xs:element name="spread_to_benchmark" type="xs:double" nillable="true"/>
         <xs:element name="rate_reset_frequency" type="xs:string" nillable="true"/>
         <xs:element name="rate_base_reset_date" type="xs:date" nillable="true"/>
         <xs:element name="reset_lag_days" type="xs:double" nillable="true"/>
         <xs:element name="reset_lockout_days" type="xs:double" nillable="true"/>
         <xs:element name="next_reset_date" type="xs:date" nillable="true"/>
         <xs:element name="rate_calculate_switch" type="xs:string" nillable="true"/>
         <xs:element name="rate_reset_bus_day_rule" type="xs:string" nillable="true"/>
         <xs:element name="rate_reset_eom_rule" type="xs:string" nillable="true"/>
         <xs:element name="rate_type" type="xs:string" nillable="true"/>
         <xs:element name="mutual_fund_sponsor" type="xs:string" nillable="true"/>
         <xs:element name="regulated_flag" type="xs:string" nillable="true"/>
         <xs:element name="tia_1961_flag" type="xs:string" nillable="true"/>
         <xs:element name="accumulation_income_flag" type="xs:string" nillable="true"/>
         <xs:element name="fsa_indicator" type="xs:string" nillable="true"/>
         <xs:element name="income_dist_policy" type="xs:string" nillable="true"/>
         <xs:element name="mutual_fund_charge_type" type="xs:string" nillable="true"/>
         <xs:element name="holdings_flag" type="xs:string" nillable="true"/>
         <xs:element name="issuer_type" type="xs:string" nillable="true"/>
         <xs:element name="issuer_id" type="xs:string" nillable="true"/>
         <xs:element name="parent_issuer_id" type="xs:string" nillable="true"/>
         <xs:element name="country" type="xs:string" nillable="true"/>
         <xs:element name="currency" type="xs:string" nillable="true"/>
         <xs:element name="country_of_origin" type="xs:string" nillable="true"/>
         <xs:element name="risk_country" type="xs:string" nillable="true"/>
         <xs:element name="currency_of_earnings" type="xs:string" nillable="true"/>
         <xs:element name="currency_of_income" type="xs:string" nillable="true"/>
         <xs:element name="currency_of_trade" type="xs:string" nillable="true"/>
         <xs:element name="principal_currency" type="xs:string" nillable="true"/>
         <xs:element name="exchange" type="xs:string" nillable="true"/>
         <xs:element name="state_code" type="xs:string" nillable="true"/>
         <xs:element name="muni_insurance" type="xs:string" nillable="true"/>
         <xs:element name="conduit" type="xs:string" nillable="true"/>
         <xs:element name="muni_note_type" type="xs:string" nillable="true"/>
         <xs:element name="muni_issuer" type="xs:string" nillable="true"/>
         <xs:element name="obligation_type" type="xs:string" nillable="true"/>
         <xs:element name="oes_next_call_date" type="xs:date" nillable="true"/>
         <xs:element name="offering_yield" type="xs:double" nillable="true"/>
         <xs:element name="remarketing_agent" type="xs:string" nillable="true"/>
         <xs:element name="tax_exempt_region" type="xs:string" nillable="true"/>
         <xs:element name="fed_wire" type="xs:string" nillable="true"/>
         <xs:element name="oid_flag" type="xs:string" nillable="true"/>
         <xs:element name="oid_number" type="xs:int" nillable="true"/>
         <xs:element name="oi_price" type="xs:double" nillable="true"/>
         <xs:element name="camra_moody_sector" type="xs:string" nillable="true"/>
         <xs:element name="restricted" type="xs:string" nillable="true"/>
         <xs:element name="camra_class_144" type="xs:string" nillable="true"/>
         <xs:element name="foreign_restriction_ind" type="xs:string" nillable="true"/>
         <xs:element name="foreign_restriction_req" type="xs:double" nillable="true"/>
         <xs:element name="sec_144a" type="xs:string" nillable="true"/>
         <xs:element name="reg_s" type="xs:string" nillable="true"/>
         <xs:element name="prvt_place_ind" type="xs:string" nillable="true"/>
         <xs:element name="liquid_flag" type="xs:string" nillable="true"/>
         <xs:element name="call_protection_period" type="xs:int" nillable="true"/>
         <xs:element name="call_protection_type" type="xs:string" nillable="true"/>
         <xs:element name="camra_make_whole_ind" type="xs:string" nillable="true"/>
         <xs:element name="camra_conversion_price" type="xs:double" nillable="true"/>
         <xs:element name="convertible_flag" type="xs:string" nillable="true"/>
         <xs:element name="nra_tax_code" type="xs:string" nillable="true"/>
         <xs:element name="tax_relief_at_source_ind" type="xs:string" nillable="true"/>
         <xs:element name="tax_withholding_code" type="xs:string" nillable="true"/>
         <xs:element name="tax_status" type="xs:string" nillable="true"/>
         <xs:element name="voting_rights" type="xs:string" nillable="true"/>
         <xs:element name="votes_per_share" type="xs:int" nillable="true"/>
         <xs:element name="cum_voting_flag" type="xs:string" nillable="true"/>
         <xs:element name="coupon_cap" type="xs:double" nillable="true"/>
         <xs:element name="coupon_floor" type="xs:double" nillable="true"/>
         <xs:element name="cross_currency_country" type="xs:string" nillable="true"/>
         <xs:element name="cross_currency_fwd_rate" type="xs:double" nillable="true"/>
         <xs:element name="cross_rate" type="xs:double" nillable="true"/>
         <xs:element name="fwd_base_rate" type="xs:double" nillable="true"/>
         <xs:element name="fwd_rate" type="xs:double" nillable="true"/>
         <xs:element name="fwd_reset_date" type="xs:date" nillable="true"/>
         <xs:element name="spot_base_rate" type="xs:double" nillable="true"/>
         <xs:element name="spot_cross_rate" type="xs:double" nillable="true"/>
         <xs:element name="fwd_point_difference" type="xs:double" nillable="true"/>
         <xs:element name="fwd_broker_code" type="xs:string" nillable="true"/>
         <xs:element name="fwd_side" type="xs:string" nillable="true"/>
         <xs:element name="redemption_currency" type="xs:string" nillable="true"/>
         <xs:element name="redenomination_date" type="xs:date" nillable="true"/>
         <xs:element name="redenomination_flag" type="xs:string" nillable="true"/>
         <xs:element name="amt_flag" type="xs:string" nillable="true"/>
         <xs:element name="orig_entrydate" type="xs:dateTime" nillable="true"/>
         <xs:element name="orig_enteredby" type="xs:string" nillable="true"/>
         <xs:element name="last_entrydate" type="xs:dateTime" nillable="true"/>
         <xs:element name="last_enteredby" type="xs:string" nillable="true"/>
         <xs:element name="credit_family_id" type="xs:string" nillable="true"/>
         <xs:element name="cusip" type="xs:string" nillable="true"/>
         <xs:element name="isin" type="xs:string" nillable="true"/>
         <xs:element name="sedol" type="xs:string" nillable="true"/>
         <xs:element name="ticker" type="xs:string" nillable="true"/>
         <xs:element name="apace_accrual_type" type="xs:string" nillable="true"/>
         <xs:element name="capital_income_flag" type="xs:string" nillable="true"/>
         <xs:element name="wal_date" type="xs:date" nillable="true"/>
         <xs:element name="cfb_level_pay" type="xs:double" nillable="true"/>
         <xs:element name="pending_corp_action" type="xs:string" nillable="true"/>
         <xs:element name="pending_proxy_vote" type="xs:string" nillable="true"/>
         <xs:element name="pms_live_indicator" type="xs:string" nillable="true"/>
         <xs:element name="pms_price_type" type="xs:string" nillable="true"/>
         <xs:element name="spark_flag" type="xs:string" nillable="true"/>
         <xs:element name="whittingdale_debt_cat" type="xs:int" nillable="true"/>
         <xs:element name="whittingdale_rating" type="xs:int" nillable="true"/>
         <xs:element name="whittingdale_code" type="xs:string" nillable="true"/>
         <xs:element name="expiration_date" type="xs:date" nillable="true"/>
         <xs:element name="maturity_price" type="xs:double" nillable="true"/>
         <xs:element name="commencement_date" type="xs:date" nillable="true"/>
         <xs:element name="declared_payment_date" type="xs:date" nillable="true"/>
         <xs:element name="drawer" type="xs:string" nillable="true"/>
         <xs:element name="fv_volatility" type="xs:double" nillable="true"/>
         <xs:element name="mv_volatility" type="xs:double" nillable="true"/>
         <xs:element name="settle_period" type="xs:double" nillable="true"/>
         <xs:element name="trading_margin" type="xs:double" nillable="true"/>
         <xs:element name="compound_frequency" type="xs:string" nillable="true"/>
         <xs:element name="coupon_rounding" type="xs:double" nillable="true"/>
         <xs:element name="duration_to_reset" type="xs:string" nillable="true"/>
         <xs:element name="float_rate_index_location" type="xs:string" nillable="true"/>
         <xs:element name="periodic_basis_point_cap" type="xs:decimal" nillable="true"/>
         <xs:element name="weighted_average_coupon" type="xs:double" nillable="true"/>
         <xs:element name="whittingdale_issuer" type="xs:int" nillable="true"/>
         <xs:element name="settlement_location" type="xs:string" nillable="true"/>
         <xs:element name="attachment_lower" type="xs:double" nillable="true"/>
         <xs:element name="attachment_upper" type="xs:double" nillable="true"/>
         <xs:element name="exposure_type" type="xs:string" nillable="true"/>
         <xs:element name="nth2default" type="xs:double" nillable="true"/>
         <xs:element name="restruct_doc_clause" type="xs:string" nillable="true"/>
         <xs:element name="swap_counterparty" type="xs:string" nillable="true"/>
         <xs:element name="swaption_issue_date" type="xs:date" nillable="true"/>
         <xs:element name="swaption_mat_date" type="xs:date" nillable="true"/>
         <xs:element name="apace_call_price" type="xs:double" nillable="true"/>
         <xs:element name="apace_call_date" type="xs:date" nillable="true"/>
         <xs:element name="apace_callable_flag" type="xs:string" nillable="true"/>
         <xs:element name="apace_put_price" type="xs:double" nillable="true"/>
         <xs:element name="apace_put_date" type="xs:date" nillable="true"/>
         <xs:element name="apace_putable_flag" type="xs:string" nillable="true"/>
         <xs:element name="apace_day_count" type="xs:string" nillable="true"/>
         <xs:element name="apace_io_ind" type="xs:string" nillable="true"/>
         <xs:element name="apace_pass_thru_flag" type="xs:string" nillable="true"/>
         <xs:element name="apace_price_method" type="xs:string" nillable="true"/>
         <xs:element name="apace_price_source" type="xs:string" nillable="true"/>
         <xs:element name="apace_depository_type" type="xs:string" nillable="true"/>
         <xs:element name="apace_conv_ratio" type="xs:double" nillable="true"/>
         <xs:element name="apace_floating_rate" type="xs:string" nillable="true"/>
         <xs:element name="apace_frn_reset_code" type="xs:string" nillable="true"/>
         <xs:element name="apace_frn_reset_date" type="xs:date" nillable="true"/>
         <xs:element name="apace_step_conversion_date" type="xs:date" nillable="true"/>
         <xs:element name="apace_step_conversion_rate" type="xs:double" nillable="true"/>
         <xs:element name="apace_accrual_date_code" type="xs:string" nillable="true"/>
         <xs:element name="apace_payment_date_code" type="xs:string" nillable="true"/>
         <xs:element name="apace_payment_cycle_code" type="xs:string" nillable="true"/>
         <xs:element name="apace_par_call_date" type="xs:date" nillable="true"/>
         <xs:element name="apace_prerefund_price" type="xs:double" nillable="true"/>
         <xs:element name="apace_prerefund_date" type="xs:date" nillable="true"/>
         <xs:element name="apace_sink_fund_flag" type="xs:string" nillable="true"/>
         <xs:element name="make_whole_call_flag" type="xs:string" nillable="true"/>
         <xs:element name="effective_date" type="xs:date"/>
         <xs:element name="delete_flag" type="xs:string" nillable="true"/>
         <xs:element name="update_flag" type="xs:string" nillable="true"/>
         <xs:element name="fido_security_type_jvst" type="xs:int" nillable="true"/>
         <xs:element name="fido_security_type_jstp" type="xs:string" nillable="true"/>
         <xs:element name="fido_issuer_id" type="xs:int" nillable="true"/>
         <xs:element name="fido_guarantor_id" type="xs:int" nillable="true"/>
         <xs:element name="fido_name" type="xs:string" nillable="true"/>
         <xs:element name="draft_id" type="xs:string" nillable="true"/>
         <xs:element name="bbsw_at_last_reset" type="xs:double" nillable="true"/>
         <xs:element name="delta" type="xs:double" nillable="true"/>
         <xs:element name="price" type="xs:double" nillable="true"/>
         <xs:element name="benchmark_index_sec" type="xs:string" nillable="true"/>
         <xs:element name="index_multiplier" type="xs:double" nillable="true"/>
         <xs:element name="index_spread" type="xs:double" nillable="true"/>
         <xs:element name="index_link_location" type="xs:string" nillable="true"/>
         <xs:element name="index_lag" type="xs:double" nillable="true"/>
         <xs:element name="benchmark_rounding" type="xs:int" nillable="true"/>
         <xs:element name="index_link_bus_day_rule" type="xs:string" nillable="true"/>
         <xs:element name="calculation_type" type="xs:int" nillable="true"/>
         <xs:element name="start_day_of_month" type="xs:int" nillable="true"/>
         <xs:element name="pms_issue" type="xs:string" nillable="true"/>
         <xs:element name="pms_name" type="xs:string" nillable="true"/>
         <xs:element name="camra_cusip" type="xs:string" nillable="true"/>
         <xs:element name="infoexpress_id" type="xs:string" nillable="true"/>
         <xs:element name="issuer_desc" type="xs:string" nillable="true"/>
         <xs:element name="parent_issuer_desc" type="xs:string" nillable="true"/>
         <xs:element name="lead_mgr" type="xs:string" nillable="true"/>
         <xs:element name="co_mgr" type="xs:string" nillable="true"/>
         <xs:element name="superticker_desc" type="xs:string" nillable="true"/>
         <xs:element name="fmc_id" type="xs:string" nillable="true"/>
         <xs:element name="spintl_id" type="xs:string" nillable="true"/>
         <xs:element name="tranche_type" type="xs:string" nillable="true"/>
         <xs:element name="collateral_type" type="xs:string" nillable="true"/>
         <xs:element name="ab_fund_desc" type="xs:string" nillable="true"/>
         <xs:element name="adp_number" type="xs:string" nillable="true"/>
         <xs:element name="underlying_account_id" type="xs:string" nillable="true"/>
    </xs:schema>
    sec.xml
    <?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
    <security security_count="1" variable_rate_count="0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="security.xsd">
    <security_row><security_id>LZ002359750</security_id><primary_asset_id>B2479G9</primary_asset_id><delay_days xsi:nil="true"></delay_days><arm_indicator xsi:nil="true"></arm_indicator><camra_abs_und_coll xsi:nil="true"></camra_abs_und_coll><camra_abs_und_coll_cpn xsi:nil="true"></camra_abs_und_coll_cpn><initial_principal_pay_date xsi:nil="true"></initial_principal_pay_date><final_principal_pay_date xsi:nil="true"></final_principal_pay_date><mtg_term xsi:nil="true"></mtg_term><original_face xsi:nil="true"></original_face><pool_number xsi:nil="true"></pool_number><principal_pay_frequency xsi:nil="true"></principal_pay_frequency><pay_down_date xsi:nil="true"></pay_down_date><principal_pay_bus_day_rule xsi:nil="true"></principal_pay_bus_day_rule><seasoned_mbs xsi:nil="true"></seasoned_mbs><tba_stlmt_month xsi:nil="true"></tba_stlmt_month><accrual_flag>Y</accrual_flag><accrual_rule>1</accrual_rule><base_payment_date>0831</base_payment_date><day_count>ACT/ACT</day_count><ex_interest_bond_code xsi:nil="true"></ex_interest_bond_code><ex_days xsi:nil="true"></ex_days><ex_div_date xsi:nil="true"></ex_div_date><last_coupon_date>2017-08-31</last_coupon_date><for_bond_security_type>GER</for_bond_security_type><dated_date>2007-08-31</dated_date><issue_date>2007-08-31</issue_date><first_coupon_date>2008-08-31</first_coupon_date><second_coupon_date>2009-08-31</second_coupon_date><mat_date>2017-08-31</mat_date><interest_accrual_method>PER</interest_accrual_method><odd_first_coupon_date xsi:nil="true"></odd_first_coupon_date><odd_last_coupon_date xsi:nil="true"></odd_last_coupon_date><payment_eom_rule>Y</payment_eom_rule><pay_frequency>A</pay_frequency><pay_business_day_rule>BD</pay_business_day_rule><yield_day_count>ACT/ACT</yield_day_count><zero_coupon_type xsi:nil="true"></zero_coupon_type><analyst>SH</analyst><analyst_recomm xsi:nil="true"></analyst_recomm><approval_flag>Y</approval_flag><camra_sec_type xsi:nil="true"></camra_sec_type><class xsi:nil="true"></class><comments xsi:nil="true"></comments><holding_style>BE</holding_style><issued_capital xsi:nil="true"></issued_capital><issued_capital_currency>EUR</issued_capital_currency><min_denomination>50000</min_denomination><price_multiplier>0.01</price_multiplier><pricing_identifier xsi:nil="true"></pricing_identifier><quantity_issued>2250000</quantity_issued><shares_outstanding>2250000</shares_outstanding><quantity_type>PAR</quantity_type><redemption_value>100</redemption_value><scb_industry xsi:nil="true"></scb_industry><issue_desc1>DEUTSCHE BANK AG</issue_desc1><issue_desc2 xsi:nil="true"></issue_desc2><issue_desc3 xsi:nil="true"></issue_desc3><issue_short_name>DEUTSCHE BANK AG</issue_short_name><trading_lot_size>50000</trading_lot_size><unit_factor>1</unit_factor><camra_exercise_date xsi:nil="true"></camra_exercise_date><camra_expiration_date xsi:nil="true"></camra_expiration_date><alliance_sector>230</alliance_sector><alliance_industry>23030</alliance_industry><camra_gl_type xsi:nil="true"></camra_gl_type><emerg_mkt_ind xsi:nil="true"></emerg_mkt_ind><form_13f_flag xsi:nil="true"></form_13f_flag><instrument_class>FI</instrument_class><issue_type>BOND</issue_type><mortgage_sector>ZZ</mortgage_sector><naic_code xsi:nil="true"></naic_code><performance_segment>3</performance_segment><program_type xsi:nil="true"></program_type><camra_sic_code2 xsi:nil="true"></camra_sic_code2><camra_sched_d_group xsi:nil="true"></camra_sched_d_group><camra_sched_d_state xsi:nil="true"></camra_sched_d_state><security_form xsi:nil="true"></security_form><security_type_distrib xsi:nil="true"></security_type_distrib><camra_sic_code xsi:nil="true"></camra_sic_code><structured_note_flag>N</structured_note_flag><underlying_category xsi:nil="true"></underlying_category><primary_asset_id_type>aPACE</primary_asset_id_type><superticker>B2479G9</superticker><default_status>N</default_status><default_date xsi:nil="true"></default_date><accrue_in_default_ind>N</accrue_in_default_ind><ctd_bond xsi:nil="true"></ctd_bond><contract_size xsi:nil="true"></contract_size><derivative_type xsi:nil="true"></derivative_type><delivery_method xsi:nil="true"></delivery_method><conversion_factor xsi:nil="true"></conversion_factor><flex_option_ind xsi:nil="true"></flex_option_ind><leap_option_ind xsi:nil="true"></leap_option_ind><orig_strike_price xsi:nil="true"></orig_strike_price><otc_flag xsi:nil="true"></otc_flag><part_paid_percent xsi:nil="true"></part_paid_percent><strike_price xsi:nil="true"></strike_price><put_call_flag xsi:nil="true"></put_call_flag><strike_price_type xsi:nil="true"></strike_price_type><pay_currency

    Then you hit a bug in your version of Oracle. You may want to investigate and update to a newer version. I get the following error when trying to register your schema in 10.2.0.1
    ORA-31154: invalid XML document
    ORA-19202: Error occurred in XML processing
    LSX-00246: invalid QNAME "***_voting_flag"
    This error is consistent with Spy 2008 as well (I didn't try Xerces but I've got two that agree so it's good for me).

  • XML Validation in PI 7.1 - Restart and skip validation possible, but how?

    Hello all,
    I read about schema validation in PI 7.1 and did a few tests on my own, but could not restart and skip validation for invalid payloaded messages. The documents say it is possible.
    Anyone know how? Thanks.
    BTW, I really think putting the schemas in server file system will cause a lot of authorization trouble in enterprises. No one gives access to the server filesystem and I don't think they will also like to open the required subdirectories for share. Asking the basis team to create the folder structures and maintaining schemas would be another pain. Don't you also think that SAP could find a better approach, like automatically uploading the schemas to the filesystem, or validating them from repository directly if possible?
    Kind regards,
    Gökhan

    Hi Gökhan,
    I am facing the same issue.
    I set up outbound xml validation in receiver agreement and tested it with valid and invalid messages.
    The validation works fine.
    But in case of validation error I tried to restart with skipping the validation. But this wasn't possible.
    I am always facing the same valdiation error.
    I already tried all different tools I know (sxi_monitor, message monitoring in rwb and in nwa)
    I am working on PI 7.11 SP6
    Did you find a solution for skipping the validation for a single message out of the monitoring?
    I know that there is the possibility of deactivate the validation in receiver agreement but thid doesn't meet the requirement of skip the validation only for a single message.
    Maybe anyone else faced and solved this issue already.
    Thanks in advance
    Jochen

  • Xml validation ---- file system of PI ???

    hi all ,
         i read the xml validation concept of PI7.1 . iam unable to find any practical explanation about the following
    "To validate the structure of a PI message payload, you should export the schemas from the ESR and save them in the file system of PI. "
    save them in the file system of pi ... where does this mean to be stored ?.
    will it be necessary for both the ADAPTER ENGINE & INTEG ENGINE VALIDATION?
    Please give any other important aspect of this validation concept which u came across  during ur practical implementation
    THANKS IN ADVANCE

    Hi Netaji,
      Validating the XML documents is a new feature introduced in SAP NetWeaver Process Integration 7.1. The validation can be performed at two different locations - Integration Server or the Adapter Engine. Validations can be done in both synchronous and asynchronous operations.
    In the synchronous scenario or using an adapter that can handle synchronous messages (e.g. HTTP and SOAP adapters), when a validation error occurs, the error message will be returned to the sender. In the case of asynchronous scenarios (e.g. file adapter), the error message will be logged to the SXI_MONITOR when the validation is done in the Integration Server or to the Runtime Workbench (RWB) when the validation is done in the Adapter Engine. In both cases, the messaging will be terminated with error.
    Both Integration Server and Adapter Engine can be used for validating XML from the sender. However, only the Integration Server can be used to validate the XML when sending to the receiver. The XML validation configurations are done in either the Sender Agreement or the Receiver Agreement.
    In the current release, as of PI 7.1, the XML schema (or XSD) to be used for the XML validation has to reside in a file directory under the JEE. The XSD file has to be explicitly copied into a specific directory, depending on where the validation is to be performed.
    Regards,
    Leela

  • Inbound XML validation failed against schema

    Hi Experts,
    we are getting mapping exception at the time of Inbound XML validation but in the trace it is not displaying
    like which fields are not validating.
    I have gone through the Interface mapping in that we are using 2 mapping programs one is imported archives(java mapping) for validation
    and another one is for Messaging mapping.we are getting the problem at the time of validation itself,
    i have navigated by double clicking on the imported archive mapping program it is taken into another page
    where we will get the archive programs.we have soo many xsd files and its path, and one .java file and class file
    for validatting the xsd files. up to now everything is fine.
    please find the remaining question in the below post

    CONTINUATION QUESTION FOR THE ABOVE
    If i click on the xsd files it is displaying the complete schema structure, but in the case of 2 xsd files(those are using in one
    interface where we are getting validation error)it is displaying the error like "cannot display file com/AAA/BBB/java/CCC/xi/bc/validator/xsds/<filename.xsd> unable to determine code".as per my assumption the xsd file
    is not present in that perticular path, if so how can i put these xsd files into the path specified? how can i get that folders to nagvigate into that path? And also i am not able to download the xsd file from the external defination, is it work if i copy the file into note pad and by changing the extension as .xsd ?
    We are using PI7.0, give me an idea how to resolve the issue
    Thanks in Advance

  • Regarding error in xml validation in 7.1

    Hi
    I am getting following error in xml validation in 7.1
    my scenario is IDOC TO FILE
    from idoc DATE_TIME field comes with 14 digits. In the target I created DATE_TYPE field with data type
    "dateTime" and in details column pattern section I mentioned yyyyMMddHHmmss.while doing xml validation in I am gettting this error:(xml validation done in receiver agreement validation by Integrtion engine)
    cvc-pattern-valid: Value '20080213081220' is not facet-valid with respect to pattern 'yyyyMMddHHmmss' for type 'null'
    Please give me some inputs on this.
    Regards
    venkat.

    Hi,
    try this - update your target msg xsd in your XI folder........rerun your scenario and see if this error is still there..........
    if this error remains same, then in IR in data type, remove your pattern and just keep dateTime as datatype.......again update your xsd in XI folder.........rerun your scenario.
    Regards,
    Rajeev Gupta

  • Regarding error in xml validation 7.1

    Hi
    I am doing file to idoc scenario. In the sender agreement i selected validation by Adapter and uploaded the particular xsd.after executing the scenario in runtime workbench it is showing sucessfully processed  but in the MDT audit log I am getting following error.without validation the file is posting in target system.but when I check the validation by adapter it is giving following error.
    Received XI System Error. ErrorCode: CX_XMS_SYSERR_VALIDATION ErrorText: not used at the moment. ErrorStack: System error occurred during XML validation
    Transmitting the message to endpoint http://orcdapp1.edfapps.edfenergy.net:51100/sap/xi/engine?type=entry using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: CX_XMS_SYSERR_VALIDATION:not used at the moment..
    Please give me your inputs.
    Regards
    venkat.

    Hi Venky,
    This error due to incorrect path So please check whether you have used the correct path or not?
    Create appropriate directories structure where we have to save your structure (xsd).
    \usr\sap\<system id>\SYS\global\xi\runtime_server\A\B\C\D\E\F
    A - validation
    B - schema
    C - GUID of the SWCV where service interface reside.
    D - Repository Namespace where Service Interface is created.
    E - Service Interface Name
    F - Repository Namespace where Message Type or External Definition is assigned.
    Note: if your ESR namespace contains special character then do replace it with u201C~u201D in folder name.
    If namespace is http://abc.com/XI/FileToFile then folder name should be replace with httpabc.comXI~FileToFile
    Export schema from the ESR and save it in folder u201CFu201D with name <<RootElementOfMessageType>>.xsd. So in this case it is MT_File_Sender.xsd
    Regards,
    Sameer
    Edited by: sameer Khanna on May 27, 2009 10:14 AM

  • XML Validation on HTTP Adaptor

    Hi,
    We are implementing a HTTP sender channel on PI 7.11 and requires XML validation to be performed upon receiving. The validation is required to check if all the tags are closed and ended properly. Failing to do so, an error XML will be generated and subsequently send back to the sender.
    There is a blog  /people/william.li/blog/2009/03/19/adapter-user-module-for-http-adapter  detailing the development of user module for HTTP channel but we remain clueless on how can we change it to suit our needs. The XML messages can be of different format (different XSD) thus we need to make this as generic as possible.
    Ultimately the intention is to prevent XML to fail at later stage within PI and stopped the communication. Hope any experts out there can point us to the right direction.
    Thanks in advance!
    Regards,
    Wai Xin

    Use SOAP sender channel and do it with java.
    Chcek the possibility of creating fault message with custom validation code in java
    check this thread stefans reply on same thing .it will give you a direction how to proceed with it.Hope it helps you
    How to send the SOAP Fault Message to the Web Service Consumer
    Also see
    XML Validation using JAVA

  • XML Validation with DTD... Urgent

    Hi all,
    I am using java 1.4
    I have to validate the XML file with the external DTD.
    Can anyone give me the code for that.
    DTD should be external.
    Thanks,
    Vinayak.

    If you are using Solaris , it has xml validation tool "xmllint", using this you can validate your xml against DTD.
    try with "xmllint --help " to see all the option.
    Message was edited by:
    sasrivas

  • XML validation error while parsing MXI Manifest

    Hi,
    I have created an hybrid extension for Photoshop. I want to upload my extension on Adobe Exchange. during the upload process I get an error,
    "XML validation error while parsing MXI Manifest: Declarations can only occur in the doctype declaration. Line: 19 Position: 791 Last 80 unconsumed characters".
    The error description specifies that description in MXI file is not valid. Below are the contents of my MXI file.
    <macromedia-extension
               name="yyy"
               id="com.yyy"
               version="1.0.0"
               type="object"
               requires-restart="true">
              <author name="abcd" />
              <products>
              <product familyname="Photoshop" maxversion="" primary="true" version="12.0"/>  
              </products>
    <description>
              <![CDATA[
    <p><font size="14" color="black"><b>abcd</b> qwertyuioipafgjhkjljljklkjl
    <br><br>
    Open Extension via: Photoshop top menu > Window > Extensions > abcd.
    <br><br>
    Online support at: <a href="http://www.abcd.com/help.php">http://www.abcd.com/help.php</a></font></p>
    <br>]]>
    </description>
    <ui-access>
              </ui-access>
    <license-agreement>
    </license-agreement>
    <files>
                <file destination="$ExtensionSpecificEMStore/com.abcd/html/abcd.html" products="" source="zxp-support/Description/abcd.html"/>
                <file destination="$ExtensionSpecificEMStore/com.abcd/html/abcd.png" products="" source="zxp-support/Description/abcd.png"/>
                <file destination="" file-type="CSXS" products="" source="abcd.zxp"/> 
                <file destination="$automate" file-type="plugin" platform="mac" products="Photoshop" source="mac/abcd.plugin"/>
                <file destination="$automate" file-type="plugin" platform="win" products="Photoshop32" source="win32/abcd.8li"/>
                <file destination="$automate" file-type="plugin" platform="win" products="Photoshop64" source="win64/abcd.8li"/>
    </files>
    </macromedia-extension>
    Can anyone please point out why am I getting the error?
    Thanks

    Hi CarlSun,
    Thanks for the reply. I have made the changes suggested by you.
    I have few queries:
    1.  Can we use attribute "source" in the description tag?
         I have created a local html page and specified it in source attribute. but the Extension Manager CS6 did not render the local html page and displayed      the following:
         No description avaliable. Click the following link for more details.
         "http://www.abcd.html". Is it possible to display a local html page in Extension Manager CS6?
    2. Can I display an image (png) in CDATA under description tag? If yes, then can you please guide me how can I do so?
    3. As suggested in tech notes MXI file must include UTF-8 encoding as header (<?xml version="1.0" encoding="UTF-8"?>). The MXI I am using does      not have this header. Do I need to include the header?
    Thanks

  • 9.0.1: select on dba_users as sys gives ORA-03106

    Hi,
    Select username from dba_users logged as sys gives
    ORA-03106: fatal two-task communication protocal error.
    Install done from zipped OTN files, server 9.0.1, OS Linux SuSe 7.2. Character set UTF8. Is UTF8 incompatible with 9i?
    Any treatment ideas are greatly appreciated.
    Thanks
    Anatoliy Smirnov

    resolved
    thanks

Maybe you are looking for

  • HT5639 Unable to install windows 8 in my Macbook pro 13" .. after the upgrade ..:(

    I have updated my Mountain Lion (10.8.3) yesterday .. which includes the latest Bootcamp update which allows the user to install Windows8. Am unable to install Windows8 .. "Windows 8 is not supported on this Mac" .. My MacBook Pro is ..13-inch, Mid 2

  • How to write XSLT codeing in file to file using XSLT mapping?

    Hi , Experts, I am new to XSLT coding as iam doing File to File XSLT Mapping for i have created IR and ID part and i have wriiten XSLT codeing which is not working. source structure:                     Target structure Fname                         

  • Change substitution (GGB1) with FAGLFLEXA

    Hi, I have to make a intercompany post, using F-30 (Post with Clearing) for vendors and F-51 for customer accounting. My intention is clearing an vendor/customer item and, in the same time to generate an other item on the new company code, but with o

  • Archiving using PBS

    Hi All, I have to do archiving using PBS . standard program for arching is RM06EL00 but using PBS the sap has converted this program into /PBS/RM06EL00. There is one bug in this program as follows:- when i running this program with multiple vendors f

  • To_timestamp vs. to_date when forcing native SQL

    Hello! I was recently encountering performance problems when querying on dates, and found some useful help on this forum. The suggestion I took was to set the <uses-native-sql> element to true in my sessions.xml file. This caused TopLink to use the n