Xquery does not return any results on 10.2.0.4, does work on 10.2.0.5

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
bgt

This 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.

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

  • 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 regards

    Hi,
    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.

  • This Formula(Function) compiles but does not display any result

    Please can anybody help me resolve this issue.The code below is a code for a formula(function) column in oracle report, i have complied this code and it successfully complied but it does not display any result for the column having a stock balance in the entire report.
    function CF_STOCK_BALFormula return Number is
         v_all_positive NUMBER;
         v_all_negative NUMBER;
    begin
         IF :transaction_type IN ('RECEIPT', 'RETURN') THEN
              IF :cp_stock_bal IS NULL OR :cp_stock_bal = 0 THEN
                   :cp_stock_bal := :opening_balance + :cp_stock_bal + :quantity;
              ELSE
                   :cp_stock_bal := :cp_stock_bal + :quantity;
              END IF;
         ELSIF :transaction_type IN ('ISSUE') THEN
              IF :cp_stock_bal IS NULL OR :cp_stock_bal = 0 THEN
                   :cp_stock_bal := :opening_balance + :cp_stock_bal - :quantity;
              ELSE
                   :cp_stock_bal := :cp_stock_bal - :quantity;
              END IF;
         END IF;
    RETURN (:cp_stock_bal);
    end;
    Edited by: Gbenga on Jan 17, 2012 11:30 PM

    Please can anybody help me resolve this issue.The code below is a code for a formula(function) column in oracle report, i have complied this code and it successfully complied but it does not display any result for the column having a stock balance in the entire report.
    function CF_STOCK_BALFormula return Number is
         v_all_positive NUMBER;
         v_all_negative NUMBER;
    begin
         IF :transaction_type IN ('RECEIPT', 'RETURN') THEN
              IF :cp_stock_bal IS NULL OR :cp_stock_bal = 0 THEN
                   :cp_stock_bal := :opening_balance + :cp_stock_bal + :quantity;
              ELSE
                   :cp_stock_bal := :cp_stock_bal + :quantity;
              END IF;
         ELSIF :transaction_type IN ('ISSUE') THEN
              IF :cp_stock_bal IS NULL OR :cp_stock_bal = 0 THEN
                   :cp_stock_bal := :opening_balance + :cp_stock_bal - :quantity;
              ELSE
                   :cp_stock_bal := :cp_stock_bal - :quantity;
              END IF;
         END IF;
    RETURN (:cp_stock_bal);
    end;
    Edited by: Gbenga on Jan 17, 2012 11:30 PM

  • 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

  • Very Very Urgent Issue: Restricted Key Figure does not return any data

    Hi all,
    Please help me solving this urgent issue.
    created customer exit variable on characterstics version and also
    other customer exit variable on Value type.
    I coded that in variable exit. Problem is when I include these in
    restrickted keyfigure My query does not return me any data.
    But if I remove from restrickted key firgure and put it as normal
    charaterstics I see the variable is getting populated.
    Also in RSRT the SQl generated when these are included in RKF is not
    correct.
    I debugged and know they are getting populated. As when included in RKF
    I can also see the values of customer exit variables from information
    tab.
    I also know that there is data in cube for those restrictions.
    I posted one OSS Notes regarding this urgent issue. But got no reply from SAP.
    FYI: We are using BEx 3.5 Browser SAP GUI 6.4 Patch 20 BW Patch 11
    Thanks
    SAP BW
    **Please do not post the same question twice: Very Urgent Issue: Restricted Key Figure does not return any data

    Hi,
    Everyone out there this is very urgent. If someone can help me solving this problem.
    We are using BEx 3.5 Browser SAP GUI 6.4 Patch 20 BW Patch 11.
    I posted one oss notes also regarding this issue. But got no reply from SAP.
    So, Please help me solving this issue.
    Thanks
    SAP BW

  • 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  /

  • 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

  • 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

  • How to Create a record if vo.executequery does not return any rows

    I would like to update a single record on adf form. However if the record does not exist would like to create a row and save it in the table.
    The user does not want to add a "create" button on the screen. Hence would need to add the create code if vo.execute does not return any rows...
    How to add this and where to add?

    you can have a TF router for for exists and does not exist and based on that execute transient VO and other VO.
    Add a method call activity like below to create a row in transient VO
    public Row createRow()
    ViewObjectImpl tVO = (ViewObjectImpl)getTVO();
    tVO.executeEmptyRowSet();
    Row newRow = tVO.createRow();
    tVO.setCurrentRow(newRow);
    tVO.insertRow(newRow);
    return newRow;
    }

  • Disk Utility does not show any result....

    Dear Apple Community,
    on my mid 2012 Mac Book Air the disk utility test does not show any result. The test just stops at some point and can be restarted again, but does not show weather the SSD is damaged or not.
    Does anyone know what this means?
    Thanks a lot for your advice!

    I think this happens to everyone (who uses "Live Verification") in Mavericks.   Occasionally the output from the test shows correctly, but usually not.  I guess this will get fixed someday. 
    Apple - Mac OS X - Feedback
    For now, probably you will get best results from using command-r at startup to get into "recovery mode", then run disk utility from there.
    charlie

  • Comcast just replaced my cable modem/wireless router.  All devices connect properly except my iPhone 4.  It shows itself to be connected to the network, but it does not load any web page.  Resetting the iPhone does not solve the problem.  Any suggestions?

    Comcast just replaced my cable modem/wireless router.  All devices connect properly except my iPhone 4.  It shows itself to be connected to the network, but it does not load any web page.  Resetting the iPhone does not solve the problem.  Any suggestions?

    Thank you for your response.
    I had rebooted the router (several times, actually), to no avail.
    I do not know the answer to whether MAC filtering is enabled on the router.  Have tried to find info about that, but unsuccessfully.  Router is an Arris TG852G, supplied by Comcast.  I would be surprised if MAC filtering were the issue, since in addition to the computer, we have successfully connected several other devices to the wifi, namely an iPad, a Android phone and a Kindle Fire - all able to access internet pages through the wifi, and all without a need to add the device to a MAC address whitelist.  To add to the mystery, the Comcast tech was able to connect his iPhone 4 to my network and access web pages.  He was unable to connect my iPhone, however, after trying for some time.
    I seem to recall reading somewhere that an iPhone cannot connect to a wireless "n" router, only "b" or "g".  The Arris router is described as a n/g/b compliant router, and as noted the Comcast tech was able to connect his iPhone, so don't know why that would be the issue here.
    By the way, my iPhone does connect wirelessly to my network at home.  This difficulty is at a second home.
    Any other thoughts would be appreciated.

  • I am now able to receive emails in MAIL, but Yosemite's Mail program does not recognize any of the server's connections that have worked for years!  What do I do next?

    Yesterday, I was unable to receive emails from Google but was able to receive them from another server - but then receiving them began to work again - but now I am unable to send any mail - Yosemite's Mail program does not recognize any of the server's connections that have worked for years, !  What do I do next?

    Mail troubleshooting - Yosemite
    What does Mail/Window/Connection Doctor Show? If the server is red, select it and look at the Show Details box.
    Troubleshooting sending and receiving email messages
    Troubleshooting sending email messages

  • 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     "&#x00E1;"> <!-- LATIN SMALL LETTER A WITH ACUTE -->
    <!ENTITY Aacute     "&#x00C1;"> <!-- LATIN CAPITAL LETTER A WITH ACUTE -->
    <!ENTITY acirc     "&#x00E2;"> <!-- LATIN SMALL LETTER A WITH CIRCUMFLEX -->
    <!ENTITY Acirc     "&#x00C2;"> <!-- LATIN CAPITAL LETTER A WITH CIRCUMFLEX -->
    <!ENTITY agrave     "&#x00E0;"> <!-- LATIN SMALL LETTER A WITH GRAVE -->
    <!ENTITY Agrave     "&#x00C0;"> <!-- LATIN CAPITAL LETTER A WITH GRAVE -->
    <!ENTITY aring     "&#x00E5;"> <!-- LATIN SMALL LETTER A WITH RING ABOVE -->
    <!ENTITY Aring     "&#x00C5;"> <!-- LATIN CAPITAL LETTER A WITH RING ABOVE -->
    <!ENTITY atilde     "&#x00E3;"> <!-- LATIN SMALL LETTER A WITH TILDE -->
    <!ENTITY Atilde     "&#x00C3;"> <!-- LATIN CAPITAL LETTER A WITH TILDE -->
    <!ENTITY auml     "&#x00E4;"> <!-- LATIN SMALL LETTER A WITH DIAERESIS -->
    <!ENTITY Auml     "&#x00C4;"> <!-- LATIN CAPITAL LETTER A WITH DIAdERESIS -->
    <!ENTITY aelig     "&#x00E6;"> <!-- LATIN SMALL LETTER AE -->
    <!ENTITY AElig     "&#x00C6;"> <!-- LATIN CAPITAL LETTER AE -->
    <!ENTITY ccedil     "&#x00E7;"> <!-- LATIN SMALL LETTER C WITH CEDILLA -->
    <!ENTITY Ccedil     "&#x00C7;"> <!-- LATIN CAPITAL LETTER C WITH CEDILLA -->
    <!ENTITY eth     "&#x00F0;"> <!-- LATIN SMALL LETTER ETH -->
    <!ENTITY ETH     "&#x00D0;"> <!-- LATIN CAPITAL LETTER ETH -->
    <!ENTITY eacute     "&#x00E9;"> <!-- LATIN SMALL LETTER E WITH ACUTE -->
    <!ENTITY Eacute     "&#x00C9;"> <!-- LATIN CAPITAL LETTER E WITH ACUTE -->
    <!ENTITY ecirc     "&#x00EA;"> <!-- LATIN SMALL LETTER E WITH CIRCUMFLEX -->
    <!ENTITY Ecirc     "&#x00CA;"> <!-- LATIN CAPITAL LETTER E WITH CIRCUMFLEX -->
    <!ENTITY egrave     "&#x00E8;"> <!-- LATIN SMALL LETTER E WITH GRAVE -->
    <!ENTITY Egrave     "&#x00C8;"> <!-- LATIN CAPITAL LETTER E WITH GRAVE -->
    <!ENTITY euml     "&#x00EB;"> <!-- LATIN SMALL LETTER E WITH DIAERESIS -->
    <!ENTITY Euml     "&#x00CB;"> <!-- LATIN CAPITAL LETTER E WITH DIAERESIS -->
    <!ENTITY iacute     "&#x00ED;"> <!-- LATIN SMALL LETTER I WITH ACUTE -->
    <!ENTITY Iacute     "&#x00CD;"> <!-- LATIN CAPITAL LETTER I WITH ACUTE -->
    <!ENTITY icirc     "&#x00EE;"> <!-- LATIN SMALL LETTER I WITH CIRCUMFLEX -->
    <!ENTITY Icirc     "&#x00CE;"> <!-- LATIN CAPITAL LETTER I WITH CIRCUMFLEX -->
    <!ENTITY igrave     "&#x00EC;"> <!-- LATIN SMALL LETTER I WITH GRAVE -->
    <!ENTITY Igrave     "&#x00CC;"> <!-- LATIN CAPITAL LETTER I WITH GRAVE -->
    <!ENTITY iuml     "&#x00EF;"> <!-- LATIN SMALL LETTER I WITH DIAERESIS -->
    <!ENTITY Iuml     "&#x00CF;"> <!-- LATIN CAPITAL LETTER I WITH DIAERESIS -->
    <!ENTITY ntilde     "&#x00F1;"> <!-- LATIN SMALL LETTER N WITH TILDE -->
    <!ENTITY Ntilde     "&#x00D1;"> <!-- LATIN CAPITAL LETTER N WITH TILDE -->
    <!ENTITY oacute     "&#x00F3;"> <!-- LATIN SMALL LETTER O WITH ACUTE -->
    <!ENTITY Oacute     "&#x00D3;"> <!-- LATIN CAPITAL LETTER O WITH ACUTE -->
    <!ENTITY ocirc     "&#x00F4;"> <!-- LATIN SMALL LETTER O WITH CIRCUMFLEX -->
    <!ENTITY Ocirc     "&#x00D4;"> <!-- LATIN CAPITAL LETTER O WITH CIRCUMFLEX -->
    <!ENTITY ograve     "&#x00F2;"> <!-- LATIN SMALL LETTER O WITH GRAVE -->
    <!ENTITY Ograve     "&#x00D2;"> <!-- LATIN CAPITAL LETTER O WITH GRAVE -->
    <!ENTITY oslash     "&#x00F8;"> <!-- CIRCLED DIVISION SLASH -->
    <!ENTITY Oslash     "&#x00D8;"> <!-- LATIN CAPITAL LETTER O WITH STROKE -->
    <!ENTITY otilde     "&#x00F5;"> <!-- LATIN SMALL LETTER O WITH TILDE -->
    <!ENTITY Otilde     "&#x00D5;"> <!-- LATIN CAPITAL LETTER O WITH TILDE -->
    <!ENTITY ouml     "&#x00F6;"> <!-- LATIN SMALL LETTER O WITH DIAERESIS -->
    <!ENTITY Ouml     "&#x00D6;"> <!-- LATIN CAPITAL LETTER O WITH DIAERESIS -->
    <!ENTITY szlig     "&#x00DF;"> <!-- LATIN SMALL LETTER SHARP S -->
    <!ENTITY thorn     "&#x00FE;"> <!-- LATIN SMALL LETTER THORN -->
    <!ENTITY THORN     "&#x00DE;"> <!-- LATIN CAPITAL LETTER THORN -->
    <!ENTITY uacute     "&#x00FA;"> <!-- LATIN SMALL LETTER U WITH ACUTE -->
    <!ENTITY Uacute     "&#x00DA;"> <!-- LATIN CAPITAL LETTER U WITH ACUTE -->
    <!ENTITY ucirc     "&#x00FB;"> <!-- LATIN SMALL LETTER U WITH CIRCUMFLEX -->
    <!ENTITY Ucirc     "&#x00DB;"> <!-- LATIN CAPITAL LETTER U WITH CIRCUMFLEX -->
    <!ENTITY ugrave     "&#x00F9;"> <!-- LATIN SMALL LETTER U WITH GRAVE -->
    <!ENTITY Ugrave     "&#x00D9;"> <!-- LATIN CAPITAL LETTER U WITH GRAVE -->
    <!ENTITY uuml     "&#x00FC;"> <!-- LATIN SMALL LETTER U WITH DIAERESIS -->
    <!ENTITY Uuml     "&#x00DC;"> <!-- LATIN CAPITAL LETTER U WITH DIAERESIS -->
    <!ENTITY yacute     "&#x00FD;"> <!-- LATIN SMALL LETTER Y WITH ACUTE -->
    <!ENTITY Yacute     "&#x00DD;"> <!-- LATIN CAPITAL LETTER Y WITH ACUTE -->
    <!ENTITY yuml     "&#x00FF;"> <!-- LATIN SMALL LETTER Y WITH DIAERESIS -->
    <!ENTITY lab "<">
    <!ENTITY rab ">">
    <!ENTITY amp "&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,
    AL

    Big 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.

  • 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/

Maybe you are looking for

  • Help with link styles (Was: Help! Dreamweaver CS6)

    Hi! I try to apply the function « visited link » on a email address but it dont works. 1. In the text I select the email address. 2. Go to › Page properties › Choose Links CSS 3. From there, I appy to my email address different  colors for each kind

  • Email check on User Master

    I want to make the email field (SZA5_D0700-SMTP_ADDR) on SU01 mandatory. Is there a way? any BAdi or User-Exit which i can use to make this check ? Thanks A.

  • Where is the documentation (PDF)

    It would be very useful to have some documentation other than a README.

  • Using images files without javax.swing

    I am developing an applet the user can designate a background image instead of a color. This applet must not use the javax package. What class would you all recommend for creating the background image. I can't use IconImage because it is part of the

  • Need to change the name of a GP process instance at runtime.

    Is there a way to change the name of a GP process instance at runtime?  I would like to change the name of the process instance to include the employee's name who initiated the process.  This way when the process owner or overseer displays thier list