ORA-00932 when trying to pass ARRAY from Java SP to PL/SQL

Hi all
I am trying to pass ARRAYs back and forth between PL/SQL and Java stored procedures. But I keep getting:
ORA-00932: inconsistent datatypes: expected a return value that is an instance of a user defined Java class convertible to an Oracle type got an object that could not be converted
Here's my PL/SQL:
create or replace type CONTENTP.sentences_array as VARRAY(1000) of CLOB
-- I've also tried .. as TABLE of CLOB and varray/table of VARCHAR2
declare
proc_clob CLOB;
arr SENTENCES_ARRAY;
begin
SELECT document_body
into proc_clob
from documents
where document_id = 618784;
arr := processdocument.sentencesplit (proc_clob);
end;
PROCESSDOCUMENT package definition:
CREATE OR REPLACE PACKAGE CONTENTP.PROCESSDOCUMENT AS
FUNCTION sentenceSplit(Param1 CLOB)
return SENTENCES_ARRAY
AS
LANGUAGE java
NAME 'com.contentp.documents.ProcessDocument.sentenceSplit(oracle.sql.CLOB) return oracle.sql.ARRAY';
FUNCTION removeHTML(Param1 CLOB)
return CLOB
AS
LANGUAGE java
NAME 'com.contentp.documents.ProcessDocument.removeHTML(oracle.sql.CLOB) return oracle.sql.CLOB';
end;
Java sentenceSplit code:
public static oracle.sql.ARRAY sentenceSplit ( CLOB text) throws IOException, SQLException
Connection conn = new OracleDriver().defaultConnection();
String[] arrSentences = sent.getsentences ( CLOBtoString (text) );
ArrayDescriptor arrayDesc =
ArrayDescriptor.createDescriptor ("SENTENCES_ARRAY", conn);
ARRAY ARRSentences = new ARRAY (arrayDesc, conn, arrSentences);
return ARRSentences;
I have confirmed that the String[] arrSentences contains a valid string array. So the problem seems to be the creation and passing of ARRSentences.
I have looked at pages and pages of documents and example code, and can't see anything wrong with my declaration of ARRSentences. I'm at a loss to explain what's wrong.
Thanks in advance - any help is much appreciated!

I am trying to do something similar but seems like getting stuck at registerOutParameter for this.
Type definition:
CREATE OR REPLACE
type APL_CCAM9.VARCHARARRAY as table of VARCHAR2(100)
Java Stored Function code:
public static ARRAY fetchData (ARRAY originAreaCds, ARRAY serviceCds, ARRAY vvpcs) {
Connection connection = null;
     ARRAY array = null;
     try {
     connection = new OracleDriver ().defaultConnection();
     connection.setAutoCommit(false);
ArrayDescriptor adString = ArrayDescriptor.createDescriptor("VARCHARARRAY", connection);
String[] result = new String [2];
result[0] = "Foo";
result[1] = "Foo1";
array = new ARRAY (adString, connection, result);
connection.commit ();
return array;
} catch (SQLException sqlexp) {
try {
connection.rollback();
} catch (SQLException exp) {
return array;
Oracle Stored Function:
function FETCH_TRADE_DYN_DATA (AREA_CDS IN VARCHARARRAY, SERVICE_CDS IN VARCHARARRAY,VV_CDS IN VARCHARARRAY) return VARCHARARRAY AS LANGUAGE JAVA NAME 'com.apl.ccam.oracle.js.dalc.TDynAllocation.fetchData (oracle.sql.ARRAY, oracle.sql.ARRAY, oracle.sql.ARRAY) return oracle.sql.ARRAY';
Java Code calling Oracle Stored Procedure:
ocs = (OracleCallableStatement) oraconn.prepareCall(queryBuf.toString());
               ArrayDescriptor adString = ArrayDescriptor.createDescriptor("VARCHARARRAY", oraconn);
               String[] originAreaCds = sTDynAllocationVO.getGeogAreaCds();
               ARRAY areaCdArray = new ARRAY (adString, oraconn, originAreaCds);
               ocs.registerOutParameter(1, OracleTypes.ARRAY);
               ocs.setArray (2, areaCdArray);
               String[] serviceCds = sTDynAllocationVO.getServiceCds();
               ARRAY serviceCdsArray = new ARRAY (adString, oraconn, serviceCds );
               ocs.setArray (3, serviceCdsArray);
               String[] vvpcs = sTDynAllocationVO.getVesselVoyagePortCdCallNbrs();
               ARRAY vvpcsArray = new ARRAY (adString, oraconn, vvpcs);
               ocs.setArray (4, vvpcsArray);
ocs.execute();
ARRAY results = ocs.getARRAY(1);
Error I get:
Parameter Type Conflict: sqlType=2003
Thanks for help in advance.

Similar Messages

  • Passing parameters from java jdbc to pl/sql

    I’m calling stored procedures from java jdbc… but looking for nicer interfaces in terms of passing data. Has anyone come up with a good way to pass data from java jdbc to pl/sql without passing a million parameters? I’m thinking here of some type of structure like pl/sql rowtype or table index type or something else. Has anyone tried to create typed objects in oracle databases and access them from java?
    Thanks, Patrick Caldwell

    Hi Patrick,
    Yes, I have created an Oracle object type, which I successfully returned to a java class, from a PL/SQL stored function, using JDBC. Environment was J2SE 1.3.1, with Oracle 8.1.7.4 on SUN [sparc] Solaris 7 with Oracle's JDBC (thin) driver. It was a while ago, so I don't remember the details very clearly, but I recall being able to figure it out quite easily using the Oracle documentation and the sample code available at Oracle's Technet Web site.
    Hope this has helped you.
    Good Luck,
    Avi.

  • Pass arrays from Java to PL/SQL procedure.

    Hi All,
    Can some body give an example, where an array of strings is passed from java to a PL/SQL procedure.
    Any help in this regard is appreciated.
    Thanks,
    Prashant

    Kiran Kumar Gunda wrote:
    I would want to use Oracle provided (Oracle Extensions) API to pass arrays to PL/SQL
    procedure from Java. I am using weblogic connection pool, but the 'createDescriptor'
    method donot allow Pooled connection. So I have taken Physical Connection by casting
    to 'WLConnection'. Now, weblogic strongly suggest NOT to use this,as pooling capabilities
    will be disabled.
    But by setting RemoveInfectedConnectionsEnabled to false, we can ask weblogic
    to return the Physical Connection to Pool. I have tested this with the attached
    code. I DON'T find any issue.Good. The only real risk to obtaining the physical connection is retaining and
    using it beyond the current thread execution. Your code looks OK. The only thing
    I'd suggest is to add to the finally block. I would put a separate try-catch-ignore
    block around every action in the finally, so if one fails, the others are still
    done.
    As long as you're writing good JDBC like that, there is no risk to telling the
    pool to trust the code, by setting RemoveInfectedConnectionsEnabled to false.
    That way you'll retain all the performance of the pools.
    Joe
    >
    I want your opinion in this, so that I will be confident in using this feature
    in our application.
    Note : Please look at the sample code that I am using. I AM NOT GOING TO USE PHYSICAL
    CONNECTIONS for normal operations. I will use Physical Connection only when I
    want to pass Arrays to Oracle.
    Thanks
    Kiran

  • Error occured when trying to pass object from Jsp to Applet

    I am trying to pass a serialized object(ie, object class implements java.io.Serializable...so that is not a problem) from a Jsp to an Applet.
    My jsp(Jsp_RMI.jsp) page is:-
    <%@ page import="java.io.*" %>
    <%@ page import="com.itlinfosys.syslab.mfasys.scm.*" %>
    <%@ page import="java.util.*" %>
    <applet code="com/itlinfosys/syslab/mfasys/scm/Applet_RMI" width=200 height=100>
    </applet>
    <%! ObjectOutputStream outputToApplet=null;
    PrintWriter out=null;
    BufferedReader inTest=null;
    %> <% Student student=new Student();
    Vector students=new Vector();
    students.addElement(student);
    outputToApplet=new ObjectOutputStream(response.getOutputStream());
    outputToApplet.writeObject(students);
    out.println(student);
    outputToApplet.flush();
    outputToApplet.close();
    %> <html> <head> <title>My Page</title> </head> <body> </body> </html>
    My Applet Applet_RMI.java is:-
    package com.itlinfosys.syslab.mfasys.scm;
    import java.applet.*;
    import java.net.*;
    import java.io.*;
    import com.itlinfosys.syslab.mfasys.scm.Student;
    import java.util.*;
    public class Applet_RMI extends Applet{
    Vector aStudent=null;
    ObjectInputStream inputFromServlet=null;
    String location="<URL>";
    public void init(){
    getConnection(location);
    public void getConnection(String location) {
    try{
    URL testJsp=new URL(location);
    URLConnection jspConnection=testJsp.openConnection();
    jspConnection.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
    jspConnection.setDoInput(true);
    jspConnection.setDoOutput(true);
    jspConnection.setUseCaches(false);
    jspConnection.setDefaultUseCaches(false);
    inputFromServlet=new ObjectInputStream(jspConnection.getInputStream());
    aStudent=(Vector)inputFromServlet.readObject();
    }catch(MalformedURLException e){ System.out.println(e);
    catch(IOException e){
    System.out.println(e);
    catch(ClassNotFoundException e){ System.out.println(e);
    I am using netscape-4.73 on weblogic server. On server when I try to view Jsp page it gives netscape.security.AppletSecurity Exception.
    When I am trying to call this Jsp from IE-5 on my client machine, I am getting error:-"java.io.StreamCorruptedException: InputStream does not contain a serialized" Pl help me out.

    You should probably change your implementation to use a servlet rather than JSP. There may be extra stuff being put in by the JSP. Besides, servlets run faster. Here is some code that may help.
    From the Servlet:
      public void doPost(
          HttpServletRequest               httpServletRequest,
          HttpServletResponse              httpServletResponse )
          throws ServletException, IOException {
        ObjectInputStream in = new ObjectInputStream(new GZIPInputStream(httpServletRequest.getInputStream()));
        requestObject = in.readObject() ;
        ObjectOutputStream out = new ObjectOutputStream(new GZIPOutputStream(httpServletResponse.getOutputStream()));
        out.writeObject(responseObject);
        out.close();
      } //end doPost()And from the Applet:
      public Object doServletCall(
          Object                           sendObject ) {
        try {
          HttpURLConnection con = (HttpURLConnection)servlet.openConnection() ;
          con.setRequestMethod("POST");
          con.setDoInput(true);
          con.setDoOutput(true);
          con.setUseCaches(false);
          con.setRequestProperty("Content-Type","application/x-www-form-urlencoded");
          ObjectOutputStream out = new ObjectOutputStream(new GZIPOutputStream(con.getOutputStream()));
          out.writeObject(sendObject);
          out.flush();
          out.close();
          ObjectInputStream in = new ObjectInputStream(new GZIPInputStream(con.getInputStream()));
          Object returnObject = in.readObject() ;
          in.close();
          return returnObject ;
        } catch (IOException e) {
          e.printStackTrace();
        } catch (ClassNotFoundException e) {
          e.printStackTrace();
        } //end try
        return null ;
      } //end doServletCall()Of course you can remove the ZIP and send object if you don't need them

  • Passing array from java stored procedure to plsql

    I have a java store procedure that is parsing an xml document and returning element values to my plsql application(8.1.7). I'm mapping a java.lang.String return type to VARCHAR2. However I'm running into the 4k limit when trying to return a string from java that is over 4k. Truncation of varchar returning over 4k is a known issue in 8i.
    So my next idea was to split that value of the element into 2000char and put in an array then pass that back to the plsql procedure. I know that oracle.sql.ARRAY can be converted into a plsql TABLE. But I believe you can only use the oracle.sql.ARRAY type when you are doing jdbc programming and are working with a connection.
    SO FINALLY MY QUESTION IS...
    Can anyone think of a solution that will allow me to pass over 4k of character data from my java stored procedure (not jdbc), back to my plsql app?
    Thanks.

    My understanding is that oracle 8 has a 4k limitation on any plsql function return data. A varchar can hold 32k within a function/package, but it cannot return more than 4k outside it's scope.
    Do you have an example you could share where you use the clob as a return type?
    Thanks!

  • Passing Array of java objects to and from oracle database-Complete Example

    Hi all ,
    I am posting a working example of Passing Array of java objects to and from oracle database . I have struggled a lot to get it working and since finally its working , postinmg it here so that it coudl be helpful to the rest of the folks.
    First thinsg first
    i) Create a Java Value Object which you want to pass .
    create or replace and compile java source named Person as
    import java.sql.*;
    import java.io.*;
    public class Person implements SQLData
    private String sql_type = "PERSON_T";
    public int person_id;
    public String person_name;
    public Person () {}
    public String getSQLTypeName() throws SQLException { return sql_type; }
    public void readSQL(SQLInput stream, String typeName) throws SQLException
    sql_type = typeName;
    person_id = stream.readInt();
    person_name = stream.readString();
    public void writeSQL(SQLOutput stream) throws SQLException
    stream.writeInt (person_id);
    stream.writeString (person_name);
    ii) Once you created a Java class compile this class in sql plus. Just Copy paste and run it in SQL .
    you should see a message called "Java created."
    iii) Now create your object Types
    CREATE TYPE person_t AS OBJECT
    EXTERNAL NAME 'Person' LANGUAGE JAVA
    USING SQLData (
    person_id NUMBER(9) EXTERNAL NAME 'person_id',
    person_name VARCHAR2(30) EXTERNAL NAME 'person_name'
    iv) Now create a table of Objects
    CREATE TYPE person_tab IS TABLE OF person_t;
    v) Now create your procedure . Ensure that you create dummy table called "person_test" for loggiing values.
    create or replace
    procedure give_me_an_array( p_array in person_tab,p_arrayout out person_tab)
    as
    l_person_id Number;
    l_person_name Varchar2(200);
    l_person person_t;
    l_p_arrayout person_tab;
    errm Varchar2(2000);
    begin
         l_p_arrayout := person_tab();
    for i in 1 .. p_array.count
    loop
         l_p_arrayout.extend;
         insert into person_test values(p_array(i).person_id, 'in Record '||p_array(i).person_name);
         l_person_id := p_array(i).person_id;
         l_person_name := p_array(i).person_name;
         l_person := person_t(null,null);
         l_person.person_id := l_person_id + 5;
         l_person.person_name := 'Out Record ' ||l_person_name ;
         l_p_arrayout(i) := l_person;
    end loop;
    p_arrayout := l_p_arrayout;
         l_person_id := p_arrayout.count;
    for i in 1 .. p_arrayout.count
    loop
    insert into person_test values(l_person_id, p_arrayout(i).person_name);
    end loop;
    commit;
    EXCEPTION WHEN OTHERS THEN
         errm := SQLERRM;
         insert into person_test values(-1, errm);
         commit;
    end;
    vi) Now finally create your java class which will invoke the pl/sql procedure and get the updated value array and then display it on your screen>Alternatively you can also check the "person_test" tbale
    import java.util.Date;
    import java.io.*;
    import java.sql.*;
    import oracle.sql.*;
    import oracle.jdbc.driver.*;
    import java.text.DateFormat;
    import java.text.ParseException;
    import java.text.SimpleDateFormat;
    public class ArrayDemo
    public static void passArray() throws SQLException
    Connection conn = getConnection();
    ArrayDemo a = new ArrayDemo();
    Person pn1 = new Person();
    pn1.person_id = 1;
    pn1.person_name = "SunilKumar";
    Person pn2 = new Person();
    pn2.person_id = 2;
    pn2.person_name = "Superb";
    Person pn3 = new Person();
    pn3.person_id = 31;
    pn3.person_name = "Outstanding";
    Person[] P_arr = {pn1, pn2, pn3};
    Person[] P_arr_out = new Person[3];
    ArrayDescriptor descriptor =
    ArrayDescriptor.createDescriptor( "PERSON_TAB", conn );
    ARRAY array_to_pass =
    new ARRAY( descriptor, conn, P_arr);
    OracleCallableStatement ps =
    (OracleCallableStatement )conn.prepareCall
    ( "begin give_me_an_array(?,?); end;" );
    ps.setARRAY( 1, array_to_pass );
         ps.registerOutParameter( 2, OracleTypes.ARRAY,"PERSON_TAB" );
         ps.execute();
         oracle.sql.ARRAY returnArray = (oracle.sql.ARRAY)ps.getArray(2);
    Object[] personDetails = (Object[]) returnArray.getArray();
    Person person_record = new Person();
    for (int i = 0; i < personDetails.length; i++) {
              person_record = (Person)personDetails;
              System.out.println( "row " + i + " = '" + person_record.person_name +"'" );
                        public static void main (String args[]){
         try
                             ArrayDemo tfc = new ArrayDemo();
                             tfc.passArray();
         catch(Exception e) {
                        e.printStackTrace();
              public static Connection getConnection() {
         try
                             Class.forName ("oracle.jdbc.OracleDriver");
                             return DriverManager.getConnection("jdbc:oracle:thin:@<<HostNanem>>:1523:VIS",
                             "username", "password");
         catch(Exception SQLe) {
                        System.out.println("IN EXCEPTION BLOCK ");
                        return null;
    and thats it. you are done.
    Hope it atleast helps people to get started. Comments are appreciated. I can be reached at ([email protected]) or [email protected]
    Thanks
    Sunil.s

    Hi Sunil,
    I've a similar situation where I'm trying to insert Java objects in db using bulk insert. My issue is with performance for which I've created a new thread.
    http://forum.java.sun.com/thread.jspa?threadID=5270260&tstart=30
    I ran into your code and looked into it. You've used the Person object array and directly passing it to the oracle.sql.ARRAY constructor. Just curios if this works, cos my understanding is that you need to create a oracle.sql.STRUCT out of ur java object collection and pass it to the ARRAY constructor. I tried ur way but got this runtime exception.
    java.sql.SQLException: Fail to convert to internal representation: JavaBulkInsertNew$Option@10bbf9e
                        at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
                        at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
                        at oracle.jdbc.oracore.OracleTypeADT.toDatum(OracleTypeADT.java:239)
                        at oracle.jdbc.oracore.OracleTypeADT.toDatumArray(OracleTypeADT.java:274)
                        at oracle.jdbc.oracore.OracleTypeUPT.toDatumArray(OracleTypeUPT.java:115)
                        at oracle.sql.ArrayDescriptor.toOracleArray(ArrayDescriptor.java:1314)
                        at oracle.sql.ARRAY.<init>(ARRAY.java:152)
                        at JavaBulkInsertNew.main(JavaBulkInsertNew.java:76)
    Here's a code snippet I used :
    Object optionVal[] =   {optionArr[0]};   // optionArr[0] is an Option object which has three properties
    oracle.sql.ArrayDescriptor empArrayDescriptor = oracle.sql.ArrayDescriptor.createDescriptor("TT_EMP_TEST",conn);
    ARRAY empArray = new ARRAY(empArrayDescriptor,conn,optionVal);If you visit my thread, u'll see that I'm using STRUCT and then pass it to the ARRAY constructor, which works well, except for the performance issue.
    I'll appreciate if you can provide some information.
    Regards,
    Shamik

  • Passing an array from Java to Pl/SQL Procdures

    I am relatively new to the Java world and I am unable to pass back an array from Java back to the calling PL/SQL procedure. I have read many of the posts that deal with this issue and in specificly have viewed Ask Tom. My main issue is trying to get the data types matched up. I am able to return varchar2, numbers, and the like, but an array of filenames is not happening. I have tried a variety of "types" but unable to accomplish the task. Please help.
    I have my Java class basically defined as:
    public static oracle.sql.ARRAY[] getCollection(String directory)
                   throws SQLException
    { // provide a directory and get a listing of files
    File path = new File( directory );
    String[] list = path.list();
    return list;
    SQL Type and PL/SQL Procedure is:
    CREATE OR REPLACE TYPE PTO_FILE IS TABLE OF VARCHAR2(100);
    create or replace function get_dir_collection( p_directory in varchar2 ) RETURN PTO_FILE
         as language java
    name 'DirCollection.getCollection( java.lang.String ) return oracle.sql.ARRAY[]';
    /

    I know that it is not an ARRAY. It is however an "array" and I am attempting to map Java's String[][ to some "object" on the oracle side.  I have looked at the link you sited and was not able to find the data mapping.  I have found that mapping data types between different "languages" is some of the most difficult aspects of working with multiple languages.
    Any suggestions? Thanks

  • Extractvalue giving ORA-00932 when used in PL/SQL

    Hi,
    When I use the extractvalue function from within PL/SQL I get this error:
    ORA-00932: inconsistent datatypes: expected NUMBER got
    SINAPP.body.contentType1898_T
    The same SQL statement run from SQL Plus gives me the correct result. Is there any difference in calling this function from within PL/SQL?
    This is my SQL:
    select extractvalue (value(p),
    '/NewsML/NewsItem/NewsComponent/ContentItem/DataContent/body/body.content')
    into story from sin_xml_cx_temp p where
    extract(value(p),
    '/NewsML/NewsItem/NewsComponent/AdministrativeMetadata/FileName/text()').getStringval() = '39039859.xml';
    The Oracle version we are using is 9.2.0.3
    Here is the XML schema:
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema targetNamespace="http://www.sin.com" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.sin.com" xmlns:xdb="http://xmlns.oracle.com/xdb" elementFormDefault="qualified">
    <!-- enabling xml:lang attribute -->
    <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd"/>
    <xs:complexType name="AdministrativeMetadataType">
    <xs:sequence>
    <xs:element name="Catalog" type="CatalogType" minOccurs="0"/>
    <xs:element name="FileName" type="FileNameType" minOccurs="0"/>
    <xs:element name="SystemIdentifier" type="SystemIdentifierType" minOccurs="0"/>
    <xs:element name="Provider" type="ProviderType" minOccurs="0"/>
    <xs:element name="Creator" type="CreatorType" minOccurs="0"/>
    <xs:element name="Source" type="SourceType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="Contributor" type="ContributorType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="Property" type="PropertyType" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <!-- All attributes are optional by default!!! -->
    </xs:complexType>
    <xs:complexType name="AssociatedWithType">
    <xs:sequence>
    <xs:element name="Comment" type="CommentType" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="NewsItem" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="BasisForChoiceType">
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="Rank" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    <!-- The simpleContent element contains extensions or restrictions on a text-only complex
    type or on a simple type as content and contains no elements. -->
    </xs:complexType>
    <!-- A mixed complex type element can contain attributes, elements, and text -->
    <xs:complexType name="ByLineType" mixed="true">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
    <xs:element name="Origin" type="OriginType"/>
    </xs:choice>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute ref="xml:lang"/>
    </xs:complexType>
    <xs:complexType name="CatalogType">
    <xs:sequence>
    <xs:element name="Resource" type="ResourceType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="TopicUse" type="TopicUseType" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="Href" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="CharacteristicsType">
    <xs:sequence>
    <xs:element name="SizeInBytes" type="SizeInBytesType" minOccurs="0"/>
    <xs:element name="Property" type="PropertyType" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="CommentType">
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute ref="xml:lang"/>
    <xs:attribute name="TranslationOf" type="xs:IDREF"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="ContentItemType">
    <xs:sequence>
    <xs:element name="Comment" type="CommentType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="Catalog" type="CatalogType" minOccurs="0"/>
    <xs:element name="MediaType" type="MediaTypeType" minOccurs="0"/>
    <xs:element name="Format" type="FormatType" minOccurs="0"/>
    <xs:element name="MimeType" type="MimeTypeType" minOccurs="0"/>
    <xs:element name="Notation" type="NotationType" minOccurs="0"/>
    <xs:element name="Characteristics" type="CharacteristicsType" minOccurs="0"/>
    <xs:choice minOccurs="0">
    <xs:element name="Encoding" type="EncodingType"/>
    <xs:element name="DataContent" type="DataContentType"/>
    </xs:choice>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="Href" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="ContributorType">
    <xs:sequence>
    <xs:element name="Comment" type="CommentType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="Party" type="PartyType" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="CopyrightType">
    <xs:sequence>
    <xs:element name="Comment" type="CommentType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="CopyrightHolder" type="CopyrightHolderType"/>
    <xs:element name="CopyrightDate" type="CopyrightDateType"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="AssignedBy" type="xs:string"/>
    <xs:attribute name="Importance" type="xs:string"/>
    <xs:attribute name="Confidence" type="xs:string"/>
    <xs:attribute name="HowPresent" type="xs:string"/>
    <xs:attribute name="DateAndTime" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="CopyrightDateType" mixed="true">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
    <xs:element name="Origin" type="OriginType"/>
    </xs:choice>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute ref="xml:lang"/>
    </xs:complexType>
    <xs:complexType name="CopyrightHolderType" mixed="true">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
    <xs:element name="Origin" type="OriginType"/>
    </xs:choice>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute ref="xml:lang"/>
    </xs:complexType>
    <xs:complexType name="CopyrightLineType" mixed="true">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
    <xs:element name="Origin" type="OriginType"/>
    </xs:choice>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute ref="xml:lang"/>
    </xs:complexType>
    <xs:complexType name="CreatorType">
    <xs:sequence>
    <xs:element name="Comment" type="CommentType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="Party" type="PartyType" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="CreditLineType" mixed="true">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
    <xs:element name="Origin" type="OriginType"/>
    </xs:choice>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute ref="xml:lang"/>
    </xs:complexType>
    <xs:complexType name="DataContentType" mixed="true">
    <xs:sequence>
    <xs:element name="head" type="headType"/>
    <xs:element name="body" type="bodyType"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="DateAndTimeType">
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    <xs:element name="DateId" type="xs:string"/>
    <xs:complexType name="DateLabelType">
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="DateLineType" mixed="true">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
    <xs:element name="Origin" type="OriginType"/>
    </xs:choice>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute ref="xml:lang"/>
    </xs:complexType>
    <xs:complexType name="DefaultVocabularyForType">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="Context" type="xs:string" use="required"/>
    <xs:attribute name="Scheme" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="DeleteType">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="DuidRef" type="xs:string" use="required"/>
    </xs:complexType>
    <xs:complexType name="DerivedFromType">
    <xs:sequence>
    <xs:element name="Comment" type="CommentType" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="NewsItem" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="DescriptionType">
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute ref="xml:lang"/>
    <xs:attribute name="Variant" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="DescriptiveMetadataType">
    <xs:sequence>
    <xs:element name="Catalog" type="CatalogType" minOccurs="0"/>
    <xs:element name="Language" type="LanguageType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="Genre" type="GenreType" minOccurs="0"/>
    <xs:element name="SubjectCode" type="SubjectCodeType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="OfInterestTo" type="OfInterestToType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="TopicOccurrence" type="TopicOccurrenceType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="Property" type="PropertyType" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="AssignedBy" type="xs:string"/>
    <xs:attribute name="Importance" type="xs:string"/>
    <xs:attribute name="Confidence" type="xs:string"/>
    <xs:attribute name="HowPresent" type="xs:string"/>
    <xs:attribute name="DateAndTime" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="EncodingType">
    <xs:choice minOccurs="0">
    <xs:element name="Encoding" type="EncodingType"/>
    <xs:element name="DataContent" type="DataContentType"/>
    </xs:choice>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="Notation" type="xs:string" use="required"/>
    </xs:complexType>
    <xs:complexType name="EndDateType" mixed="true">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
    <xs:element name="Origin" type="OriginType"/>
    </xs:choice>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute ref="xml:lang"/>
    <xs:attribute name="AssignedBy" type="xs:string"/>
    <xs:attribute name="Importance" type="xs:string"/>
    <xs:attribute name="Confidence" type="xs:string"/>
    <xs:attribute name="HowPresent" type="xs:string"/>
    <xs:attribute name="DateAndTime" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="FileNameType">
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="FirstCreatedType">
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="FormalNameType">
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="Scheme" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="FormatType">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="FormalName" type="xs:string" use="required"/>
    <xs:attribute name="Vocabulary" type="xs:string"/>
    <xs:attribute name="Scheme" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="FutureStatusType">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="FormalName" type="xs:string" use="required"/>
    <xs:attribute name="Vocabulary" type="xs:string"/>
    <xs:attribute name="Scheme" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="GenreType">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="FormalName" type="xs:string" use="required"/>
    <xs:attribute name="Vocabulary" type="xs:string"/>
    <xs:attribute name="Scheme" type="xs:string"/>
    <xs:attribute name="AssignedBy" type="xs:string"/>
    <xs:attribute name="Importance" type="xs:string"/>
    <xs:attribute name="Confidence" type="xs:string"/>
    <xs:attribute name="HowPresent" type="xs:string"/>
    <xs:attribute name="DateAndTime" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="GeographyType" mixed="true">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
    <xs:element name="Origin" type="OriginType"/>
    </xs:choice>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute ref="xml:lang"/>
    <xs:attribute name="AssignedBy" type="xs:string"/>
    <xs:attribute name="Importance" type="xs:string"/>
    <xs:attribute name="Confidence" type="xs:string"/>
    <xs:attribute name="HowPresent" type="xs:string"/>
    <xs:attribute name="DateAndTime" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="HeadLineType" mixed="true">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
    <xs:element name="Origin" type="OriginType"/>
    </xs:choice>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute ref="xml:lang"/>
    </xs:complexType>
    <xs:complexType name="IdentificationType">
    <xs:sequence>
    <xs:element name="NewsIdentifier" type="NewsIdentifierType"/>
    <xs:element name="NameLabel" type="NameLabelType" minOccurs="0"/>
    <xs:element name="DateLabel" type="DateLabelType" minOccurs="0"/>
    <xs:element name="Label" type="LabelType" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="InsertAfterType" mixed="true">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="DuidRef" type="xs:string" use="required"/>
    </xs:complexType>
    <xs:complexType name="InsertBeforeType" mixed="true">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="DuidRef" type="xs:string" use="required"/>
    </xs:complexType>
    <xs:complexType name="InstructionType">
    <xs:sequence>
    <xs:element name="RevisionStatus" type="RevisionStatusType" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="FormalName" type="xs:string" use="required"/>
    <xs:attribute name="Vocabulary" type="xs:string"/>
    <xs:attribute name="Scheme" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="KeywordLineType" mixed="true">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
    <xs:element name="Origin" type="OriginType"/>
    </xs:choice>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute ref="xml:lang"/>
    </xs:complexType>
    <xs:complexType name="LabelType">
    <xs:sequence>
    <xs:element name="LabelType" type="LabelTypeType"/>
    <xs:element name="LabelText" type="LabelTextType"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="LabelTextType">
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="LabelTypeType">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="FormalName" type="xs:string" use="required"/>
    <xs:attribute name="Vocabulary" type="xs:string"/>
    <xs:attribute name="Scheme" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="LanguageType">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="FormalName" type="xs:string" use="required"/>
    <xs:attribute name="Vocabulary" type="xs:string"/>
    <xs:attribute name="Scheme" type="xs:string"/>
    <xs:attribute name="AssignedBy" type="xs:string"/>
    <xs:attribute name="Importance" type="xs:string"/>
    <xs:attribute name="Confidence" type="xs:string"/>
    <xs:attribute name="HowPresent" type="xs:string"/>
    <xs:attribute name="DateAndTime" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="LimitationsType" mixed="true">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
    <xs:element name="Origin" type="OriginType"/>
    </xs:choice>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute ref="xml:lang"/>
    <xs:attribute name="AssignedBy" type="xs:string"/>
    <xs:attribute name="Importance" type="xs:string"/>
    <xs:attribute name="Confidence" type="xs:string"/>
    <xs:attribute name="HowPresent" type="xs:string"/>
    <xs:attribute name="DateAndTime" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="MediaTypeType">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="FormalName" type="xs:string" use="required"/>
    <xs:attribute name="Vocabulary" type="xs:string"/>
    <xs:attribute name="Scheme" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="MetadataType">
    <xs:sequence>
    <xs:element name="Catalog" type="CatalogType" minOccurs="0"/>
    <xs:element name="MetadataType" type="MetadataTypeType"/>
    <xs:element name="Property" type="PropertyType" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="MetadataTypeType">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="FormalName" type="xs:string" use="required"/>
    <xs:attribute name="Vocabulary" type="xs:string"/>
    <xs:attribute name="Scheme" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="MimeTypeType">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="FormalName" type="xs:string" use="required"/>
    <xs:attribute name="Vocabulary" type="xs:string"/>
    <xs:attribute name="Scheme" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="NameLabelType">
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="NewsComponentType">
    <xs:sequence>
    <xs:element name="Comment" type="CommentType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="Catalog" type="CatalogType" minOccurs="0"/>
    <xs:element name="TopicSet" type="TopicSetType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="Role" type="RoleType" minOccurs="0"/>
    <xs:element name="BasisForChoice" type="BasisForChoiceType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="NewsLines" type="NewsLinesType" minOccurs="0"/>
    <xs:element name="AdministrativeMetadata" type="AdministrativeMetadataType" minOccurs="0"/>
    <xs:element name="RightsMetadata" type="RightsMetadataType" minOccurs="0"/>
    <xs:element name="DescriptiveMetadata" type="DescriptiveMetadataType" minOccurs="0"/>
    <xs:element name="Metadata" type="MetadataType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:choice minOccurs="0">
    <xs:choice maxOccurs="unbounded">
    <xs:element name="NewsItem" type="NewsItemType"/>
    <xs:element name="NewsItemRef" type="NewsItemRefType"/>
    </xs:choice>
    <xs:element name="NewsComponent" type="NewsComponentType" maxOccurs="unbounded"/>
    <xs:element name="ContentItem" type="ContentItemType" maxOccurs="unbounded"/>
    </xs:choice>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="Essential" default="no">
    <xs:simpleType>
    <xs:restriction base="xs:NMTOKEN">
    <xs:enumeration value="yes"/>
    <xs:enumeration value="no"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="EquivalentsList" default="no">
    <xs:simpleType>
    <xs:restriction base="xs:NMTOKEN">
    <xs:enumeration value="yes"/>
    <xs:enumeration value="no"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:attribute>
    <xs:attribute ref="xml:lang"/>
    </xs:complexType>
    <xs:complexType name="NewsEnvelopeType">
    <xs:sequence>
    <xs:element name="TransmissionId" type="TransmissionIdType" minOccurs="0"/>
    <xs:element name="SentFrom" type="SentFromType" minOccurs="0"/>
    <xs:element name="SentTo" type="SentToType" minOccurs="0"/>
    <xs:element name="DateAndTime" type="DateAndTimeType"/>
    <xs:element name="NewsService" type="NewsServiceType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="NewsProduct" type="NewsProductType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="Priority" type="PriorityType" minOccurs="0"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="NewsIdentifierType">
    <xs:sequence>
    <xs:element name="ProviderId" type="ProviderIdType"/>
    <xs:element ref="DateId"/>
    <xs:element name="NewsItemId" type="NewsItemIdType"/>
    <xs:element name="RevisionId" type="RevisionIdType"/>
    <xs:element ref="PublicIdentifier"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="NewsItemType">
    <xs:sequence>
    <xs:element name="Comment" type="CommentType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="Catalog" type="CatalogType" minOccurs="0"/>
    <xs:element name="Identification" type="IdentificationType"/>
    <xs:element name="NewsManagement" type="NewsManagementType"/>
    <xs:choice minOccurs="0">
    <xs:element name="NewsComponent" type="NewsComponentType"/>
    <xs:element name="Update" type="UpdateType" maxOccurs="unbounded"/>
    <xs:element name="TopicSet" type="TopicSetType"/>
    </xs:choice>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute ref="xml:lang"/>
    </xs:complexType>
    <xs:complexType name="NewsItemIdType">
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="Vocabulary" type="xs:string"/>
    <xs:attribute name="Scheme" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="NewsItemRefType">
    <xs:sequence>
    <xs:element name="Comment" type="CommentType" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="NewsItem" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="NewsItemTypeType">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="FormalName" type="xs:string" use="required"/>
    <xs:attribute name="Vocabulary" type="xs:string"/>
    <xs:attribute name="Scheme" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="NewsLineType">
    <xs:sequence>
    <xs:element name="NewsLineType" type="NewsLineTypeType"/>
    <xs:element name="NewsLineText" type="NewsLineTextType" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="NewsLineTextType" mixed="true">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
    <xs:element name="Origin" type="OriginType"/>
    </xs:choice>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute ref="xml:lang"/>
    </xs:complexType>
    <xs:complexType name="NewsLineTypeType">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="FormalName" type="xs:string" use="required"/>
    <xs:attribute name="Vocabulary" type="xs:string"/>
    <xs:attribute name="Scheme" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="NewsLinesType">
    <xs:sequence>
    <xs:sequence minOccurs="0" maxOccurs="unbounded">
    <xs:element name="HeadLine" type="HeadLineType"/>
    <xs:element name="SubHeadLine" type="SubHeadLineType" minOccurs="0"/>
    </xs:sequence>
    <xs:element name="ByLine" type="ByLineType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="DateLine" type="DateLineType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="CreditLine" type="CreditLineType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="CopyrightLine" type="CopyrightLineType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="RightsLine" type="RightsLineType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="SeriesLine" type="SeriesLineType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="SlugLine" type="SlugLineType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="KeywordLine" type="KeywordLineType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="NewsLine" type="NewsLineType" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    </xs:complexType>
    <xs:element name="NewsML" xdb:defaultTable="SIN_XML_CX_TEMP">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="Catalog" type="CatalogType" minOccurs="0"/>
    <xs:element name="TopicSet" type="TopicSetType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:sequence>
    <xs:element name="NewsEnvelope" type="NewsEnvelopeType"/>
    <xs:element name="NewsItem" type="NewsItemType" maxOccurs="unbounded"/>
    </xs:sequence>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    </xs:complexType>
    </xs:element>
    <xs:complexType name="NewsManagementType">
    <xs:sequence>
    <xs:element name="NewsItemType" type="NewsItemTypeType"/>
    <xs:element name="FirstCreated" type="FirstCreatedType"/>
    <xs:element name="ThisRevisionCreated" type="ThisRevisionCreatedType"/>
    <xs:element name="Status" type="StatusType"/>
    <xs:element name="StatusWillChange" type="StatusWillChangeType" minOccurs="0"/>
    <xs:element name="Urgency" type="UrgencyType" minOccurs="0"/>
    <xs:element name="RevisionHistory" type="RevisionHistoryType" minOccurs="0"/>
    <xs:element name="DerivedFrom" type="DerivedFromType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="AssociatedWith" type="AssociatedWithType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="Instruction" type="InstructionType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="Property" type="PropertyType" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="NewsProductType">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="FormalName" type="xs:string" use="required"/>
    <xs:attribute name="Vocabulary" type="xs:string"/>
    <xs:attribute name="Scheme" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="NewsServiceType">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="FormalName" type="xs:string" use="required"/>
    <xs:attribute name="Vocabulary" type="xs:string"/>
    <xs:attribute name="Scheme" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="NotationType">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="FormalName" type="xs:string" use="required"/>
    <xs:attribute name="Vocabulary" type="xs:string"/>
    <xs:attribute name="Scheme" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="OfInterestToType">
    <xs:sequence>
    <xs:element name="Relevance" type="RelevanceType" minOccurs="0"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="FormalName" type="xs:string" use="required"/>
    <xs:attribute name="Vocabulary" type="xs:string"/>
    <xs:attribute name="Scheme" type="xs:string"/>
    <xs:attribute name="AssignedBy" type="xs:string"/>
    <xs:attribute name="Importance" type="xs:string"/>
    <xs:attribute name="Confidence" type="xs:string"/>
    <xs:attribute name="HowPresent" type="xs:string"/>
    <xs:attribute name="DateAndTime" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="OriginType" mixed="true">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
    <xs:element name="Origin" type="OriginType"/>
    </xs:choice>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="AssignedBy" type="xs:string"/>
    <xs:attribute name="Importance" type="xs:string"/>
    <xs:attribute name="Confidence" type="xs:string"/>
    <xs:attribute name="HowPresent" type="xs:string"/>
    <xs:attribute name="DateAndTime" type="xs:string"/>
    <xs:attribute name="Href" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="PartyType">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="FormalName" type="xs:string" use="required"/>
    <xs:attribute name="Vocabulary" type="xs:string"/>
    <xs:attribute name="Scheme" type="xs:string"/>
    <xs:attribute name="Topic" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="PriorityType">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="FormalName" type="xs:string" use="required"/>
    <xs:attribute name="Vocabulary" type="xs:string"/>
    <xs:attribute name="Scheme" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="PropertyType">
    <xs:sequence>
    <xs:element name="Property" type="PropertyType" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="FormalName" type="xs:string" use="required"/>
    <xs:attribute name="Vocabulary" type="xs:string"/>
    <xs:attribute name="Scheme" type="xs:string"/>
    <xs:attribute name="AssignedBy" type="xs:string"/>
    <xs:attribute name="Importance" type="xs:string"/>
    <xs:attribute name="Confidence" type="xs:string"/>
    <xs:attribute name="HowPresent" type="xs:string"/>
    <xs:attribute name="DateAndTime" type="xs:string"/>
    <xs:attribute name="Value" type="xs:string"/>
    <xs:attribute name="ValueRef" type="xs:string"/>
    <xs:attribute name="AllowedValues" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="ProviderType">
    <xs:sequence>
    <xs:element name="Comment" type="CommentType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="Party" type="PartyType" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="ProviderIdType">
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="Vocabulary" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    <xs:element name="PublicIdentifier" type="xs:string"/>
    <xs:complexType name="RelevanceType">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="FormalName" type="xs:string" use="required"/>
    <xs:attribute name="Vocabulary" type="xs:string"/>
    <xs:attribute name="Scheme" type="xs:string"/>
    <xs:attribute name="AssignedBy" type="xs:string"/>
    <xs:attribute name="Importance" type="xs:string"/>
    <xs:attribute name="Confidence" type="xs:string"/>
    <xs:attribute name="HowPresent" type="xs:string"/>
    <xs:attribute name="DateAndTime" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="ReplaceType" mixed="true">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="DuidRef" type="xs:string" use="required"/>
    </xs:complexType>
    <xs:complexType name="ResourceType">
    <xs:sequence>
    <xs:element name="Urn" type="UrnType" minOccurs="0"/>
    <xs:element name="Url" type="UrlType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="DefaultVocabularyFor" type="DefaultVocabularyForType" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="RevisionHistoryType">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="Href" type="xs:string" use="required"/>
    </xs:complexType>
    <xs:complexType name="RevisionIdType">
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="PreviousRevision" type="xs:string" use="required"/>
    <xs:attribute name="Update" type="xs:string" use="required"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="RevisionStatusType">
    <xs:sequence>
    <xs:element name="Status" type="StatusType"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="Revision" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="RightsHolderType" mixed="true">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
    <xs:element name="Origin" type="OriginType"/>
    </xs:choice>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute ref="xml:lang"/>
    <xs:attribute name="AssignedBy" type="xs:string"/>
    <xs:attribute name="Importance" type="xs:string"/>
    <xs:attribute name="Confidence" type="xs:string"/>
    <xs:attribute name="HowPresent" type="xs:string"/>
    <xs:attribute name="DateAndTime" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="RightsLineType" mixed="true">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
    <xs:element name="Origin" type="OriginType"/>
    </xs:choice>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute ref="xml:lang"/>
    </xs:complexType>
    <xs:complexType name="RightsMetadataType">
    <xs:sequence>
    <xs:element name="Catalog" type="CatalogType" minOccurs="0"/>
    <xs:element name="Copyright" type="CopyrightType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="UsageRights" type="UsageRightsType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="Property" type="PropertyType" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="AssignedBy" type="xs:string"/>
    <xs:attribute name="Importance" type="xs:string"/>
    <xs:attribute name="Confidence" type="xs:string"/>
    <xs:attribute name="HowPresent" type="xs:string"/>
    <xs:attribute name="DateAndTime" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="RoleType">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="FormalName" type="xs:string" use="required"/>
    <xs:attribute name="Vocabulary" type="xs:string"/>
    <xs:attribute name="Scheme" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="SentFromType">
    <xs:sequence>
    <xs:element name="Comment" type="CommentType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="Party" type="PartyType" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="SentToType">
    <xs:sequence>
    <xs:element name="Comment" type="CommentType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="Party" type="PartyType" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="SeriesLineType" mixed="true">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
    <xs:element name="Origin" type="OriginType"/>
    </xs:choice>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute ref="xml:lang"/>
    </xs:complexType>
    <xs:complexType name="SizeInBytesType">
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="SlugLineType" mixed="true">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
    <xs:element name="Origin" type="OriginType"/>
    </xs:choice>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute ref="xml:lang"/>
    </xs:complexType>
    <xs:complexType name="SourceType">
    <xs:sequence>
    <xs:element name="Comment" type="CommentType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="Party" type="PartyType" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="NewsItem" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="StartDateType" mixed="true">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
    <xs:element name="Origin" type="OriginType"/>
    </xs:choice>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute ref="xml:lang"/>
    <xs:attribute name="AssignedBy" type="xs:string"/>
    <xs:attribute name="Importance" type="xs:string"/>
    <xs:attribute name="Confidence" type="xs:string"/>
    <xs:attribute name="HowPresent" type="xs:string"/>
    <xs:attribute name="DateAndTime" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="StatusType">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="FormalName" type="xs:string" use="required"/>
    <xs:attribute name="Vocabulary" type="xs:string"/>
    <xs:attribute name="Scheme" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="StatusWillChangeType">
    <xs:sequence>
    <xs:element name="FutureStatus" type="FutureStatusType"/>
    <xs:element name="DateAndTime" type="DateAndTimeType"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="SubHeadLineType" mixed="true">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
    <xs:element name="Origin" type="OriginType"/>
    </xs:choice>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute ref="xml:lang"/>
    </xs:complexType>
    <xs:complexType name="SubjectType">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="FormalName" type="xs:string" use="required"/>
    <xs:attribute name="Vocabulary" type="xs:string"/>
    <xs:attribute name="Scheme" type="xs:string"/>
    <xs:attribute name="AssignedBy" type="xs:string"/>
    <xs:attribute name="Importance" type="xs:string"/>
    <xs:attribute name="Confidence" type="xs:string"/>
    <xs:attribute name="HowPresent" type="xs:string"/>
    <xs:attribute name="DateAndTime" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="SubjectCodeType">
    <xs:sequence minOccurs="0" maxOccurs="unbounded">
    <xs:choice>
    <xs:element name="Subject" type="SubjectType"/>
    <xs:element name="SubjectMatter" type="SubjectMatterType"/>
    <xs:element name="SubjectDetail" type="SubjectDetailType"/>
    </xs:choice>
    <xs:element name="SubjectQualifier" type="SubjectQualifierType" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="AssignedBy" type="xs:string"/>
    <xs:attribute name="Importance" type="xs:string"/>
    <xs:attribute name="Confidence" type="xs:string"/>
    <xs:attribute name="HowPresent" type="xs:string"/>
    <xs:attribute name="DateAndTime" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="SubjectDetailType">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="FormalName" type="xs:string" use="required"/>
    <xs:attribute name="Vocabulary" type="xs:string"/>
    <xs:attribute name="Scheme" type="xs:string"/>
    <xs:attribute name="AssignedBy" type="xs:string"/>
    <xs:attribute name="Importance" type="xs:string"/>
    <xs:attribute name="Confidence" type="xs:string"/>
    <xs:attribute name="HowPresent" type="xs:string"/>
    <xs:attribute name="DateAndTime" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="SubjectMatterType">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="FormalName" type="xs:string" use="required"/>
    <xs:attribute name="Vocabulary" type="xs:string"/>
    <xs:attribute name="Scheme" type="xs:string"/>
    <xs:attribute name="AssignedBy" type="xs:string"/>
    <xs:attribute name="Importance" type="xs:string"/>
    <xs:attribute name="Confidence" type="xs:string"/>
    <xs:attribute name="HowPresent" type="xs:string"/>
    <xs:attribute name="DateAndTime" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="SubjectQualifierType">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="FormalName" type="xs:string" use="required"/>
    <xs:attribute name="Vocabulary" type="xs:string"/>
    <xs:attribute name="Scheme" type="xs:string"/>
    <xs:attribute name="AssignedBy" type="xs:string"/>
    <xs:attribute name="Importance" type="xs:string"/>
    <xs:attribute name="Confidence" type="xs:string"/>
    <xs:attribute name="HowPresent" type="xs:string"/>
    <xs:attribute name="DateAndTime" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="SystemIdentifierType">
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="ThisRevisionCreatedType">
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="TopicType">
    <xs:sequence>
    <xs:element name="Comment" type="CommentType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="Catalog" type="CatalogType" minOccurs="0"/>
    <xs:element name="TopicType" type="TopicTypeType" maxOccurs="unbounded"/>
    <xs:element name="FormalName" type="FormalNameType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="Description" type="DescriptionType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="Property" type="PropertyType" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="Details" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="TopicOccurrenceType">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="AssignedBy" type="xs:string"/>
    <xs:attribute name="Importance" type="xs:string"/>
    <xs:attribute name="Confidence" type="xs:string"/>
    <xs:attribute name="HowPresent" type="xs:string"/>
    <xs:attribute name="DateAndTime" type="xs:string"/>
    <xs:attribute name="Topic" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="TopicSetType">
    <xs:sequence>
    <xs:element name="Comment" type="CommentType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="Catalog" type="CatalogType" minOccurs="0"/>
    <xs:element name="TopicSetRef" type="TopicSetRefType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="Topic" type="TopicType" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="FormalName" type="xs:string" use="required"/>
    <xs:attribute name="Vocabulary" type="xs:string"/>
    <xs:attribute name="Scheme" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="TopicSetRefType">
    <xs:sequence>
    <xs:element name="Comment" type="CommentType" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="TopicSet" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="TopicTypeType">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="FormalName" type="xs:string" use="required"/>
    <xs:attribute name="Vocabulary" type="xs:string"/>
    <xs:attribute name="Scheme" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="TopicUseType">
    <xs:attribute name="Topic" type="xs:string" use="required"/>
    <xs:attribute name="Context" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="TransmissionIdType">
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="Repeat" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="UpdateType">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
    <xs:element name="InsertBefore" type="InsertBeforeType"/>
    <xs:element name="InsertAfter" type="InsertAfterType"/>
    <xs:element name="Replace" type="ReplaceType"/>
    <xs:element name="Delete" type="DeleteType"/>
    </xs:choice>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="UrgencyType">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="FormalName" type="xs:string" use="required"/>
    <xs:attribute name="Vocabulary" type="xs:string"/>
    <xs:attribute name="Scheme" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="UrlType">
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="UrnType">
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="UsageRightsType">
    <xs:sequence>
    <xs:element name="UsageType" type="UsageTypeType" minOccurs="0"/>
    <xs:element name="Geography" type="GeographyType" minOccurs="0"/>
    <xs:element name="RightsHolder" type="RightsHolderType" minOccurs="0"/>
    <xs:element name="Limitations" type="LimitationsType" minOccurs="0"/>
    <xs:element name="StartDate" type="StartDateType" minOccurs="0"/>
    <xs:element name="EndDate" type="EndDateType" minOccurs="0"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="AssignedBy" type="xs:string"/>
    <xs:attribute name="Importance" type="xs:string"/>
    <xs:attribute name="Confidence" type="xs:string"/>
    <xs:attribute name="HowPresent" type="xs:string"/>
    <xs:attribute name="DateAndTime" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="UsageTypeType" mixed="true">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
    <xs:element name="Origin" type="OriginType"/>
    </xs:choice>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute ref="xml:lang"/>
    <xs:attribute name="AssignedBy" type="xs:string"/>
    <xs:attribute name="Importance" type="xs:string"/>
    <xs:attribute name="Confidence" type="xs:string"/>
    <xs:attribute name="HowPresent" type="xs:string"/>
    <xs:attribute name="DateAndTime" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="bodyType">
    <xs:sequence>
    <xs:element name="body.head" type="body.headType" xdb:SQLName="BODY_HEAD"/>
    <xs:element name="body.content" type="body.contentType" xdb:SQLName="BODY_CONTENT"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="body.contentType">
    <xs:choice maxOccurs="unbounded">
    <xs:element ref="p"/>
    <xs:element ref="pre"/>
    </xs:choice>
    </xs:complexType>
    <xs:complexType name="body.headType">
    <xs:sequence>
    <xs:element ref="distributor"/>
    </xs:sequence>
    </xs:complexType>
    <xs:element name="distributor" type="xs:string"/>
    <xs:complexType name="headType">
    <xs:sequence>
    <xs:element name="meta" type="metaType" maxOccurs="unbounded"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="metaType">
    <xs:attribute name="name" type="xs:NMTOKEN" use="required"/>
    <xs:attribute name="content" type="xs:string" use="required"/>
    </xs:complexType>
    <xs:element name="p" type="xs:string"/>
    <xs:element name="pre" type="xs:string"/>
    </xs:schema>

    Hi,
    When I use the extractvalue function from within PL/SQL I get this error:
    ORA-00932: inconsistent datatypes: expected NUMBER got
    SINAPP.body.contentType1898_T
    The same SQL statement run from SQL Plus gives me the correct result. Is there any difference in calling this function from within PL/SQL?
    This is my SQL:
    select extractvalue (value(p),
    '/NewsML/NewsItem/NewsComponent/ContentItem/DataContent/body/body.content')
    into story from sin_xml_cx_temp p where
    extract(value(p),
    '/NewsML/NewsItem/NewsComponent/AdministrativeMetadata/FileName/text()').getStringval() = '39039859.xml';
    The Oracle version we are using is 9.2.0.3
    Here is the XML schema:
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema targetNamespace="http://www.sin.com" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.sin.com" xmlns:xdb="http://xmlns.oracle.com/xdb" elementFormDefault="qualified">
    <!-- enabling xml:lang attribute -->
    <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd"/>
    <xs:complexType name="AdministrativeMetadataType">
    <xs:sequence>
    <xs:element name="Catalog" type="CatalogType" minOccurs="0"/>
    <xs:element name="FileName" type="FileNameType" minOccurs="0"/>
    <xs:element name="SystemIdentifier" type="SystemIdentifierType" minOccurs="0"/>
    <xs:element name="Provider" type="ProviderType" minOccurs="0"/>
    <xs:element name="Creator" type="CreatorType" minOccurs="0"/>
    <xs:element name="Source" type="SourceType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="Contributor" type="ContributorType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="Property" type="PropertyType" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <!-- All attributes are optional by default!!! -->
    </xs:complexType>
    <xs:complexType name="AssociatedWithType">
    <xs:sequence>
    <xs:element name="Comment" type="CommentType" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="NewsItem" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="BasisForChoiceType">
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="Rank" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    <!-- The simpleContent element contains extensions or restrictions on a text-only complex
    type or on a simple type as content and contains no elements. -->
    </xs:complexType>
    <!-- A mixed complex type element can contain attributes, elements, and text -->
    <xs:complexType name="ByLineType" mixed="true">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
    <xs:element name="Origin" type="OriginType"/>
    </xs:choice>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute ref="xml:lang"/>
    </xs:complexType>
    <xs:complexType name="CatalogType">
    <xs:sequence>
    <xs:element name="Resource" type="ResourceType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="TopicUse" type="TopicUseType" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="Href" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="CharacteristicsType">
    <xs:sequence>
    <xs:element name="SizeInBytes" type="SizeInBytesType" minOccurs="0"/>
    <xs:element name="Property" type="PropertyType" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="CommentType">
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute ref="xml:lang"/>
    <xs:attribute name="TranslationOf" type="xs:IDREF"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="ContentItemType">
    <xs:sequence>
    <xs:element name="Comment" type="CommentType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="Catalog" type="CatalogType" minOccurs="0"/>
    <xs:element name="MediaType" type="MediaTypeType" minOccurs="0"/>
    <xs:element name="Format" type="FormatType" minOccurs="0"/>
    <xs:element name="MimeType" type="MimeTypeType" minOccurs="0"/>
    <xs:element name="Notation" type="NotationType" minOccurs="0"/>
    <xs:element name="Characteristics" type="CharacteristicsType" minOccurs="0"/>
    <xs:choice minOccurs="0">
    <xs:element name="Encoding" type="EncodingType"/>
    <xs:element name="DataContent" type="DataContentType"/>
    </xs:choice>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="Href" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="ContributorType">
    <xs:sequence>
    <xs:element name="Comment" type="CommentType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="Party" type="PartyType" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="CopyrightType">
    <xs:sequence>
    <xs:element name="Comment" type="CommentType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="CopyrightHolder" type="CopyrightHolderType"/>
    <xs:element name="CopyrightDate" type="CopyrightDateType"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="AssignedBy" type="xs:string"/>
    <xs:attribute name="Importance" type="xs:string"/>
    <xs:attribute name="Confidence" type="xs:string"/>
    <xs:attribute name="HowPresent" type="xs:string"/>
    <xs:attribute name="DateAndTime" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="CopyrightDateType" mixed="true">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
    <xs:element name="Origin" type="OriginType"/>
    </xs:choice>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute ref="xml:lang"/>
    </xs:complexType>
    <xs:complexType name="CopyrightHolderType" mixed="true">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
    <xs:element name="Origin" type="OriginType"/>
    </xs:choice>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute ref="xml:lang"/>
    </xs:complexType>
    <xs:complexType name="CopyrightLineType" mixed="true">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
    <xs:element name="Origin" type="OriginType"/>
    </xs:choice>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute ref="xml:lang"/>
    </xs:complexType>
    <xs:complexType name="CreatorType">
    <xs:sequence>
    <xs:element name="Comment" type="CommentType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="Party" type="PartyType" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="CreditLineType" mixed="true">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
    <xs:element name="Origin" type="OriginType"/>
    </xs:choice>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute ref="xml:lang"/>
    </xs:complexType>
    <xs:complexType name="DataContentType" mixed="true">
    <xs:sequence>
    <xs:element name="head" type="headType"/>
    <xs:element name="body" type="bodyType"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="DateAndTimeType">
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    <xs:element name="DateId" type="xs:string"/>
    <xs:complexType name="DateLabelType">
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="DateLineType" mixed="true">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
    <xs:element name="Origin" type="OriginType"/>
    </xs:choice>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute ref="xml:lang"/>
    </xs:complexType>
    <xs:complexType name="DefaultVocabularyForType">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="Context" type="xs:string" use="required"/>
    <xs:attribute name="Scheme" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="DeleteType">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="DuidRef" type="xs:string" use="required"/>
    </xs:complexType>
    <xs:complexType name="DerivedFromType">
    <xs:sequence>
    <xs:element name="Comment" type="CommentType" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="NewsItem" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="DescriptionType">
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute ref="xml:lang"/>
    <xs:attribute name="Variant" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="DescriptiveMetadataType">
    <xs:sequence>
    <xs:element name="Catalog" type="CatalogType" minOccurs="0"/>
    <xs:element name="Language" type="LanguageType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="Genre" type="GenreType" minOccurs="0"/>
    <xs:element name="SubjectCode" type="SubjectCodeType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="OfInterestTo" type="OfInterestToType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="TopicOccurrence" type="TopicOccurrenceType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="Property" type="PropertyType" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="AssignedBy" type="xs:string"/>
    <xs:attribute name="Importance" type="xs:string"/>
    <xs:attribute name="Confidence" type="xs:string"/>
    <xs:attribute name="HowPresent" type="xs:string"/>
    <xs:attribute name="DateAndTime" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="EncodingType">
    <xs:choice minOccurs="0">
    <xs:element name="Encoding" type="EncodingType"/>
    <xs:element name="DataContent" type="DataContentType"/>
    </xs:choice>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="Notation" type="xs:string" use="required"/>
    </xs:complexType>
    <xs:complexType name="EndDateType" mixed="true">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
    <xs:element name="Origin" type="OriginType"/>
    </xs:choice>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute ref="xml:lang"/>
    <xs:attribute name="AssignedBy" type="xs:string"/>
    <xs:attribute name="Importance" type="xs:string"/>
    <xs:attribute name="Confidence" type="xs:string"/>
    <xs:attribute name="HowPresent" type="xs:string"/>
    <xs:attribute name="DateAndTime" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="FileNameType">
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="FirstCreatedType">
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="FormalNameType">
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="Scheme" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="FormatType">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="FormalName" type="xs:string" use="required"/>
    <xs:attribute name="Vocabulary" type="xs:string"/>
    <xs:attribute name="Scheme" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="FutureStatusType">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="FormalName" type="xs:string" use="required"/>
    <xs:attribute name="Vocabulary" type="xs:string"/>
    <xs:attribute name="Scheme" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="GenreType">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="FormalName" type="xs:string" use="required"/>
    <xs:attribute name="Vocabulary" type="xs:string"/>
    <xs:attribute name="Scheme" type="xs:string"/>
    <xs:attribute name="AssignedBy" type="xs:string"/>
    <xs:attribute name="Importance" type="xs:string"/>
    <xs:attribute name="Confidence" type="xs:string"/>
    <xs:attribute name="HowPresent" type="xs:string"/>
    <xs:attribute name="DateAndTime" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="GeographyType" mixed="true">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
    <xs:element name="Origin" type="OriginType"/>
    </xs:choice>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute ref="xml:lang"/>
    <xs:attribute name="AssignedBy" type="xs:string"/>
    <xs:attribute name="Importance" type="xs:string"/>
    <xs:attribute name="Confidence" type="xs:string"/>
    <xs:attribute name="HowPresent" type="xs:string"/>
    <xs:attribute name="DateAndTime" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="HeadLineType" mixed="true">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
    <xs:element name="Origin" type="OriginType"/>
    </xs:choice>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute ref="xml:lang"/>
    </xs:complexType>
    <xs:complexType name="IdentificationType">
    <xs:sequence>
    <xs:element name="NewsIdentifier" type="NewsIdentifierType"/>
    <xs:element name="NameLabel" type="NameLabelType" minOccurs="0"/>
    <xs:element name="DateLabel" type="DateLabelType" minOccurs="0"/>
    <xs:element name="Label" type="LabelType" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="InsertAfterType" mixed="true">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="DuidRef" type="xs:string" use="required"/>
    </xs:complexType>
    <xs:complexType name="InsertBeforeType" mixed="true">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="DuidRef" type="xs:string" use="required"/>
    </xs:complexType>
    <xs:complexType name="InstructionType">
    <xs:sequence>
    <xs:element name="RevisionStatus" type="RevisionStatusType" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="FormalName" type="xs:string" use="required"/>
    <xs:attribute name="Vocabulary" type="xs:string"/>
    <xs:attribute name="Scheme" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="KeywordLineType" mixed="true">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
    <xs:element name="Origin" type="OriginType"/>
    </xs:choice>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute ref="xml:lang"/>
    </xs:complexType>
    <xs:complexType name="LabelType">
    <xs:sequence>
    <xs:element name="LabelType" type="LabelTypeType"/>
    <xs:element name="LabelText" type="LabelTextType"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="LabelTextType">
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="LabelTypeType">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="FormalName" type="xs:string" use="required"/>
    <xs:attribute name="Vocabulary" type="xs:string"/>
    <xs:attribute name="Scheme" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="LanguageType">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="FormalName" type="xs:string" use="required"/>
    <xs:attribute name="Vocabulary" type="xs:string"/>
    <xs:attribute name="Scheme" type="xs:string"/>
    <xs:attribute name="AssignedBy" type="xs:string"/>
    <xs:attribute name="Importance" type="xs:string"/>
    <xs:attribute name="Confidence" type="xs:string"/>
    <xs:attribute name="HowPresent" type="xs:string"/>
    <xs:attribute name="DateAndTime" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="LimitationsType" mixed="true">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
    <xs:element name="Origin" type="OriginType"/>
    </xs:choice>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute ref="xml:lang"/>
    <xs:attribute name="AssignedBy" type="xs:string"/>
    <xs:attribute name="Importance" type="xs:string"/>
    <xs:attribute name="Confidence" type="xs:string"/>
    <xs:attribute name="HowPresent" type="xs:string"/>
    <xs:attribute name="DateAndTime" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="MediaTypeType">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="FormalName" type="xs:string" use="required"/>
    <xs:attribute name="Vocabulary" type="xs:string"/>
    <xs:attribute name="Scheme" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="MetadataType">
    <xs:sequence>
    <xs:element name="Catalog" type="CatalogType" minOccurs="0"/>
    <xs:element name="MetadataType" type="MetadataTypeType"/>
    <xs:element name="Property" type="PropertyType" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="MetadataTypeType">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="FormalName" type="xs:string" use="required"/>
    <xs:attribute name="Vocabulary" type="xs:string"/>
    <xs:attribute name="Scheme" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="MimeTypeType">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="FormalName" type="xs:string" use="required"/>
    <xs:attribute name="Vocabulary" type="xs:string"/>
    <xs:attribute name="Scheme" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="NameLabelType">
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="NewsComponentType">
    <xs:sequence>
    <xs:element name="Comment" type="CommentType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="Catalog" type="CatalogType" minOccurs="0"/>
    <xs:element name="TopicSet" type="TopicSetType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="Role" type="RoleType" minOccurs="0"/>
    <xs:element name="BasisForChoice" type="BasisForChoiceType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="NewsLines" type="NewsLinesType" minOccurs="0"/>
    <xs:element name="AdministrativeMetadata" type="AdministrativeMetadataType" minOccurs="0"/>
    <xs:element name="RightsMetadata" type="RightsMetadataType" minOccurs="0"/>
    <xs:element name="DescriptiveMetadata" type="DescriptiveMetadataType" minOccurs="0"/>
    <xs:element name="Metadata" type="MetadataType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:choice minOccurs="0">
    <xs:choice maxOccurs="unbounded">
    <xs:element name="NewsItem" type="NewsItemType"/>
    <xs:element name="NewsItemRef" type="NewsItemRefType"/>
    </xs:choice>
    <xs:element name="NewsComponent" type="NewsComponentType" maxOccurs="unbounded"/>
    <xs:element name="ContentItem" type="ContentItemType" maxOccurs="unbounded"/>
    </xs:choice>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="Essential" default="no">
    <xs:simpleType>
    <xs:restriction base="xs:NMTOKEN">
    <xs:enumeration value="yes"/>
    <xs:enumeration value="no"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="EquivalentsList" default="no">
    <xs:simpleType>
    <xs:restriction base="xs:NMTOKEN">
    <xs:enumeration value="yes"/>
    <xs:enumeration value="no"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:attribute>
    <xs:attribute ref="xml:lang"/>
    </xs:complexType>
    <xs:complexType name="NewsEnvelopeType">
    <xs:sequence>
    <xs:element name="TransmissionId" type="TransmissionIdType" minOccurs="0"/>
    <xs:element name="SentFrom" type="SentFromType" minOccurs="0"/>
    <xs:element name="SentTo" type="SentToType" minOccurs="0"/>
    <xs:element name="DateAndTime" type="DateAndTimeType"/>
    <xs:element name="NewsService" type="NewsServiceType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="NewsProduct" type="NewsProductType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="Priority" type="PriorityType" minOccurs="0"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="NewsIdentifierType">
    <xs:sequence>
    <xs:element name="ProviderId" type="ProviderIdType"/>
    <xs:element ref="DateId"/>
    <xs:element name="NewsItemId" type="NewsItemIdType"/>
    <xs:element name="RevisionId" type="RevisionIdType"/>
    <xs:element ref="PublicIdentifier"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="NewsItemType">
    <xs:sequence>
    <xs:element name="Comment" type="CommentType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="Catalog" type="CatalogType" minOccurs="0"/>
    <xs:element name="Identification" type="IdentificationType"/>
    <xs:element name="NewsManagement" type="NewsManagementType"/>
    <xs:choice minOccurs="0">
    <xs:element name="NewsComponent" type="NewsComponentType"/>
    <xs:element name="Update" type="UpdateType" maxOccurs="unbounded"/>
    <xs:element name="TopicSet" type="TopicSetType"/>
    </xs:choice>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute ref="xml:lang"/>
    </xs:complexType>
    <xs:complexType name="NewsItemIdType">
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="Vocabulary" type="xs:string"/>
    <xs:attribute name="Scheme" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="NewsItemRefType">
    <xs:sequence>
    <xs:element name="Comment" type="CommentType" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="NewsItem" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="NewsItemTypeType">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="FormalName" type="xs:string" use="required"/>
    <xs:attribute name="Vocabulary" type="xs:string"/>
    <xs:attribute name="Scheme" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="NewsLineType">
    <xs:sequence>
    <xs:element name="NewsLineType" type="NewsLineTypeType"/>
    <xs:element name="NewsLineText" type="NewsLineTextType" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="NewsLineTextType" mixed="true">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
    <xs:element name="Origin" type="OriginType"/>
    </xs:choice>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute ref="xml:lang"/>
    </xs:complexType>
    <xs:complexType name="NewsLineTypeType">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="FormalName" type="xs:string" use="required"/>
    <xs:attribute name="Vocabulary" type="xs:string"/>
    <xs:attribute name="Scheme" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="NewsLinesType">
    <xs:sequence>
    <xs:sequence minOccurs="0" maxOccurs="unbounded">
    <xs:element name="HeadLine" type="HeadLineType"/>
    <xs:element name="SubHeadLine" type="SubHeadLineType" minOccurs="0"/>
    </xs:sequence>
    <xs:element name="ByLine" type="ByLineType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="DateLine" type="DateLineType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="CreditLine" type="CreditLineType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="CopyrightLine" type="CopyrightLineType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="RightsLine" type="RightsLineType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="SeriesLine" type="SeriesLineType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="SlugLine" type="SlugLineType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="KeywordLine" type="KeywordLineType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="NewsLine" type="NewsLineType" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    </xs:complexType>
    <xs:element name="NewsML" xdb:defaultTable="SIN_XML_CX_TEMP">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="Catalog" type="CatalogType" minOccurs="0"/>
    <xs:element name="TopicSet" type="TopicSetType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:sequence>
    <xs:element name="NewsEnvelope" type="NewsEnvelopeType"/>
    <xs:element name="NewsItem" type="NewsItemType" maxOccurs="unbounded"/>
    </xs:sequence>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    </xs:complexType>
    </xs:element>
    <xs:complexType name="NewsManagementType">
    <xs:sequence>
    <xs:element name="NewsItemType" type="NewsItemTypeType"/>
    <xs:element name="FirstCreated" type="FirstCreatedType"/>
    <xs:element name="ThisRevisionCreated" type="ThisRevisionCreatedType"/>
    <xs:element name="Status" type="StatusType"/>
    <xs:element name="StatusWillChange" type="StatusWillChangeType" minOccurs="0"/>
    <xs:element name="Urgency" type="UrgencyType" minOccurs="0"/>
    <xs:element name="RevisionHistory" type="RevisionHistoryType" minOccurs="0"/>
    <xs:element name="DerivedFrom" type="DerivedFromType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="AssociatedWith" type="AssociatedWithType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="Instruction" type="InstructionType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="Property" type="PropertyType" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="NewsProductType">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="FormalName" type="xs:string" use="required"/>
    <xs:attribute name="Vocabulary" type="xs:string"/>
    <xs:attribute name="Scheme" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="NewsServiceType">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="FormalName" type="xs:string" use="required"/>
    <xs:attribute name="Vocabulary" type="xs:string"/>
    <xs:attribute name="Scheme" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="NotationType">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="FormalName" type="xs:string" use="required"/>
    <xs:attribute name="Vocabulary" type="xs:string"/>
    <xs:attribute name="Scheme" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="OfInterestToType">
    <xs:sequence>
    <xs:element name="Relevance" type="RelevanceType" minOccurs="0"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="FormalName" type="xs:string" use="required"/>
    <xs:attribute name="Vocabulary" type="xs:string"/>
    <xs:attribute name="Scheme" type="xs:string"/>
    <xs:attribute name="AssignedBy" type="xs:string"/>
    <xs:attribute name="Importance" type="xs:string"/>
    <xs:attribute name="Confidence" type="xs:string"/>
    <xs:attribute name="HowPresent" type="xs:string"/>
    <xs:attribute name="DateAndTime" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="OriginType" mixed="true">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
    <xs:element name="Origin" type="OriginType"/>
    </xs:choice>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="AssignedBy" type="xs:string"/>
    <xs:attribute name="Importance" type="xs:string"/>
    <xs:attribute name="Confidence" type="xs:string"/>
    <xs:attribute name="HowPresent" type="xs:string"/>
    <xs:attribute name="DateAndTime" type="xs:string"/>
    <xs:attribute name="Href" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="PartyType">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="FormalName" type="xs:string" use="required"/>
    <xs:attribute name="Vocabulary" type="xs:string"/>
    <xs:attribute name="Scheme" type="xs:string"/>
    <xs:attribute name="Topic" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="PriorityType">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="FormalName" type="xs:string" use="required"/>
    <xs:attribute name="Vocabulary" type="xs:string"/>
    <xs:attribute name="Scheme" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="PropertyType">
    <xs:sequence>
    <xs:element name="Property" type="PropertyType" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="FormalName" type="xs:string" use="required"/>
    <xs:attribute name="Vocabulary" type="xs:string"/>
    <xs:attribute name="Scheme" type="xs:string"/>
    <xs:attribute name="AssignedBy" type="xs:string"/>
    <xs:attribute name="Importance" type="xs:string"/>
    <xs:attribute name="Confidence" type="xs:string"/>
    <xs:attribute name="HowPresent" type="xs:string"/>
    <xs:attribute name="DateAndTime" type="xs:string"/>
    <xs:attribute name="Value" type="xs:string"/>
    <xs:attribute name="ValueRef" type="xs:string"/>
    <xs:attribute name="AllowedValues" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="ProviderType">
    <xs:sequence>
    <xs:element name="Comment" type="CommentType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="Party" type="PartyType" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="ProviderIdType">
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="Vocabulary" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    <xs:element name="PublicIdentifier" type="xs:string"/>
    <xs:complexType name="RelevanceType">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="FormalName" type="xs:string" use="required"/>
    <xs:attribute name="Vocabulary" type="xs:string"/>
    <xs:attribute name="Scheme" type="xs:string"/>
    <xs:attribute name="AssignedBy" type="xs:string"/>
    <xs:attribute name="Importance" type="xs:string"/>
    <xs:attribute name="Confidence" type="xs:string"/>
    <xs:attribute name="HowPresent" type="xs:string"/>
    <xs:attribute name="DateAndTime" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="ReplaceType" mixed="true">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="DuidRef" type="xs:string" use="required"/>
    </xs:complexType>
    <xs:complexType name="ResourceType">
    <xs:sequence>
    <xs:element name="Urn" type="UrnType" minOccurs="0"/>
    <xs:element name="Url" type="UrlType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="DefaultVocabularyFor" type="DefaultVocabularyForType" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="RevisionHistoryType">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="Href" type="xs:string" use="required"/>
    </xs:complexType>
    <xs:complexType name="RevisionIdType">
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="PreviousRevision" type="xs:string" use="required"/>
    <xs:attribute name="Update" type="xs:string" use="required"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="RevisionStatusType">
    <xs:sequence>
    <xs:element name="Status" type="StatusType"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="Revision" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="RightsHolderType" mixed="true">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
    <xs:element name="Origin" type="OriginType"/>
    </xs:choice>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute ref="xml:lang"/>
    <xs:attribute name="AssignedBy" type="xs:string"/>
    <xs:attribute name="Importance" type="xs:string"/>
    <xs:attribute name="Confidence" type="xs:string"/>
    <xs:attribute name="HowPresent" type="xs:string"/>
    <xs:attribute name="DateAndTime" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="RightsLineType" mixed="true">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
    <xs:element name="Origin" type="OriginType"/>
    </xs:choice>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute ref="xml:lang"/>
    </xs:complexType>
    <xs:complexType name="RightsMetadataType">
    <xs:sequence>
    <xs:element name="Catalog" type="CatalogType" minOccurs="0"/>
    <xs:element name="Copyright" type="CopyrightType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="UsageRights" type="UsageRightsType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="Property" type="PropertyType" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="AssignedBy" type="xs:string"/>
    <xs:attribute name="Importance" type="xs:string"/>
    <xs:attribute name="Confidence" type="xs:string"/>
    <xs:attribute name="HowPresent" type="xs:string"/>
    <xs:attribute name="DateAndTime" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="RoleType">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="FormalName" type="xs:string" use="required"/>
    <xs:attribute name="Vocabulary" type="xs:string"/>
    <xs:attribute name="Scheme" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="SentFromType">
    <xs:sequence>
    <xs:element name="Comment" type="CommentType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="Party" type="PartyType" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="SentToType">
    <xs:sequence>
    <xs:element name="Comment" type="CommentType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="Party" type="PartyType" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="SeriesLineType" mixed="true">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
    <xs:element name="Origin" type="OriginType"/>
    </xs:choice>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute ref="xml:lang"/>
    </xs:complexType>
    <xs:complexType name="SizeInBytesType">
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="SlugLineType" mixed="true">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
    <xs:element name="Origin" type="OriginType"/>
    </xs:choice>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute ref="xml:lang"/>
    </xs:complexType>
    <xs:complexType name="SourceType">
    <xs:sequence>
    <xs:element name="Comment" type="CommentType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="Party" type="PartyType" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="NewsItem" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="StartDateType" mixed="true">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
    <xs:element name="Origin" type="OriginType"/>
    </xs:choice>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute ref="xml:lang"/>
    <xs:attribute name="AssignedBy" type="xs:string"/>
    <xs:attribute name="Importance" type="xs:string"/>
    <xs:attribute name="Confidence" type="xs:string"/>
    <xs:attribute name="HowPresent" type="xs:string"/>
    <xs:attribute name="DateAndTime" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="StatusType">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="FormalName" type="xs:string" use="required"/>
    <xs:attribute name="Vocabulary" type="xs:string"/>
    <xs:attribute name="Scheme" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="StatusWillChangeType">
    <xs:sequence>
    <xs:element name="FutureStatus" type="FutureStatusType"/>
    <xs:element name="DateAndTime" type="DateAndTimeType"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="SubHeadLineType" mixed="true">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
    <xs:element name="Origin" type="OriginType"/>
    </xs:choice>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute ref="xml:lang"/>
    </xs:complexType>
    <xs:complexType name="SubjectType">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="FormalName" type="xs:string" use="required"/>
    <xs:attribute name="Vocabulary" type="xs:string"/>
    <xs:attribute name="Scheme" type="xs:string"/>
    <xs:attribute name="AssignedBy" type="xs:string"/>
    <xs:attribute name="Importance" type="xs:string"/>
    <xs:attribute name="Confidence" type="xs:string"/>
    <xs:attribute name="HowPresent" type="xs:string"/>
    <xs:attribute name="DateAndTime" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="SubjectCodeType">
    <xs:sequence minOccurs="0" maxOccurs="unbounded">
    <xs:choice>
    <xs:element name="Subject" type="SubjectType"/>
    <xs:element name="SubjectMatter" type="SubjectMatterType"/>
    <xs:element name="SubjectDetail" type="SubjectDetailType"/>
    </xs:choice>
    <xs:element name="SubjectQualifier" type="SubjectQualifierType" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="AssignedBy" type="xs:string"/>
    <xs:attribute name="Importance" type="xs:string"/>
    <xs:attribute name="Confidence" type="xs:string"/>
    <xs:attribute name="HowPresent" type="xs:string"/>
    <xs:attribute name="DateAndTime" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="SubjectDetailType">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="FormalName" type="xs:string" use="required"/>
    <xs:attribute name="Vocabulary" type="xs:string"/>
    <xs:attribute name="Scheme" type="xs:string"/>
    <xs:attribute name="AssignedBy" type="xs:string"/>
    <xs:attribute name="Importance" type="xs:string"/>
    <xs:attribute name="Confidence" type="xs:string"/>
    <xs:attribute name="HowPresent" type="xs:string"/>
    <xs:attribute name="DateAndTime" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="SubjectMatterType">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="FormalName" type="xs:string" use="required"/>
    <xs:attribute name="Vocabulary" type="xs:string"/>
    <xs:attribute name="Scheme" type="xs:string"/>
    <xs:attribute name="AssignedBy" type="xs:string"/>
    <xs:attribute name="Importance" type="xs:string"/>
    <xs:attribute name="Confidence" type="xs:string"/>
    <xs:attribute name="HowPresent" type="xs:string"/>
    <xs:attribute name="DateAndTime" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="SubjectQualifierType">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="FormalName" type="xs:string" use="required"/>
    <xs:attribute name="Vocabulary" type="xs:string"/>
    <xs:attribute name="Scheme" type="xs:string"/>
    <xs:attribute name="AssignedBy" type="xs:string"/>
    <xs:attribute name="Importance" type="xs:string"/>
    <xs:attribute name="Confidence" type="xs:string"/>
    <xs:attribute name="HowPresent" type="xs:string"/>
    <xs:attribute name="DateAndTime" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="SystemIdentifierType">
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="ThisRevisionCreatedType">
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="TopicType">
    <xs:sequence>
    <xs:element name="Comment" type="CommentType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="Catalog" type="CatalogType" minOccurs="0"/>
    <xs:element name="TopicType" type="TopicTypeType" maxOccurs="unbounded"/>
    <xs:element name="FormalName" type="FormalNameType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="Description" type="DescriptionType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="Property" type="PropertyType" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="Details" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="TopicOccurrenceType">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="AssignedBy" type="xs:string"/>
    <xs:attribute name="Importance" type="xs:string"/>
    <xs:attribute name="Confidence" type="xs:string"/>
    <xs:attribute name="HowPresent" type="xs:string"/>
    <xs:attribute name="DateAndTime" type="xs:string"/>
    <xs:attribute name="Topic" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="TopicSetType">
    <xs:sequence>
    <xs:element name="Comment" type="CommentType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="Catalog" type="CatalogType" minOccurs="0"/>
    <xs:element name="TopicSetRef" type="TopicSetRefType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="Topic" type="TopicType" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="FormalName" type="xs:string" use="required"/>
    <xs:attribute name="Vocabulary" type="xs:string"/>
    <xs:attribute name="Scheme" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="TopicSetRefType">
    <xs:sequence>
    <xs:element name="Comment" type="CommentType" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="TopicSet" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="TopicTypeType">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="FormalName" type="xs:string" use="required"/>
    <xs:attribute name="Vocabulary" type="xs:string"/>
    <xs:attribute name="Scheme" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="TopicUseType">
    <xs:attribute name="Topic" type="xs:string" use="required"/>
    <xs:attribute name="Context" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="TransmissionIdType">
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="Repeat" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="UpdateType">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
    <xs:element name="InsertBefore" type="InsertBeforeType"/>
    <xs:element name="InsertAfter" type="InsertAfterType"/>
    <xs:element name="Replace" type="ReplaceType"/>
    <xs:element name="Delete" type="DeleteType"/>
    </xs:choice>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="UrgencyType">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="FormalName" type="xs:string" use="required"/>
    <xs:attribute name="Vocabulary" type="xs:string"/>
    <xs:attribute name="Scheme" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="UrlType">
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="UrnType">
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="UsageRightsType">
    <xs:sequence>
    <xs:element name="UsageType" type="UsageTypeType" minOccurs="0"/>
    <xs:element name="Geography" type="GeographyType" minOccurs="0"/>
    <xs:element name="RightsHolder" type="RightsHolderType" minOccurs="0"/>
    <xs:element name="Limitations" type="LimitationsType" minOccurs="0"/>
    <xs:element name="StartDate" type="StartDateType" minOccurs="0"/>
    <xs:element name="EndDate" type="EndDateType" minOccurs="0"/>
    </xs:sequence>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute name="AssignedBy" type="xs:string"/>
    <xs:attribute name="Importance" type="xs:string"/>
    <xs:attribute name="Confidence" type="xs:string"/>
    <xs:attribute name="HowPresent" type="xs:string"/>
    <xs:attribute name="DateAndTime" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="UsageTypeType" mixed="true">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
    <xs:element name="Origin" type="OriginType"/>
    </xs:choice>
    <xs:attribute name="Duid" type="xs:ID"/>
    <xs:attribute name="Euid" type="xs:string"/>
    <xs:attribute ref="xml:lang"/>
    <xs:attribute name="AssignedBy" type="xs:string"/>
    <xs:attribute name="Importance" type="xs:string"/>
    <xs:attribute name="Confidence" type="xs:string"/>
    <xs:attribute name="HowPresent" type="xs:string"/>
    <xs:attribute name="DateAndTime" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="bodyType">
    <xs:sequence>
    <xs:element name="body.head" type="body.headType" xdb:SQLName="BODY_HEAD"/>
    <xs:element name="body.content" type="body.contentType" xdb:SQLName="BODY_CONTENT"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="body.contentType">
    <xs:choice maxOccurs="unbounded">
    <xs:element ref="p"/>
    <xs:element ref="pre"/>
    </xs:choice>
    </xs:complexType>
    <xs:complexType name="body.headType">
    <xs:sequence>
    <xs:element ref="distributor"/>
    </xs:sequence>
    </xs:complexType>
    <xs:element name="distributor" type="xs:string"/>
    <xs:complexType name="headType">
    <xs:sequence>
    <xs:element name="meta" type="metaType" maxOccurs="unbounded"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="metaType">
    <xs:attribute name="name" type="xs:NMTOKEN" use="required"/>
    <xs:attribute name="content" type="xs:string" use="required"/>
    </xs:complexType>
    <xs:element name="p" type="xs:string"/>
    <xs:element name="pre" type="xs:string"/>
    </xs:schema>

  • URGENT: Passing Array from JSP to a Stored Procedure

    Hi,
    Can some one please help me understanding how can I pass array from JSP page to a stored procedure in database.
    Thanks in advance.
    Jatinder

    Thanks.
    I tried ArrayExampla.java and was successful in passing array values to the stored database procedure.
    How can I use this class in JSP? Like I have first JSP where in I will collect input from the user and then submit it to the second JSP - that needs to call the ArrayExample.java to pass the values as array to the database.
    How should I call this java code in my second JSP?
    Thanks in advance.

  • ORA-03113 when trying to connect to database

    RDBMS Version:: 9.2.0.6
    Operating System and Version:: Win2003 Small Business Server
    Error Number (if applicable):: ORA-03113
    Server Net Version:: 9.2.0.6
    Client Operating System and Version:: Solaris10
    Client Net Version:: 2.1.3
    ORA-03113 when trying to connect to database
    I've currently a 7.1.3 client on SUN Solaris (5.10 Generic_118844-26 i86pc i386 i86pc) where I want to connect to the 9.2.0.6 database on a Win2003 Server hardware.
    When i try to connect via SQL*Plus (Release 3.1.3.4.1), I get ORA-03113. Looking into the listener resp. alertfile on the server, I can see that the connectiorequest is recognized, but immediately answered by an ORA-0600, producing also trc-files.
    listener: 25-MAI-2007 09:37:23 * (CONNECT_DATA=(SID=HTASQL)(CID=(PROGRAM=)(HOST=eklvpa)(USER=sat250))) * (ADDRESS=(PROTOCOL=tcp)(HOST=172.17.233.3)(PORT=32790)) * establish * HTASQL * 0
    alert: ORA-00600: internal error code, arguments: [12333], [26], [0], [115], [], [], [], []
    Activating traces on the client-side showed the following errors:
    -<ERROR>- ntus2err: sd=8, op=1, resnt[0]=511, resnt[1]=2, resnt[2]=0
    -<ERROR>- nserror: nsres: id=0, op=65, ns=12541, ns2=12560; nt[0]=511, nt[1]=2, nt[2]=0
    -<ERROR>- nsopen: unable to open transport
    -<ERROR>- nsprecv: transport read error
    -<ERROR>- nserror: nsres: id=0, op=68, ns=12537, ns2=12560; nt[0]=507, nt[1]=0, nt[2]=0
    -<ERROR>- osnqrc: wanted 1 got 0, type 0
    -<ERROR>- osnqper: error from osnqrc
    -<ERROR>- osnqper: nr err code: 0
    -<ERROR>- osnqper: ns main err code: 12537
    -<ERROR>- osnqper: ns (2) err code: 12560
    -<ERROR>- osnqper: nt main err code: 507
    -<ERROR>- osnqper: nt (2) err code: 0
    -<ERROR>- osnqper: nt OS err code: 0
    -<ERROR>- osnqsm: send-break: failed to send OOB break...
    -<ERROR>- osnqper: error from send-marker
    -<ERROR>- osnqper: nr err code: 0
    -<ERROR>- osnqper: ns main err code: 12583
    -<ERROR>- osnqper: ns (2) err code: 0
    -<ERROR>- osnqper: nt main err code: 0
    -<ERROR>- osnqper: nt (2) err code: 0
    -<ERROR>- osnqper: nt OS err code: 0
    -<ERROR>- osnqbr: returning 3113
    Can anybody help me in determining the problem ? Is there a systemtic incompatibility in connecting a 7.1.3 client to a 9.2 (or even higher) database ?

    Thanks for your reply.
    But the funny thing on this compatibility issues is, that this configuration worked before. The only thing we did, was to setup the client-PC on a new hardware with also a new operating system (upgrading from Solaris 5.8 to 5.10). And from that time we encountered this problem.
    Are there any OS-related problems known or better to say: is (was) ORACLE 7.1.3 supported on Solaris 5.10 ? Should we look for any patches which might help us ?

  • When trying to update apps from iPad and iPhone a previous one time users email keeps coming up. How do I delete their information?

    When trying to update apps from iPad and iPhone a previous one time users email keeps coming up. How do I delete their information?

    delete off any apps that are asking for the wrong apple id and download/sync them over from the correct one

  • Get error message when trying to launch bridge from CC 64 bit.

    Get error message when trying to launch Bridge from Photoshop CC 64 bit.  "Cannot complete command because extension cannot be loaded."  Need fix.  Thanks.

    Hi Adobe Bubba,
    Please uninstall the software, run the cleaner tool, restart your machine and install again.
    Cleaner tool: http://www.adobe.com/support/contact/cscleanertool.html .
    Regards,
    Romt Sinha

  • 2nd gen A TV I can hear but not see on the TV when trying to stream TV from the iPad2

    2nd Gen ATV I can hear but not see on the TV when trying to stream TV from the iPad2

    You can look at the ipad under settings, general, about and see if it's 4.3.3.
    Or when you connect the ipad to the computer with itunes, it'll tell you on the first tab if you need an update.

  • From an iPhone 5, I receive the following error message when trying to download content from a radio show app:  "Alert Could not parse feed."   How do I fix?

    From an iPhone 5, I receive the following error message when trying to download content from a radio show app:  "Alert Could not parse feed."   How do I fix?

    Since you're using a 3rd party app, suggest contacting the app developer or looking at their support site for help.

  • When trying to download app from itunes store I get message: Apple Id has been disabled.  I  have reset my password, but the problem has not been resolved.

    When Trying to download applications from the itunes store, I receive a message that my Apple Id has been disabled.  I reset my password, accessed my Itunes Account successfully, but when trying to download, the same message appears.

    You need to contact Apple Support, particularly iTunes Store support team.  Cheers!

Maybe you are looking for