ORA-00932 while using nvl with trunc function
What happens when trunc is executed on null?
I am executing the following query:
"select nvl(trunc(null),sysdate) from dual"
and this throws "ORA-00932: inconsistent datatypes: expected NUMBER got DATE, error at Line:1 Column:23".
Whereas "select nvl(null,sysdate) from dual" returns sysdate correctly.
Also "select trunc(null) from dual" returns null only. So when the returned null is passed through nvl why am I getting exception?
This is happening in ver 9.2.0.5.0 and 10.2.0.2.0
There is another observation, which is an issue that we have found in our code, and while trying to fix that we saw the earlier observation.
SELECT * FROM orgs, dual where
trunc(SYSDATE) between trunc(orgs.effective_start_date) and nvl(trunc(orgs.effective_end_date),trunc(sysdate))
Here effective start date and effective end date for orgs are null for all records.
When we run this query on ver 9.2.0.5.0, this runs without any exception. But when we run this query on ver 10.2.0.2.0, we get the same exception, "ORA-00932: inconsistent datatypes: expected NUMBER got DATE, error at Line:2 Column:95".
The join with dual is fake, in actual scenario we have join with other tables, but since we are able to replicate with dual, removed all other details to keep this simple.
Now if we remove the join with dual, the query works fine in both the env.
SELECT * FROM orgs where
trunc(SYSDATE) between trunc(orgs.effective_start_date) and nvl(trunc(orgs.effective_end_date),trunc(sysdate))
What happens when trunc is executed on null?
I am executing the following query:
"select nvl(trunc(null),sysdate) from dual"
and this throws "ORA-00932: inconsistent datatypes:
expected NUMBER got DATE, error at Line:1
Column:23".
Whereas "select nvl(null,sysdate) from dual" returns
sysdate correctly.
Also "select trunc(null) from dual" returns null
only. So when the returned null is passed through nvl
why am I getting exception?
This is happening in ver 9.2.0.5.0 and 10.2.0.2.0The first parameter to NVL is determining the expected datatype of the returned column, with the trunc function defaulting that to NUMBER because it's parameter is NULL. The second parameter to NVL needs to match that datatype which it doesn't because it is a date.
SQL> select nvl(trunc(sysdate), sysdate) as mydate from dual;
MYDATE
26/05/2006 00:00:00
SQL> select nvl(trunc(null), sysdate) as mydate from dual;
select nvl(trunc(null), sysdate) as mydate from dual
ERROR at line 1:
ORA-00932: inconsistent datatypes: expected NUMBER got DATE
SQL> select nvl(trunc(123), sysdate) as mydate from dual;
select nvl(trunc(123), sysdate) as mydate from dual
ERROR at line 1:
ORA-00932: inconsistent datatypes: expected NUMBER got DATE
SQL>
Similar Messages
-
Can I use ajaxOnLoad with a function to which I give a parameter?
I accidentaly posted this on the live docs... So here I go again:
Can I use ajaxOnLoad with a function to which I give a parameter?
e.g.:
<cfset ajaxOnLoad("initCourses('#tmpUUID#')") />
The JS function looks as following:
initCourses=function(tmpUUID){
ColdFusion.Layout.collapseAccordion('awCourseList','awCourseList_1_'+tmpUUID);
// the _1_ in the name is set through the currentRow attribute while looping through a query
setWinUnsaved;
I'm having the problem, that my first accordion panel doesn't initialize hidden, so I wrote this method. Later on I noticed, that the accordions were somehow cached, so the URL params given whithin the source weren't right anymore. This might be, because I gave name attributes to the layoutareas. I added an UUID to the name attribute so the source wasn't cached anymore. But now it doesn't seem to find the cflayout container anymore. (I checked the name of the layoutarea and the temporary saved uuid, they are the same.)
I tried using cfhtmlhead instead, but that didn't seem to work neither.So I've been searching the whole day yesterday and many hours today and this is what I got:
<cfsavecontent variable="jsheadcont">
<script type="text/javascript">
<!--
initCourses('#tmpUUID#');
//-->
</script>
</cfsavecontent>
<cfhtmlhead text="#jsheadcont#">
And that's what my JavaScript function looks like:
initCourses=function(tmpUUID){
setTimeout("ColdFusion.Layout.collapseAccordion('awCourseList','awCourseList_1_"+tmpUUID+ "')",1);
setWinUnsaved;
So I'll have to write all that instead of a simple
<cfset ajaxOnLoad("initCourses('#tmpUUID#')") /> ?
Or am I completely wrong? I forgot to mention that the accordion is inside a tab-layout which is inside a border-layout.
Cheers
Boris -
BW Application Error while using Web Application Designer Functionality?
Hi,
An error came while using Web Aplication Designer functionality.
Can anyone please help me to resolve this issue.
X person Developed a web template, but when Y person attempted to broadcast the associated query result, an error message returned indicating access was denied: <b>part of error message Form: PHIO_GET_CONTENT_ACCESS of program SAPLSDCI.</b>
<b>The same X person developed a web template, but when he attempted to broadcast the associated query result, an error message was returned indicating access was denied.</b>
From these test results it appears as though the errors encountered are authorization related. It is a requirement that web templates developed by X to be broadcasted.
I need to understand what permissions the X person requires in order for this to work so that his access can be changed.
Waiting for response.
Thanks & Regards.The last two days have been frustrating. The error above also appeared when I was trying to view one of the relationships in one of my entities.
What seems to have been happening is Designer showed a relationship existing after it had been deleted. This seems to be a bug in Designer. These rouge links can be deleted in the RON (although if you try to look at their details the RON will crash with the error in original query). After this cleanup everything worked like clockwork.
Hannah Fraser -
How to trigger New page while using ALV with classes/oops?
Hi All
I am trying to print a report which has to show the data in two pages.
I am using ALV with classes/oops.
Though I am able to print the report but a new page is not coming. Whole of the data is coming in one single page.
Please tell me as to how to trigger a NEW PAGE while using ALV with classes/oops.
Please send some code samples also if available.
Thanks in advance.
Jerryusing sort option you can do it. in case of grid/oo alv class ALV you can view that only in print mode/preview mode.
in case of list you can view that directly.
sort-fieldname = 'FIELDNAME'.
sort-group = '*' "triggers new page
sort-up = 'X'.
append sort to it_sort. -
Hi All,
We have SharePoint Production server 2013 where users are complaining that they are not able to copy or move files from one document library to another document library using “Open with Explorer” functionality.
We tried to activate publishing features on production server but it did not work. We users reported following errors:
Copying files from one document library to another document library:
Tried to map the document libraries and still not get the error to copy files:
In our UAT environment we are able to copy and move folders from using “Open with Explorer” though.
We have tried to simulate in the UAT environment but could not reproduce the production environment.
Any pointers about this issue would be highly appertained.
Thanks in advance
Regards,
Aroh
Aroh ShuklaHi John and all,
One the newly created web applications that we created few days back and navigated to document library, clicked on “Open with Explorer”, we get this error.
We're having a problem opening this location in file explorer. Add this website to your trusted and try again.
We added to the trusted site in Internet Explorer for this web application, cleared the cache and open the site with same document library but still get the same above error.
However, another existing web application (In same the Farm) that we are troubleshooting at the moment, we are able click on “Open with Explorer”, login in credentials opens and we entered the details we are able to open the document
library and tried to follow these steps:
From Windows Explorer (using with Open with Explorer), tried to copy or move a files to
source document library.
From Windows Explorer moved this file to another destination document library and we got this error.
What we have to achieve is users should be able to copy files and folders using
Open with Explorer functionality. We don’t know why Open with Explorer
functionality not work working for our environment.
Are we doing something wrong?
We have referred to following websites.
we hope concepts of copying / Moving files are similar as SharePoint 2010. Our production environment is SharePoint 2013.
http://www.mcstech.net/blog/index.cfm/2012/1/4/SharePoint-2010-Moving-Documents-Between-Libraries https://andreakalli.wordpress.com/2014/01/28/moving-or-copying-files-and-folders-in-sharepoint/
Please advise us. Thank you.
Regards,
Aroh
Aroh Shukla -
ORA-32034: unsupported use of WITH clause-issue
hello all,
i am facing some issue when i use with clause and union all operator.
i have created a dummy code to solve this problem..
my code is ----------
with dept_1 as
(select deptno d1 from detp9 where deptno = 20)
select empno from emp9 e,dept_d1 where e.empno = dept_1.d1
UNION ALL
with dept_1 as
(select deptno d2 from detp9 where deptno = 30)
select empno from emp9 e,dept_d2 where e.empno = dept_2.d2.
when i ran this i gort a message-
ORA-32034: unsupported use of WITH clause.
please help me to solve this iisue..
when i ran it separatly without using union/union all it ran sucessfully..
thanks in advance..923315 wrote:
hello all,
i am facing some issue when i use with clause and union all operator.
i have created a dummy code to solve this problem..
my code is ----------
with dept_1 as
(select deptno d1 from detp9 where deptno = 20)
select empno from emp9 e,dept_d1 where e.empno = dept_1.d1
UNION ALL
with dept_1 as
(select deptno d2 from detp9 where deptno = 30)
select empno from emp9 e,dept_d2 where e.empno = dept_2.d2.
when i ran this i gort a message-
ORA-32034: unsupported use of WITH clause.
please help me to solve this iisue..
when i ran it separatly without using union/union all it ran sucessfully..
thanks in advance..Well, i don't see anything about these queries that makes sense.
You are essentially joining emp and dept on EMPNO to DEPTNO ... that doesn't usually make any sense.
How about you step back from the query which is almost certainly incorrect, and explain your tables, their data and what you need as output?
Cheers, -
Why doesn't apple tv show song info while using pandora with AirPlay?
Why doesn't apple tv show song info while using pandora with AirPlay?
Welcome to the Apple Community.
I'm not really familiar with Pandora but I assume it's an audio app and the app places text on screen to inform you of the current track playing.
As an audio app, it seems to make sense it will stream audio over AirPlay, which doesn't include text of course. For that matter the text is also unlikely to be a video stream either, just to cover the possibility you ask why can't they stream it over AirPlay as video. -
ORA-00932 Error using 11g and the SDO_RELATE function. Works fine in 10g
Hello,
If I run this query in Oracle 11g:
SELECT M.FID, MAX(M.VERSION) AS VERSION
FROM SW_PB.A_ROADNODEINFORMATION M, SW_PB.ROADNODE N
WHERE M.REFERENCETOROADNODE = N.FID
AND M.NODEVERSION = N.VERSION
AND M.CATALOGUEID <= 477
AND MDSYS.SDO_RELATE( N.GEOM, MDSYS.SDO_GEOMETRY(2003,81989,NULL,MDSYS.SDO_ELEM_INFO_ARRAY(1,1003,3),MDSYS.SDO_ORDINATE_ARRAY(120000,0,160000,40000)),'MASK=ANYINTERACT QUERYTYPE=WINDOW') = 'TRUE'
GROUP BY M.FID;
I get an error regarding the N.GEOM field. The error is as follows:
ORA-00932: inconsistent datatypes: expected - got MDSYS.SDO_ELEM_INFO_ARRAY
The same query runs fine on a 10g database with the same data. I've even truncated the N table and still get the error. I've rebuilt the index but it makes no difference and the metadata is exactly the same for this table as it is for other tables that are involved in a similar query.
It looks like a bug to me but just wondered if anyone else had come across this?
Thanks,
Peter.Thanks for the reply. I'm really sorry but I haven't created trace files like this for a very long time and have forgotten the best way to read them. This is the start of the trace file, any help with reformatting it would be greatly appreciated.
Thanks,
Peter.
*** 2009-04-23 17:09:22.902
----- Error Stack Dump -----
*** 2009-04-23 17:09:22.917
ORA-00932: inconsistent datatypes: expected - got MDSYS.SDO_ELEM_INFO_ARRAY
----- Current SQL Statement for this session (sql_id=br02jqdwy2utk) -----
SELECT M.FID, MAX(M.VERSION) AS VERSION
FROM SW_PB.A_ROADNODEINFORMATION M, SW_PB.ROADNODE N
WHERE M.REFERENCETOROADNODE = N.FID
AND M.NODEVERSION = N.VERSION
AND M.CATALOGUEID <= 477
AND MDSYS.SDO_RELATE( N.GEOM, MDSYS.SDO_GEOMETRY(2003,81989,NULL,MDSYS.SDO_ELEM_INFO_ARRAY(1,1003,3),MDSYS.SDO_ORDINATE_ARRAY(120000,0,160000,40000)),'MASK=ANYINTERACT QUERYTYPE=WINDOW') = 'TRUE'
GROUP BY M.FID
----- Call Stack Trace -----
calling call entry argument values in hex
location type point (? means dubious value)
skdstdst()+114 CALLrel kgdsdst()+0 FB783A0 2
ksedst1()+91 CALLrel skdstdst()+0
ksedst()+50 CALLrel ksedst1()+0 0 1
dbkedDefDump()+298 CALLrel ksedst()+0 0
5
ksedmp()+40 CALLrel dbkedDefDump()+0 3 0
_dbkdaKsdActDriver( CALLreg 00000000 3
)+841
_dbgdaExecuteAction CALLreg 00000000 7B50420 FB79A4C
()+63
dbgdaRunAction()+3 CALLrel dbgdaExecuteAction 7B50420 4D4C148 20C0002
02 ()+0 FB79A4C
dbgdRunActions()+4 CALLrel dbgdaRunAction()+0 7B50420 A789E54
4
dbgdProcessEventAc CALLrel dbgdRunActions()+0 7B50420 A789E74
tions()+446
__VInfreq__dbgdChkE CALLrel _dbgdProcessEventAc 7B50420 120A3370 A789F64
ventKgErr()+237 tions()+0
dbkdChkEventRdbmsE CALLrel dbgdChkEventKgErr( 7B50420 A7C06F4 3A4
rr()+33 )+0
__PGOSF99__ksfpec() CALLrel _dbkdChkEventRdbmsE 3A4
+110 rr()+0
_dbgePostErrorKGE() CALLreg 00000000 120A3370 3A4
+1601
dbkePostKGEkgsf() CALLrel _dbgePostErrorKGE() 120A3370 A772020 3A4
+49 +0
_kgeade()+268 CALLreg 00000000 120A3370 A772020 3A4
kgesev()+54 CALLrel kgeade()+0
kgesec2()+18 CALLrel kgesev()+0 120A3370 A772020 3A4 2
FB7A200
qctErr932()+217 CALLrel kgesec2()+0 120A3370 A772020 3A4 1 1
FB7A468 1 19 FB7A218
qctErrConvertDataT CALLrel qctErr932()+0 995FBCC0 120A3370 F6 FB7A468
ype()+82 7B C2E85B4 995FBCC0 120A3370
FB7A468 0 0 FB7A468 0 204
qecgby()+240 CALLrel qctErrConvertDataT 995FBCC0 120A3370 F6 0 0 7B
ype()+0 C2E85B4
qecpqbcheck()+75 CALLrel qecgby()+0
qecdrv()+161 CALLrel qecpqbcheck()+0 C2ECD7C 0 0 0
qecdrv()+74 CALLrel qecdrv()+0
kkqcttcalo()+383 CALLrel qecdrv()+0 C2EFBAC
kkqctdrvGBP()+1841 CALLrel kkqcttcalo()+0 C2EFBAC 0 C2EFBAC 166A5D4 0 2
__VInfreq__kkqgbpTr CALLrel _kkqctdrvGBP()+0 A730DD8
avChkTran()+193
_qksqbApplyToQbcLoc CALLreg 00000000 A730DD8 FB7A9BC
()+536
qksqbApplyToQbc()+ CALLrel qksqbApplyToQbcLoc
67 ()+0
kkqctdrvTD()+1000 CALLrel qksqbApplyToQbc()+ A730DD8 2EF2DA0 FB7A9BC 0
0
kkqgbpdrv()+88 CALLrel kkqctdrvTD()+0 A754820 995FBDF4 6
kkqdrv()+1520 CALLrel kkqgbpdrv()+0 A754820 995FBDF4
kkqctdrvIT()+698 CALLrel kkqdrv()+0 A754820 0
apadrv()+1205 CALLrel kkqctdrvIT()+0 A754820 995FBDF4
opitca()+1841 CALLrel apadrv()+0 995FBDF4
__PGOSF435__kksFull CALLrel _opitca()+0 A7CC9E4 995FBDF4
TypeCheck()+15
_rpiswu2()+560 CALLreg 00000000 FB7B718
kksLoadChild()+860 CALLrel rpiswu2()+0 AF495220 5 A77DCBB4 16
8 94591E54 5 A77DCBE0 0 FB7B670
615F44 0 FB7B718 0
kxsGetRuntimeLock( CALLrel kksLoadChild()+0 120A3370 AE9130D8 FB7C090
)+1421
kksfbc()+8954 CALLrel kxsGetRuntimeLock( 120A3370 A7CC9E4 FB7C090 3 1
)+0
kkspsc0()+1882 CALLrel kksfbc()+0 A7CC9E4 3 108 FB7D2D8 1BB 0 0
0
kksParseCursor()+1 CALLrel kkspsc0()+0
43
opiosq0()+2028 CALLrel kksParseCursor()+0 FB7C610
kpooprx()+273 CALLrel opiosq0()+0 3 E FB7C734 A4
kpoal8()+729 CALLrel kpooprx()+0 FB7F214 FB7D2D8 1BA 1 0 A4
_opiodr()+1224 CALLreg 00000000 5E 1C FB7F210
_ttcpip()+2733 CALLreg 00000000 5E 1C FB7F210 0
_opitsk()+1278 CALL??? 00000000
opiino()+1067 CALLrel opitsk()+0 0 0
_opiodr()+1224 CALLreg 00000000 3C 4 FB7FC28
opidrv()+807 CALLrel opiodr()+0 3C 4 FB7FC28 0
sou2o()+45 CALLrel opidrv()+0 3C 4 FB7FC28
opimaireal()+130 CALLrel _sou2o()+0 FB7FC1C 3C 4 FB7FC28
opimai()+92 CALLrel opimai_real()+0 2 FB7FC54
OracleThreadStart@ CALLrel opimai()+0
4()+764
77E6482C CALLreg 00000000
00000000 CALL??? 00000000 -
Error while using RSCRM_BAPI with remote cubes
Hi,
We are getting short dump while trying to use RSCRM_BAPI with hierarchies i.e.display hierarchies to extract data to a flat file.
We do get a warning that display hierachies are not longer supported in 2004s with RSCRM_BAPI and have been going on and on with SAP development. They are saying we need to find alternatives.
I wanted to know if anybody has tried using display hierarchies with RSCRM_BAPI in 2004s if not then I would like to know what are my options in getting a flat hierarchy report on to a flat file?
I dont think infospoke supports flat hierarchy extracts as infoproviders dont store hierarchy information.
ThanksHeres my thought -
to use Bex Broadcaster to download the information,am not sure if RSCRM_BAPI is replaced by new functionality ,might wait for SAP to confirm.
<b>Key capabilities:-</b>
1)The right information:Based on BExqueries, views, workbooks, Web applications & enterprise reports
2)In different formats:HTML, MHTML, PDF, ZIP, printer formats, online links, SAP alerts
3)To the right people:e.g., single users, groups, distribution lists, user-specific or role-specific (incl. non-SAP users)
4)In different channels:e-mail, Portal, BExPortfolio (unified access based on Knowledge Management folders), collaboration rooms, Universal Work List
At the right time:event driven, exception driven, ad-hoc, scheduled
Bex Broadcaster + Information Broadcasting
Note 760775 - Settings for Information Broadcasting
Functions of Bex broadcaster
http://help.sap.com/saphelp_nw04/helpdata/en/bf/220c40ac368f5ce10000000a155106/frameset.htm
Hope it Helps
Chetan
@CP.. -
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> -
IO Exception Broken Pipe ORA-17002 while using connection pooling
Hi
We are experiencing "broken pipe ORA-17002 error" when using connection pooling. This seems to be a common error when implementing connection pooling, but I didn't find any solution anywhere.
we are using Oracle 9i 9.2.0.1 JDBC thin driver
Our database is Oracle 8.1.7 running on HP Unix
The middle tier(Tomcat) runs on RedHat linux server
We are using JDK1.3
It seems the connections automatically get stale or bad after certain period of time.Iam checking to see if the connection is closed, before giving the connection from the pool to the appilcation.It seems its still open.But when I start using the connection to open a callable statement or setAutocommit to false, it says Broken pipe or No more data to read from the socket.
We are implementing our own connection pooling class(we experimented with OracleConnectionCacheImpl but it too gave the same errors).
Does anybody have a solution for this problem??
Is there a workaround for this?I would like to know how connection pooling is implemented in most of the applications that use oracle database?Or do we need to explicitly test the connection before using it, and reopen a connection if that is bad??
Thanks
Anilkalle
Thank you very much for your advice!!!
Like you said, I started to check whether the connections are fine before giving them from the pool.I am executing a simple "select 'anil' from dual" and if its fine only then I return the connection. So far it seems to be fine. Also I am reopening the connections(closing the old ones and opening new connections) after every 12 hours.
As far as the JDBC driver is concerned, I already tried with Oracle 8i driver, it gave the same problems. I read that 9i driver might solve this problem, so I changed to the latest 9i driver (classes12_g.zip).
Sometimes before(before I started checking whether the connection is good )the application used to hang up at the point where I am issuing setAutoCommit(false).It never comes out from that statement.Is this something to do with theconnections being closed?
What I am afraid is, will the appilation get hung up even after I check the connection with select query and then issue autocommit(false)??
Or will it hang up while I check with a select query??
As long as it doesn't hung up, I am fine. Because i am cathching the exceptions.
Thanks In ADVANCE
Anil -
Problem while using XML with Oracle
I have a problem using XML with oracle applications
The process I am following
1. Making a XML string.
2. Parsing it to get a document
3. Free the parser using xmlparser.freeparser
4. Traversing through nodes .
5. Freeing the document.
The whole Process is executed in batch mode.
The problem occurs after executing the procedure for 5000 records and I get the error
ORA-04031: unable to allocate 4176 bytes of shared memory ("shared pool","unknown object","sga
heap","library cache")
Can you please help me out to overcome this problem
It's urgent
I have
Oracle version 8.1.7.0.0
XML version 1.2
OS Windows NT
To resolve the problem I have increase shared memory size and java initialization parameters ,which seems OK
Looking forward for your answer.Hello, Reena
Your process flow seems to be correct in term of getting/freeing memory.
Following error
The problem occurs after executing the procedure for 5000 records and I get the error
ORA-04031: unable to allocate 4176 bytes of shared memory ("shared pool","unknown object","sga
heap","library cache")may be caused by memory leaks in xdk or memory fragmentation(due to get/free memory cycle)
To find out if this is an memory leak issue you could try to monitor V$SGASTAT from one session while running your batch process in another session.
To prevent (or lower its impact) fragmentation issues try to PIN objects, and adjust java_pool_size and shared_pool_reserved_size.
Anyway, counsult your Oracle DBA.
Oracle version 8.1.7.0.0I think, you should apply database patch first of all. The latest one (8.1.7.4.x) could be accured from Metalink. -
Licence Error while Using nqcmd with Analytics Web DSN
Hi,
While running nqcmd with Analytics Web DSN i am getting a DataDirect error, stating that you do not have appropriate licence to run ODBC Data Direct.
I am getting this on Linux box but while running the same on Windows their is no such error.
Have any one of you got such kind of stuff. I am using OBIEE which Oracle provides on her website for free for development purpose.
Please help.
Edited by: RKK on Oct 3, 2011 10:01 PMHi,
kindly Refer
https://forums.oracle.com/forums/thread.jspa?messageID=2289534�
Thanks
Deva -
Using Starts-with XSLT function with XI
Hi All,
Any help is apperciated. I am using the starts-with xslt function and when i do so the message gets stucks in the queue. If i run code without the starts-with then is works??
<xsl:for-each select="receipt/prod">
<xsl:for-each select="carrier/carrier_detail/carrier">
<xsl:choose>
<xsl:when test="carrier_type='CASE'">
<xsl:choose>
<xsl:when test="starts-with(carrier_barcode, '00')">
do something
</xsl:when>
<otherwise>
do something
</otherwise>
so on..
when i try to process messsage using this xslt format it gets sysfail in the queue, but without it, it works fine.
I need to a special format if the condition of barcode starts with 00Chirag,
Create xslt on abap mapping using transaction SXLT_TOOL on XI abap stack. Copy paste same xslt code and run with test file. You can debug code or most likely you can see error message too.
Actually your mapping raising an exception which result in sys-fail.
Hope this will help.
Nilesh -
ORA-6508 while using attached PL-SQL library [SOLVED]
Hi all,
we use Developer 10.1.2.0.2 on Windows XP Professional SP 2.
We have a Linux-based ( 2.6.5-7.287.3) OAS (10.1.2.0.2).
We received ORA-6508 while starting a report from within a menu. In fact all reports led to the same mistake. I must admit that they all worked fine before. We found a workaround for this problem by recompiling the attached PL-SQL library. The question is: what caused the loss of information ? What reasons can be imagined for such a behaviour ?
Regards
Frank
Message was edited by:
fwbHi Christian,
what we have is:
We have a .mmx in production for quite a while. Within the .mmx you can start several reports by selecting an entry of the menu. It all works without problems. Then suddenly by choosing one of the reports you face ORA-6508 (something that has never happend before even though we made no changes to the system - at least I have no knowledge of any ;)
The .pll which I recompiled is attached to the menu (.mmb). Recompiling the .pll fixes the issue.
Regards
Frank
Message was edited by:
fwb
Maybe you are looking for
-
Just upgraded to vista and now can't open itunes
I just upgraded to vista (what a pain) I have uninstalled itunes and then reinstalled itunes but I still can't open it. This is what happens. When I click on the itunes icon I get the licence agareement which I check agree and when it goes away I get
-
Kdemod 4.2 with dual head
I want to use dual head setting in kde 4.2 but it has bunch of issues. When in kde4 i issue the command xrandr --output VGA --left-of LVDS , it enable the dual head setup but the resolution defaults to 1024x768 for both my monitor and Laptop. When I
-
Need to reset password but Recovery Mode requires password
Hi I have a mac book pro retina display, I need to reset the admin password but I cannot use Command+R or option on start up because they both require a password. Any help would be appreciate Thanks, Alex
-
Hi, I need some help to create Internet Explorer 11 Add-on to customize context menu item and Toolbar items. However I have created one class library using C#.net to add the context menu but do not know how this will be display in the IE Manage add-o
-
Duke bank application client probleam
Warning: Could not find file /usr/local/sges-v3/glassfish/domains/domain1/gener ated/xml/dukesbank/dukesbankClient.jar to copy. Copying 1 file to /root/10 jun/javaeetutorial5/examples/dukesbank/dist Copying 3 files to /root/10 jun/javaeetutorial5/exa