Basic NOT EXISTS query not returning any results
DB Version: 10gR2
One of our tables in the test schema is having less number of columns than the PROD shema.
To determine which are missing columns in this table in Test schema i did the following.
-----In Test Schema
CREATE TABLE XYZ2
(COL1 NUMBER); ----------only one column
SQL > CREATE TABLE tables_test_list AS SELECT TABLE_NAME,COLUMN_NAME FROM USER_TAB_COLS;
Table created.--- In the prod schema
SQL> CREATE TABLE XYZ2
2 (COL1 NUMBER,
3 COL2 NUMBER ----------- same table name with an extra column
4 );
Table createdAnd from the PROD schema i execute the following SQL to determine what are the columns that are missing in the TEST schema
select column_name from User_Tab_Cols outer
where table_name='XYZ2'
and not exists (select 1 from TEST_SCHEMA.tables_test_list inner where outer.TABLE_NAME=inner.TABLE_NAME )But the above query is not returning any results. Any idea why?
Actually, the example from the link I posted earlier:
[email protected]> (
2 select 'IN T1, NOT T2', column_name,data_type,data_length
3 from user_tab_columns
4 where table_name = 'T1'
5 MINUS
6 select 'IN T1, NOT T2', column_name,data_type,data_length
7 from user_tab_columns
8 where table_name = 'T2'
9 )
10 UNION ALL
11 (
12 select 'IN T2, NOT T1', column_name,data_type,data_length
13 from user_tab_columns
14 where table_name = 'T2'
15 MINUS
16 select 'IN T2, NOT T1', column_name,data_type,data_length
17 from user_tab_columns
18 where table_name = 'T1'
19 )
20 /
Similar Messages
-
Bing based federated result sources not returning any results for non-English languages
I have a result source with this query:
http://www.bing.com/search?q={?searchterms} language:fr site:msdn.microsoft.com&format=rss&count=50&first={startIndex}
This used to give me 40-50 results for common terms like download, blog etc.
From today (7/14) IST, this source does not return any results. There are no results if I execute this query directly in IE either.
Same behavior observed for: language:es, language:de etc.
I do however get results as expected for language:en.
Any idea what the issue might be?Hi Swapnil,
According to your description, my understanding is that no results returned when searching with non-English in the Result Source query.
I tested the same scenario per your post and I got the same results as you got.
I recommend to change the language:fr in the Result Source query to be lang=fr to see if the issue still occurs.
More references:
http://kbdump.com/sharepoint-2013-opensearch-search-twitter-facebook-wikipedia-page/
http://richardstk.com/2013/11/08/sharepoint-2013-federated-search-to-bing/
Best regards.
Thanks
Victoria Xia
TechNet Community Support -
I have a Xquery statement that works as expected on Oracle 10.2.0.5 but does not return any results on Oracle 10.2.0.4.
Is this the result of a badly written query? A bug in 10.2.0.4?
Is there a way to rewrite the query so that is does work on 10.2.0.4?
Testcode:
declare
l_xml xmltype;
-- Select layers with TileMatrixSet EPSG:28992
cursor c_layer(p_xml xmltype) is
select t.*
from xmltable(xmlnamespaces(default 'http://www.opengis.net/wmts/1.0'
,'http://www.opengis.net/ows/1.1' as "ows"
,'http://schemas.opengis.net/gml' as "gml"
,'http://www.w3.org/1999/xlink' as "xlink"
,'http://www.w3.org/2001/XMLSchema-instance' as "xsi")
,'for $d in //Layer[TileMatrixSetLink/TileMatrixSet="EPSG:28992"] return $d' passing
p_xml columns title varchar2(100) path 'ows:Title'
,format varchar2(100) path 'Format'
,style xmltype path 'Style') as t;
begin
l_xml := xmltype.createxml('<?xml version="1.0" encoding="UTF-8"?>
<Capabilities xmlns="http://www.opengis.net/wmts/1.0"
xmlns:ows="http://www.opengis.net/ows/1.1"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:gml="http://www.opengis.net/gml" xsi:schemaLocation="http://www.opengis.net/wmts/1.0 http://schemas.opengis.net/wmts/1.0/wmtsGetCapabilities_response.xsd"
version="1.0.0">
<Contents>
<Layer>
<ows:Title>brtachtergrondkaart</ows:Title>
<ows:Identifier>brtachtergrondkaart</ows:Identifier>
<Style isDefault="true">
<ows:Identifier>_null</ows:Identifier>
</Style>
<Format>image/png8</Format>
<TileMatrixSetLink> <TileMatrixSet>EPSG:28992</TileMatrixSet>
</TileMatrixSetLink> </Layer>
<Layer>
<ows:Title>top10nl</ows:Title>
<ows:Identifier>top10nl</ows:Identifier>
<Style isDefault="true">
<ows:Identifier>_null</ows:Identifier>
</Style>
<Format>image/png8</Format>
<TileMatrixSetLink> <TileMatrixSet>EPSG:28992</TileMatrixSet>
</TileMatrixSetLink> </Layer>
<Layer>
<ows:Title>bgt</ows:Title>
<ows:Identifier>bgt</ows:Identifier>
<Style isDefault="true">
<ows:Identifier>_null</ows:Identifier>
</Style>
<Format>image/png8</Format>
<TileMatrixSetLink> <TileMatrixSet>EPSG:28992</TileMatrixSet>
</TileMatrixSetLink> </Layer>
</Contents>
</Capabilities>');
for r_layer in c_layer(l_xml)
loop
dbms_output.put_line(r_layer.title);
end loop;
end;Result on 10.2.0.5:
brtachtergrondkaart
top10nl
bgtThis one's strange indeed.
I can reproduce on 10.2.0.4 and one of the following seems to fix it :
1) Specifying the column list in the SELECT, instead of t.* :
-- Select layers with TileMatrixSet EPSG:28992
cursor c_layer(p_xml xmltype) is
select t.title, t.format, t.style
from xmltable(or,
2) Using an extended FLWOR expression :
for $d in //Layer
where $d/TileMatrixSetLink/TileMatrixSet = "EPSG:28992"
return $dMaybe you've already noticed but the problem only occurs within a PL/SQL context.
The same query run from SQL is OK. -
Filter item limits - search not returning any results with large number of elements otherwise ok
Hi,
We are working through a problem we've encountered with Azure Search. We are building a filter string based on an "id eq 'xxx' or id eq 'ccc' or id eq 'vvv' etc. The id's are provided in a collection and we loop through, building the string until it's
ready to apply.
We are using 2015-02-28 preview at the moment.
We are encountering a situation where, after approximately 20 id's Azure Search doesn't return any results, nor does it appear to return any error code. I'm pretty sure that the url length is less than 8K.
Is there any limit on the number of filter elements in a query?We followed up offline.
The symptom in this case was a 200 response with no body. The underlying cause is a URL parsing bug that tries to interpret colons in the query string as the delimiter of a URL scheme (like https:), but with a hard length limit of 1KB. We will work
on a fix for both the underlying URL parsing issue and the issue that caused it to surface as a body-less 200.
In the meantime, the workaround is to put colons as close to the beginning of the URL query string as possible. Specifically, putting $filter and facets first, and putting expressions with colons within those first, will mitigate this in most cases.
Note that the .NET SDK puts $filter and facets near the beginning of the query string by default, so if you're consuming Azure Search you might want to give it a try:
http://www.nuget.org/packages/Microsoft.Azure.Search/ -
cm:search is not returning any result when logical operator '!' is used.
<cm:search is not returning any result when logical operator '!' is used.
I am using BEA 9.1 content management services API. When I run the following query I am not receiving any results. Also no error or exceptions are seen in the weblogic or cmspi log.
The query is <cm:search id="docs" query="!(object_name like 'Sport*')" />HI cam
Thanks for your reply, but i found the problem it was because my server administrator password has changed by network guys... and because of it crawler unable to access the content
I wrote my solution here i hope it will help other people
http://bvs-sharepoint.blogspot.com/2015/03/sharepoint-search-is-not-returning.html
RB -
Table-Valued Function not returning any results
ALTER FUNCTION [dbo].[fGetVendorInfo]
@VendorAddr char(30),
@RemitAddr char(100),
@PmntAddr char(100)
RETURNS
@VendorInfo TABLE
vengroup char(25),
vendnum char(9),
remit char(10),
payment char(10)
AS
BEGIN
insert into @VendorInfo (vengroup,vendnum)
select ks183, ks178
from hsi.keysetdata115
where ks184 like ltrim(@VendorAddr) + '%'
update @VendorInfo
set remit = r.remit
from
@VendorInfo ven
INNER JOIN
(Select ksd.ks188 as remit, ksd.ks183 as vengroup, ksd.ks178 as vendnum
from hsi.keysetdata117 ksd
inner join @VendorInfo ven
on ven.vengroup = ksd.ks183 and ven.vendnum = ksd.ks178
where ksd.ks192 like ltrim(@RemitAddr) + '%'
and ks189 = 'R') r
on ven.vengroup = r.vengroup and ven.vendnum = r.vendnum
update @VendorInfo
set payment = p.payment
from
@VendorInfo ven
INNER JOIN
(Select ksd.ks188 as payment, ksd.ks183 as vengroup, ksd.ks178 as vendnum
from hsi.keysetdata117 ksd
inner join @VendorInfo ven
on ven.vengroup = ksd.ks183 and ven.vendnum = ksd.ks178
where ksd.ks192 like ltrim(@PmntAddr) + '%'
and ks189 = 'P') p
on ven.vengroup = p.vengroup and ven.vendnum = p.vendnum
RETURN
END
GO
Hi all,
I'm having an issue where my Table-Valued Function is not returning any results.
When I break it out into a select statement (creating a table, and replacing the passed in parameters with the actual values) it works fine, but with passing in the same exact values (copy and pasted them) it just retuns an empty table.
The odd thing is I could have SWORN this worked on Friday, but not 100% sure.
The attached code is my function.
Here is how I'm calling it:
SELECT * from dbo.fGetVendorInfo('AUDIO DIGEST', '123 SESAME ST', 'TOP OF OAK MOUNTAIN')
I tried removing the "+ '%'" and passing it in, but it doesn't work.
Like I said if I break it out and run it as T-SQL, it works just fine.
Any assistance would be appreciated.Why did you use a proprietary user function instead of a VIEW? I know the answer is that your mindset does not use sets. You want procedural code. In fact, I see you use an “f-” prefix to mimic the old FORTRAN II convention for in-line functions!
Did you know that the old Sybase UPDATE.. FROM.. syntax does not work? It gives the wrong answers! Google it.
Your data element names make no sense. What is “KSD.ks188”?? Well, it is a “payment_<something>”, “KSD.ks183” is “vendor_group” and “KSD.ks178” is “vendor_nbr” in your magical world where names mean different things from table to table!
An SQL programmer might have a VIEW with the information, something like:
CREATE VIEW Vendor_Addresses
AS
SELECT vendor_group, vendor_nbr, vendor_addr, remit_addr, pmnt_addr
FROM ..
WHERE ..;
--CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
in Sets / Trees and Hierarchies in SQL -
Directory - Org Unit Listing Not Returning Any Results
Hello Everyone,
We are using Nakisa v4.1 on EHP7.0 at the moment. In the user interface, Directory > Org Unit Listing is not returning any results while Employee and Position Listings are working just fine.
What would be the cause ?
Appreciate your help,
Kind regardsHi,
I am using a live build copied from SAP_Live_RFC.
Below you can find what the cds.log says when I try to search an organizational unit.
2289. 18 Apr 2014 07:05:22 INFO com.nakisa.Logger - ...Request is not required to be verified. For action: setsearch. For processor OrgChartAppEventProcessor
2290. 18 Apr 2014 07:05:22 INFO com.nakisa.Logger - Invoking action:setsearch [ORGUNIT_NAME, contains, deneme]. For processor OrgChartAppEventProcessor. Against controller OrgChartCtr
2291. 18 Apr 2014 07:05:22 INFO com.nakisa.Logger - Strings.decodeURIComponent , encoded=deneme , decoded= deneme
2292. 18 Apr 2014 07:05:22 INFO com.nakisa.Logger - ...Request is not required to be verified. For action: updateNotifications. For processor NotificationsProcessor
2293. 18 Apr 2014 07:05:22 INFO com.nakisa.Logger - Invoking action:updateNotifications []. For processor NotificationsProcessor. Against controller NotificationsCtr
2294. 18 Apr 2014 07:05:22 INFO com.nakisa.Logger - updateNotifications on NotificationsProcessor took: 1ms
2295. 18 Apr 2014 07:05:22 INFO com.nakisa.Logger - FunctionRunner.executeFunctionDirect: /NAKISA/OC_OU_LISTING took: 32ms
2296. 18 Apr 2014 07:05:22 INFO com.nakisa.Logger - setsearch on OrgChartAppEventProcessor took: 86ms
2297. 18 Apr 2014 07:05:22 INFO com.nakisa.Logger - com.nakisa.framework.utility.PostRequestActionRegister.callAction(PostRequestAction) : Calling: PostRequestAction [class=com.nakisa.framework.data.commandProcessor.impl.sap.FunctionRunner, method=releaseAllClients]
2298. 18 Apr 2014 07:05:25 INFO com.nakisa.Logger - ...Request is not required to be verified. For action: setsearch. For processor OrgChartAppEventProcessor
2299. 18 Apr 2014 07:05:25 INFO com.nakisa.Logger - Invoking action:setsearch [ORGUNIT_NAME, contains, test]. For processor OrgChartAppEventProcessor. Against controller OrgChartCtr
2300. 18 Apr 2014 07:05:25 INFO com.nakisa.Logger - Strings.decodeURIComponent , encoded=test , decoded= test
2301. 18 Apr 2014 07:05:25 INFO com.nakisa.Logger - ...Request is not required to be verified. For action: updateNotifications. For processor NotificationsProcessor
2302. 18 Apr 2014 07:05:25 INFO com.nakisa.Logger - Invoking action:updateNotifications []. For processor NotificationsProcessor. Against controller NotificationsCtr
2303. 18 Apr 2014 07:05:25 INFO com.nakisa.Logger - FunctionRunner.executeFunctionDirect: /NAKISA/OC_OU_LISTING took: 28ms
2304. 18 Apr 2014 07:05:25 INFO com.nakisa.Logger - updateNotifications on NotificationsProcessor took: 1ms
2305. 18 Apr 2014 07:05:25 INFO com.nakisa.Logger - setsearch on OrgChartAppEventProcessor took: 73ms
2306. 18 Apr 2014 07:05:25 INFO com.nakisa.Logger - com.nakisa.framework.utility.PostRequestActionRegister.callAction(PostRequestAction) : Calling: PostRequestAction [class=com.nakisa.framework.data.commandProcessor.impl.sap.FunctionRunner, method=releaseAllClients]
2307. 18 Apr 2014 07:05:28 INFO com.nakisa.Logger - ...Request is not required to be verified. For action: setsearch. For processor OrgChartAppEventProcessor
2308. 18 Apr 2014 07:05:28 INFO com.nakisa.Logger - Invoking action:setsearch [ORGUNIT_NAME, contains, kalite]. For processor OrgChartAppEventProcessor. Against controller OrgChartCtr
2309. 18 Apr 2014 07:05:28 INFO com.nakisa.Logger - Strings.decodeURIComponent , encoded=kalite , decoded= kalite
2310. 18 Apr 2014 07:05:28 INFO com.nakisa.Logger - ...Request is not required to be verified. For action: updateNotifications. For processor NotificationsProcessor
2311. 18 Apr 2014 07:05:28 INFO com.nakisa.Logger - Invoking action:updateNotifications []. For processor NotificationsProcessor. Against controller NotificationsCtr
2312. 18 Apr 2014 07:05:28 INFO com.nakisa.Logger - updateNotifications on NotificationsProcessor took: 1ms
2313. 18 Apr 2014 07:05:28 INFO com.nakisa.Logger - FunctionRunner.executeFunctionDirect: /NAKISA/OC_OU_LISTING took: 43ms
2314. 18 Apr 2014 07:05:28 INFO com.nakisa.Logger - setsearch on OrgChartAppEventProcessor took: 94ms
2315. 18 Apr 2014 07:05:28 INFO com.nakisa.Logger - com.nakisa.framework.utility.PostRequestActionRegister.callAction(PostRequestAction) : Calling: PostRequestAction [class=com.nakisa.framework.data.commandProcessor.impl.sap.FunctionRunner, method=releaseAllClients]
Regards. -
Replenishment - Msg WT134: Store order processing did not return any result
During the Replenishment run using TCODE: WRP1 following error is being encountered
<b>Msg WT134: Store order processing did not return any result</b>
The error is reported when more than 9 articles are being used.impelemented the oss note: 979935
-
CONNECT BY query doesn't return any results...
Hi All
I am trying to execute this CONNECT BY query...but it does not return any result.
Could anyone please suggests what am I doing wrong. Or how should I modify the query to get the results.
SELECT Distinct dt.DID FROM DEPT dt left outer join EMPLOYEE emp on dt.DID = emp.DID WHERE dt.parentid in (SELECT DEPT.DID FROM DEPT CONNECT BY PRIOR DEPT.DID = DEPT.PARENTID START WITH DEPT.PARENTID in (2000,-2000)) or dt.parentid=2000
Any help would be really really appreciated.
Thanks and Regards
-JosefTake the nested query and run it in SQL developer (or SQL Plus) against the database directly. Does it give any results? That query returning no results is the most likely cause of the problem.
-
How to use the not exists query
Hello,
Using obiee 11g,
i would like to know how to deal with not exists query in the obiee11g,
the query is like this
select count(a.col1),a.col2 from table1 a ,table2 b where a.col1=b.col1
and not exists
(select d.col1 from table3 d, table4 e
where d.col1=e.col1 and d.col1=a.col1)
group by a.col2
there are 4 tables.
table1,table2,table3,tabel4
this is what i need in a report,these tables are used in othere places also,
would prefer if its possible to do in for a report i.e.e analysis itself.
If not possible then may be in rpd since if i change in rpd it may reflect every place
and not in for a report itself.
thanksImplement this in report itself can be a tricky and tedious job..But better to have it in RPD - Physical - Select Table type
USE NOT IN in place of NOT Exist..You can simply use SELECT statement in SELECT TABLE TYPE
Hope it clear -
MATERIAL DOES NOT EXISTS OR NOT ACTIVATED
Dear Experts,
I want to change Material Master data. I have downloaded the material list from data base table MARC plant data for materials.
i want to extend the material master view. but system is issuing the error message - Material dose not exists or not activated. Also it is not showing the material in MM03 & MM60.
But in data base table MARC it is showing the material code with details.Hi Kiran,
The material type must be HAWA, well you would be able to get this info, if an entry in MARA exists. So from where are you getting the material type?
Anyways just check this, enter the material nos. in MM01 & select Basic Data 1 & click create, check what message you get, should provide you the clues. Also check how this material was created. It could be possible that it was created via some custom program.
Creat the view & then you will be able to resolve the issue. Check the above & revert if you face any issues.
Regards,
Vivek -
Not existing can not be inserted
Dear Experts,
I am getting an error message if I am trying to change Purchase Requisition.
There are additional inserted item in the new tbale 'LT_BAPI_NEW'.
In the table 'LT_BAPI_OLD' are only two items. What is wrong there ?
I have thought with this FM it is really possible to change a PReq.
What can I do in this case ?
The item 00030 is not existing can not be inserted.
CALL FUNCTION 'BAPI_REQUISITION_CHANGE'
DESTINATION av_rfc_dest
EXPORTING
NUMBER = '1000115373'
TABLES
REQUISITION_ITEMS_OLD = LT_BAPI_OLD
REQUISITION_ITEMS_NEW = LT_BAPI_NEW
RETURN = LT_BAPIRETURN
EXCEPTIONS
OTHERS = 1.
Friendly Regards
ertasHi,
Refer to this link..[Help me about BAPI_REQUISITION_CHANGE!!!|Help me about BAPI_REQUISITION_CHANGE!!!] -
The material 332-369090-00 does not exist or not activated
Hi Experts,
Kindly Look at into this error which I am facing in the PRD system.
Materials listed below doesn't exist (or) not activated in the Source system.
1. The material 332-369090-00 does not exist or not activated
2. The material 410-051003 does not exist or not activated
2LIS_02_SCL-Purchasing Data (Schedule Line Level) -
This data source is going to the below data targets.
1. Purchasing Data - ZPUR_C01
2. Purchasing Groups - ZPUR_C04
3. Backlogged Purchase Order Schedule Lines ZPUR_C10
Like this no of materials available in BWPRD but not available in R/3 PRD source system .so how to delete specific master data records for material
Regards
Pinky
Edited by: pinky reddy on Jul 27, 2009 2:09 PM
Edited by: pinky reddy on Jul 27, 2009 2:09 PMEasiest way to solve this is to check the mara table in R/3. try and find your material there. If its not there, then it either has been manually created or loaded from a different source system. Check all the source systems if anyone has loaded them. Then check your cubes and ODSs if you can find any transactional data for these materials. If yes, then there is a possiblity that maybe it was created to correct a failed load. You should then identify the document and compare the same on in R/3.
If this material is used in any transaction data, then you can simply delete it. RSA1-> Find the infoobject(characteristic)-> Maintain master data-> Give the material nos-> select the row and press the delete button.
Regards. -
Content Query Web Part filter not returning any results
This CQWP stopped working after moving a number of files to new locations. It is configured in the following way:
Source: Show items from the following site and all subsites
List type: Pages Library
We want to filter the list by the article date, last 30 days. Without a filter, results are returned. If ANY filtering is applied, NO results are returned, NO error messages.
I experimented with "Group items by" filter, but it also resulted in no results.
If I change the Source field to a subfolder, I can return filtered results.
Any ideas?Make sure that ItemStyle.xslt is working fine, try to change the item style
for your content query web part, if it shows data then there your custom defined
item style is not working properly -
XQuery not returning any results when doc contains ENTITY refs
Dear Forum members,
I am a bdbxml newbie so please be gentle.
I am trying to run xqueries against a TEI P5 document on bdxml 2.4.13 using Oxygen 9 (I'm also using Python and the API - it's not working either)
My XML contains transcripts of poems written in medieval Welsh. There are a lot of Entity references which I am including at the start of the document as:
<?oxygen RNGSchema="http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/teilite.rng" type="xml"?>
<!DOCTYPE TEI [
<!ENTITY aacute "á"> <!-- LATIN SMALL LETTER A WITH ACUTE -->
<!ENTITY Aacute "Á"> <!-- LATIN CAPITAL LETTER A WITH ACUTE -->
<!ENTITY acirc "â"> <!-- LATIN SMALL LETTER A WITH CIRCUMFLEX -->
<!ENTITY Acirc "Â"> <!-- LATIN CAPITAL LETTER A WITH CIRCUMFLEX -->
<!ENTITY agrave "à"> <!-- LATIN SMALL LETTER A WITH GRAVE -->
<!ENTITY Agrave "À"> <!-- LATIN CAPITAL LETTER A WITH GRAVE -->
<!ENTITY aring "å"> <!-- LATIN SMALL LETTER A WITH RING ABOVE -->
<!ENTITY Aring "Å"> <!-- LATIN CAPITAL LETTER A WITH RING ABOVE -->
<!ENTITY atilde "ã"> <!-- LATIN SMALL LETTER A WITH TILDE -->
<!ENTITY Atilde "Ã"> <!-- LATIN CAPITAL LETTER A WITH TILDE -->
<!ENTITY auml "ä"> <!-- LATIN SMALL LETTER A WITH DIAERESIS -->
<!ENTITY Auml "Ä"> <!-- LATIN CAPITAL LETTER A WITH DIAdERESIS -->
<!ENTITY aelig "æ"> <!-- LATIN SMALL LETTER AE -->
<!ENTITY AElig "Æ"> <!-- LATIN CAPITAL LETTER AE -->
<!ENTITY ccedil "ç"> <!-- LATIN SMALL LETTER C WITH CEDILLA -->
<!ENTITY Ccedil "Ç"> <!-- LATIN CAPITAL LETTER C WITH CEDILLA -->
<!ENTITY eth "ð"> <!-- LATIN SMALL LETTER ETH -->
<!ENTITY ETH "Ð"> <!-- LATIN CAPITAL LETTER ETH -->
<!ENTITY eacute "é"> <!-- LATIN SMALL LETTER E WITH ACUTE -->
<!ENTITY Eacute "É"> <!-- LATIN CAPITAL LETTER E WITH ACUTE -->
<!ENTITY ecirc "ê"> <!-- LATIN SMALL LETTER E WITH CIRCUMFLEX -->
<!ENTITY Ecirc "Ê"> <!-- LATIN CAPITAL LETTER E WITH CIRCUMFLEX -->
<!ENTITY egrave "è"> <!-- LATIN SMALL LETTER E WITH GRAVE -->
<!ENTITY Egrave "È"> <!-- LATIN CAPITAL LETTER E WITH GRAVE -->
<!ENTITY euml "ë"> <!-- LATIN SMALL LETTER E WITH DIAERESIS -->
<!ENTITY Euml "Ë"> <!-- LATIN CAPITAL LETTER E WITH DIAERESIS -->
<!ENTITY iacute "í"> <!-- LATIN SMALL LETTER I WITH ACUTE -->
<!ENTITY Iacute "Í"> <!-- LATIN CAPITAL LETTER I WITH ACUTE -->
<!ENTITY icirc "î"> <!-- LATIN SMALL LETTER I WITH CIRCUMFLEX -->
<!ENTITY Icirc "Î"> <!-- LATIN CAPITAL LETTER I WITH CIRCUMFLEX -->
<!ENTITY igrave "ì"> <!-- LATIN SMALL LETTER I WITH GRAVE -->
<!ENTITY Igrave "Ì"> <!-- LATIN CAPITAL LETTER I WITH GRAVE -->
<!ENTITY iuml "ï"> <!-- LATIN SMALL LETTER I WITH DIAERESIS -->
<!ENTITY Iuml "Ï"> <!-- LATIN CAPITAL LETTER I WITH DIAERESIS -->
<!ENTITY ntilde "ñ"> <!-- LATIN SMALL LETTER N WITH TILDE -->
<!ENTITY Ntilde "Ñ"> <!-- LATIN CAPITAL LETTER N WITH TILDE -->
<!ENTITY oacute "ó"> <!-- LATIN SMALL LETTER O WITH ACUTE -->
<!ENTITY Oacute "Ó"> <!-- LATIN CAPITAL LETTER O WITH ACUTE -->
<!ENTITY ocirc "ô"> <!-- LATIN SMALL LETTER O WITH CIRCUMFLEX -->
<!ENTITY Ocirc "Ô"> <!-- LATIN CAPITAL LETTER O WITH CIRCUMFLEX -->
<!ENTITY ograve "ò"> <!-- LATIN SMALL LETTER O WITH GRAVE -->
<!ENTITY Ograve "Ò"> <!-- LATIN CAPITAL LETTER O WITH GRAVE -->
<!ENTITY oslash "ø"> <!-- CIRCLED DIVISION SLASH -->
<!ENTITY Oslash "Ø"> <!-- LATIN CAPITAL LETTER O WITH STROKE -->
<!ENTITY otilde "õ"> <!-- LATIN SMALL LETTER O WITH TILDE -->
<!ENTITY Otilde "Õ"> <!-- LATIN CAPITAL LETTER O WITH TILDE -->
<!ENTITY ouml "ö"> <!-- LATIN SMALL LETTER O WITH DIAERESIS -->
<!ENTITY Ouml "Ö"> <!-- LATIN CAPITAL LETTER O WITH DIAERESIS -->
<!ENTITY szlig "ß"> <!-- LATIN SMALL LETTER SHARP S -->
<!ENTITY thorn "þ"> <!-- LATIN SMALL LETTER THORN -->
<!ENTITY THORN "Þ"> <!-- LATIN CAPITAL LETTER THORN -->
<!ENTITY uacute "ú"> <!-- LATIN SMALL LETTER U WITH ACUTE -->
<!ENTITY Uacute "Ú"> <!-- LATIN CAPITAL LETTER U WITH ACUTE -->
<!ENTITY ucirc "û"> <!-- LATIN SMALL LETTER U WITH CIRCUMFLEX -->
<!ENTITY Ucirc "Û"> <!-- LATIN CAPITAL LETTER U WITH CIRCUMFLEX -->
<!ENTITY ugrave "ù"> <!-- LATIN SMALL LETTER U WITH GRAVE -->
<!ENTITY Ugrave "Ù"> <!-- LATIN CAPITAL LETTER U WITH GRAVE -->
<!ENTITY uuml "ü"> <!-- LATIN SMALL LETTER U WITH DIAERESIS -->
<!ENTITY Uuml "Ü"> <!-- LATIN CAPITAL LETTER U WITH DIAERESIS -->
<!ENTITY yacute "ý"> <!-- LATIN SMALL LETTER Y WITH ACUTE -->
<!ENTITY Yacute "Ý"> <!-- LATIN CAPITAL LETTER Y WITH ACUTE -->
<!ENTITY yuml "ÿ"> <!-- LATIN SMALL LETTER Y WITH DIAERESIS -->
<!ENTITY lab "<">
<!ENTITY rab ">">
<!ENTITY amp "&">
<!ENTITY dash "-">
<!ENTITY delta "d">
<!ENTITY macron "-">
<!ENTITY mdash "-">
<!ENTITY nbsp "">
<!ENTITY pound "">
<!ENTITY cdb "c">
<!ENTITY ddb "d">
<!ENTITY ldb "l">
<!ENTITY rdb "r">
<!ENTITY udb "u">
<!ENTITY umac "u">
<!ENTITY wacute "w">
<!ENTITY wcirc "w">
<!ENTITY Wcirc "W">
<!ENTITY ycirc "y">
<!ENTITY Ycirc "Y">
<!ENTITY vbar "vbar">
]>
<TEI xmlns="http://www.tei-c.org/ns/1.0">
<teiHeader>
<fileDesc>
<titleStmt>
<title>...
When I try an run a simple xquery like //TEI I'm not get any results. However, if I hack the XML source to remove all entity references, remove the ENTITY declarations and reload the document into bdbxml then the xqueries work. Can anyone offer any insght into why this situation may have arisen and how I might get around it? It seems as if the presence of the ENTITY declarations is somehow effecting the internal index...
all help appreciated,
ALBig thanks to John,
I've been a typical newbie and not really understood everything implied by John's very helpful answer in this thread. Now that I now understand how to reference namespaces correctly, John's previous answer really does hit the mark.
Big thanks
Here is the working code. The important thing to remember for any other newbies is to always preface the query with the namespace - which I was not doing.
declare namespace tei="http://www.tei-c.org/ns/1.0";
doc("source.xml")//tei:body
or
declare namespace tei="http://www.tei-c.org/ns/1.0";
doc("source.xml")//tei:head
etc.
Maybe you are looking for
-
Why split content on a country by country basis?
What I want to know is why Apple went down the road of splitting content on a country by country basis? I know that the good folks at Apple like to think that they "think different" but even they must be shaking their heads at the mess they have crea
-
Consolidating all iPhoto files/images in one place
OK: Excuse me if this is a boring or redundant question, but here it is - I am using the latest version of iPhoto on MBP, and I have some earlier versions on iPhoto on a Quicksilver in several places. I would like to have everything in one place, if
-
Quark 8 and now Illustrator CS5 crashing on Launch
Yesterday my Quark 8 began crashing when opening and now my Adobe CS5 is crashing at launch. I have Lion on my Macbook Pro with 2.66GHz processor and 8GB of memory. Please help if you can. I have never had this stuff happen with my apple until now. I
-
Usb or firewire interface round up
Hi i am asking this questions once more, only this time i am also asking with regards to also combining the possibilities of using Pro Tools software on the same machine. So can anyone round up interfaces and or solutions which allows logic users to
-
Can not send attachments with emails on Me and aol Imap??
I have an aol and MobileMe imap accounts set up with my mac mail, but I can not send any email with attachemnts no matter how small the smallest I have tried is 152Kb. I have been reeding the threads about not being able to send any email, but I can