Picking returns false results when aspect ratio is different from 1:1

Hi,
When using picking with perspective projection when the aspect ratio is different from 1:1 I get false results.
Any idea how to fix it ?
Thanks
Ophir
Following is the related code:
// For the perspective projection
Transform3D prespective = new Transform3D();
prespective.perspective(hFov, Math.tan(hFov/2)/Math.tan(vFov/2), 1f, 30f);
view.setProjectionPolicy(View.PERSPECTIVE_PROJECTION);
view.setLeftProjection(prespective);
// Picking code
Point3d eye_pos = new Point3d();
Point3d mouse_pos = new Point3d();
canvas.getCenterEyeInImagePlate(eye_pos);
canvas.getPixelLocationInImagePlate(x, y, mouse_pos);
Transform3D motion = new Transform3D();
canvas.getImagePlateToVworld(motion);
motion.transform(eye_pos);
motion.transform(mouse_pos);
Vector3d direction = new Vector3d(mouse_pos);
direction.sub(eye_pos);
PickRay ray = new PickRay(eye_pos, direction);

I tried to download the FireFox setup from both locations you mentioned. I could not reproduce your problem. Always the same file with the same MD5 hash:
C:\tmp>md5sum "Firefox Setup 18.0.2.exe
181ac7211db54e793845e8c7216c1a8b *Firefox Setup 18.0.2.exe
Is it still reproducible from your location? Where are you located?

Similar Messages

  • SELECT returns no result when there is a default namespace definition inXML

    Hi,
    I have a problem that my select doesn't return any result when there is a default namespace definition in my XML file.
    I'm using oracle 11g release 1
    XML file stored as a binary XML:
    <SIMS xmlns="http://sims.ics.muni.cz" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://sims.ics.muni.cz jh_sims_matricni_vystupy_or.xsd">
    <Vystup Datum="2006-07-18" Typ="2" Nazev="Poslední etapy" PocetStudentu="1" PocetStudii="2">
    <Student RodneCislo="8001011001">
    <Jmeno>Petr</Jmeno>
    </Student>
    </Vystup>
    </SIMS>
    This select return no result:
    SELECT student.jmeno FROM jh_sims_bin_no_schema s, XMLTable('/SIMS/Vystup/Student' PASSING s.OBJECT_VALUE COLUMNS jmeno VARCHAR2(10) PATH 'Jmeno') student
    When I remove default namespace definition (xmlns="http://sims.ics.muni.cz") everything works fine and the same SELECT returns "Petr". Also when the file is stored in object relational storage everything works fine!
    <SIMS xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://sims.ics.muni.cz jh_sims_matricni_vystupy_or.xsd">
    <Vystup Datum="2006-07-18" Typ="2" Nazev="Poslední etapy" PocetStudentu="1" PocetStudii="2">
    <Student RodneCislo="8001011001">
    <Jmeno>Petr</Jmeno>
    </Student>
    </Vystup>
    </SIMS>
    Thanks for any help!
    Jan Hruby

    Hi Jan,
    You need to specify the default namespace of the document in the XMLNamespaces clause :
    SELECT student.jmeno
    FROM jh_sims_bin_no_schema s,
         XMLTable(
          XMLNamespaces(default 'http://sims.ics.muni.cz'),
          '/SIMS/Vystup/Student'
          PASSING s.OBJECT_VALUE
          COLUMNS jmeno VARCHAR2(10) PATH 'Jmeno'
         ) student
    ;

  • 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

  • File.exists() returns false even when the file exists

    hi,
    the exists() function of java.io.File function returns false even when the file exists on the file system. why is this? i checked the path of the file which gives me the correct path, but exists returns false. can anyone help?

    post some of the code you�re using - then maybe I can help you out
    //Anders

  • Are pixels when aspect ratioed out (1.5 or 16;9) square or rectanglar?

    are pixels when aspect ratioed out e.g. (1.5 or 16;9) square or rectanglar?
    is the image resized or is it stretched?

    DVCPRO HD is 1280x1080 for NTSC formats. I believe 23.976p is recorded as 59.94i.
    I don't remember if Final Cut ships with any built-in SQ easy setups. But you can create one trivially enough, or maybe look in the Additional Easy Setups folder if you're married to using a pre-made one.

  • Export to Quicktime Movie Results in Aspect Ratio Distortion

    All of my original footage was shot in miniDV. I have created a sequence with the following settings:
    Frame size: 720 x 480
    Compressor: DV/DVCPRO - NTSC
    Pixel Aspect: NTSC - CCIR 601
    Vid rate: 29.97 fps
    Ultimately the sequence needs to go to DVD with a standard 4:3 aspect ratio. To export, I am using:
    File > Export > QuickTime Movie...
    I have tried using several different settings including:
    Apple Pro Res 422 NTSC 48 kHz
    Apple Pro Res 422 NTSC (HQ) 48 kHz
    Apple Pro Res 960x720 30p 48 kHz
    DV NTSC 48 kHz
    etc...
    All settings yield the same result: a slightly squeezed aspect ratio. At first, I thought that this might simply be the fact that I was playing back files in QuickTime which uses square pixels I believe. But in both DVD Studio Pro and iDVD, the simulation shows the same effect. (By the way, Finder's "Get Info" reads the resulting Final Cut Pro Movie File dimensions 720x486.)
    I'm fairly new to FCP so I'm hoping there is something obvious that I have missed. Can anyone explain what I need to do to get the video to DVD without a distorted aspect ratio?
    (Incidentally, I have managed to export using quicktime conversion with no problem. But I need the export to be a Final Cut Pro Movie File so as to maintain chapter markers, etc.)
    Advice welcome!!!

    Hi David, I know this was discussed in you posting already but I just wanted to make sure I had it clear. I have a 4:3 film and I've exported as a quicktime movie with current settings, which should be 4:3 and found that the image when played back in quicktime, looks horizontally stretched. Almost as if quicktime is trying to play it back as a 16:9 image. I think this is the same issue the other fellow was having but I just wanted to be clear. You're saying that the 4:3 image distortion is perfectly normal when played back in quicktime on a computer screen and that the export will look fine when put to DVD or sent to a monitor? I just wanted to make sure because this problem is freaking me out and I don't want to deliver a distorted image to my client. Could you also explain briefly why this happens with quicktime export and not quicktime conversion and what causes quicktime to distort the 4:3 image? Any advice or help would be greatly appreciated.
    Cheers,
    james.

  • OM-D: how to view entire 4:3 RAW file when aspect ratio set in-camera to 3:2?

    When shooting RAW, the OM-D records 4:3 files no matter what the aspect ratio is set to.  If you set it to 3:2 (for example), the camera records some sort of metadata to communicate this information to Lightroom, which honors the setting.  So far, so good.
    My question is, is there any way to override that setting? I have a photo shot at 3:2, but I can see from the in-camera preview that it'd be a better shot with the whole thing. But I can't figure out how to get LR 4.1rc2 to show me the whole thing!
    Thanks,
    Ben

    Unfortunately, there is no way in LR directly. You may be able to restore the settings directly in the raw file using exiftool (tags "aspectratio" and "aspectframe", there are instructions in some forums I think), but it is generally not advisable to manipulate original raws that way (at least, a backup should be made).
    See also:
    http://feedback.photoshop.com/photoshop_family/topics/lightroom_4_1_rc_trouble_with_canon_ 5d_mark_iii_aspect_ratio
    http://feedback.photoshop.com/photoshop_family/topics/importing_orf_files_does_not_import_ all_image_area

  • Aspect Ratio HDV clip from FCP to After Effects

    Can someone help me with exporting from FCP an HDV clip to After Effects? What I am doing is trying to export an HDV clip from FCP to AE but when I import it into AE the aspect ratio is all off. I have an HDV 1080i50 easy setup timeline and I am exporting from that as a quicktime movie (not conversion) with the current settings. When I bring that into AE I have a HDV comp set up and I drop the FCP movie into that comp. My FCP movie is 1920 X 1080 and is bigger thant the AE HDV Comp. Why? Shouldn't the sizes be the same since they are HDV? Please help
    Tim

    HDV is 1440 x 1080 native so if you have output from FCP that is 1920 x 1080 it is being misinterpreted by AFX.
    Try creating a new comp in AFX using the HDV easy setup but set the frame size to 1920 x 1080 manually and see what that does.

  • How to keep aspect ratio for different sized resolutions?

    If I have a 1280 x 800 resolution widescreen moniter, and I have this fullscreen game that likes to run in 800 x 600 but I don't like the way that the game stretches across the whole widescreen moniter. The only way for me to keep everything in a good aspect ratio is to put my resolution at 1280 x 800 but the game doesn't like that.
    Would there be a way to set it so that the 800 x 600 resolution is set to have the correct aspect ratio rather than being stretched across the widescreen?  ie, so it looks like a square with black spots on both sides.
    I heard that a modeline generator would be the thing I want, but I'm not sure how I should go about this stuff. If you have any reading on it, please give it to me.

    Thank you very much. I never thought to look in the BIOS.
    There wasn't an option to keep aspect ratio and stretch but I was able to center it rather than stretching.
    Now my framebuffer boot up got centered, I need to find out how to make the framebuffer bootup be 1280x800 rather than 1024x768. This should be simple, but the guide in the sample menu.lst only gives square-y resolutions.

  • Message when Invoice vendor is different from PO vendor

    Hi,
    Last week, in MIRO, when i would like to change the vendor (taken from the
    order), a system message appears to let me know that this vendor was
    different from the PO vendor.
    But it was just a warning message and i changed it to an Error message.
    (OMRM transaction with message M8 286)
    This modication worked last week.
    But now, my problem is that i don't any messages when i'm doing the same
    operation (vendor change in MIRO).
    Can you help me to make this message appears back? Where does this
    customizing point located in SPRO ?
    Thanks a lot.

    Hi,
    But that IS the transaction in SPRO to control the message.
    If the correct message number has been used and if the userid is blank and if you have set an "E" in the "ONLINE" column then the message WILL be an error message.
    Are you sure that the correct message number has been set up in this with an E in the online column?
    Please don't take this the wrong way, but you ARE checking the config in the same client / box as you are doing the MIRO? Don/t assume this will be the same setting in all clients.
    Steve B

  • Directory search returns wrong results when you modify the view

    Hello,
    I have a custom list used a staff directory.  This is SharePoint 2013.  I am using a search box where users can type in names to find people. 
    When I add or remove a record in the list or modify the view and then I search for my name, all search results appear.  It once just returned 1 record for my name, but now it returns all 100 records in the list.
    How can I fix this?
    Thanks,
    Paul
    Paul

    Hi Paul,
    Did you search in the SharePoint list or in SharePoint search center?
    Could you provide more details about how you created the custom list?
    Please try to enable Server Render as editing the page->Edit Web Part-> Miscellaneous, compare the result.
    Please operate in other lists and in other site collections and test whether this issue occurs.
    Please start a full crawl in Central Administration -> Manage service application -> Search service application -> Content Sources and test whether this issue occurs.
    Could you check if it exists error in ULS log after you failed to search in the SharePoint list.
    Best Regards,
    Dean Wang
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Report obsolete returns diff results when backups are UNAVAIL vs AVAIL

    Hello from Nova Scotia, Canada:
    I'm wondering if someone out there who lives and breaths rman (10gR2) for a living can shed some light...
    We are finding that report obsolete (as well as delete obsolete) are returning different results depending on if our backups
    are AVAILABLE or UNAVAILABLE.
    In our shop, our backups are changed to UNAVAILABLE because they get moved to a different location later, but delete
    obsolete doesn't seem to work as expected unless the backups are AVAILABLE.
    I am pasting some output below to demonstrate my point. Basically, in the output you are about to see, I'm showing you
    my retention policy and I'm listing the backups that I have (and you can see their status is "A" for available). Then I do a
    'report obsolete' command to show you what is considered obsolete (3 files are - which is what I expected). Then I change
    all my backups to unavailable. Then I list all my backups again and show you that their status has changed to "U" for unavailable.
    Then I do 'report obsolete' again and as you can see, I get different results! Can someone explain this to me?? I have RTFManuals
    and no where does it say that availability is a factor that can impact determining what is obsolete. You also see in the output
    below what version we're using (10.2.0.4.0) and that we are using a recovery catalog.
    If someone would like to see additional information, feel free to ask, I'm more than happy to help you help me.
    I should also mention this is a 2 node rac on linux.
    Many Thanks.
    ========================================================
    $ rman target / catalog rrc/rg@RRC
    Recovery Manager: Release 10.2.0.4.0 - Production on Tue May 11 22:06:21 2010
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    connected to target database: IPCSD (DBID=1703825384)
    connected to recovery catalog database
    RMAN> show retention policy;
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 1 DAYS;
    RMAN> list backup summary;
    List of Backups
    ===============
    Key     TY LV S Device Type Completion Time     #Pieces #Copies Compressed Tag
    64093   B  F  A DISK        05/10/2010 03:06:52 2       1       NO         HOTBKUP201005100300_DB
    64122   B  A  A DISK        05/10/2010 03:08:41 1       1       NO         HOTBKUP201005100300_ARCHLOGS
    64361   B  F  A DISK        05/10/2010 21:56:33 2       1       NO         HOTBKUP201005102149_DB
    64362   B  F  A DISK        05/10/2010 21:56:37 1       1       NO         HOTBKUP201005102149_DB
    64390   B  A  A DISK        05/10/2010 21:58:02 1       1       NO         HOTBKUP201005102149_ARCHLOGS
    64508   B  F  A DISK        05/11/2010 03:07:01 2       1       NO         HOTBKUP201005110300_DB
    64509   B  F  A DISK        05/11/2010 03:07:10 1       1       NO         HOTBKUP201005110300_DB
    64544   B  A  A DISK        05/11/2010 03:07:47 1       1       NO         HOTBKUP201005110300_ARCHLOGS
    RMAN> report obsolete;
    RMAN retention policy will be applied to the command
    RMAN retention policy is set to recovery window of 1 days
    Report of obsolete backups and copies
    Type                 Key    Completion Time    Filename/Handle
    Backup Set           64093  05/10/2010 03:06:51
      Backup Piece       64097  05/10/2010 03:06:51 /oracle_admin/rman_backups/201005100300/RMAN_HOTBKUP_IPCSD_201005100300_BS_1349_PC_2_CP_1_DB
    Backup Set           64093  05/10/2010 03:04:01
      Backup Piece       64096  05/10/2010 03:04:01 /oracle_admin/rman_backups/201005100300/RMAN_HOTBKUP_IPCSD_201005100300_BS_1349_PC_1_CP_1_DB
    Backup Set           64122  05/10/2010 03:08:41
      Backup Piece       64125  05/10/2010 03:08:41 /oracle_admin/rman_backups/201005100300/RMAN_HOTBKUP_IPCSD_201005100300_BS_1351_PC_1_CP_1_ARCHLOGS
    RMAN> change backup unavailable;
    changed backup piece unavailable
    backup piece handle=/oracle_admin/rman_backups/201005100300/RMAN_HOTBKUP_IPCSD_201005100300_BS_1349_PC_1_CP_1_DB recid=1533 stamp=718599624
    changed backup piece unavailable
    backup piece handle=/oracle_admin/rman_backups/201005100300/RMAN_HOTBKUP_IPCSD_201005100300_BS_1349_PC_2_CP_1_DB recid=1534 stamp=718599846
    changed backup piece unavailable
    backup piece handle=/oracle_admin/rman_backups/201005100300/RMAN_HOTBKUP_IPCSD_201005100300_BS_1351_PC_1_CP_1_ARCHLOGS recid=1536 stamp=718600043
    changed backup piece unavailable
    backup piece handle=/oracle_admin/rman_backups/201005102149/RMAN_HOTBKUP_IPCSD_201005102149_BS_1354_PC_1_CP_1_DB recid=1539 stamp=718667376
    changed backup piece unavailable
    backup piece handle=/oracle_admin/rman_backups/201005102149/RMAN_HOTBKUP_IPCSD_201005102149_BS_1354_PC_2_CP_1_DB recid=1540 stamp=718667600
    changed backup piece unavailable
    backup piece handle=/oracle_admin/rman_backups/201005102149/RMAN_HOTBKUP_IPCSD_201005102149_BS_1355_PC_1_CP_1_DB recid=1541 stamp=718667797
    changed backup piece unavailable
    backup piece handle=/oracle_admin/rman_backups/201005102149/RMAN_HOTBKUP_IPCSD_201005102149_BS_1356_PC_1_CP_1_ARCHLOGS recid=1542 stamp=718667821
    changed backup piece unavailable
    backup piece handle=/oracle_admin/rman_backups/201005110300/RMAN_HOTBKUP_IPCSD_201005110300_BS_1357_PC_1_CP_1_DB recid=1543 stamp=718686020
    changed backup piece unavailable
    backup piece handle=/oracle_admin/rman_backups/201005110300/RMAN_HOTBKUP_IPCSD_201005110300_BS_1357_PC_2_CP_1_DB recid=1544 stamp=718686253
    changed backup piece unavailable
    backup piece handle=/oracle_admin/rman_backups/201005110300/RMAN_HOTBKUP_IPCSD_201005110300_BS_1358_PC_1_CP_1_DB recid=1545 stamp=718686430
    changed backup piece unavailable
    backup piece handle=/oracle_admin/rman_backups/201005110300/RMAN_HOTBKUP_IPCSD_201005110300_BS_1359_PC_1_CP_1_ARCHLOGS recid=1546 stamp=718686452
    Changed 11 objects to UNAVAILABLE status
    RMAN> list backup summary;
    List of Backups
    ===============
    Key     TY LV S Device Type Completion Time     #Pieces #Copies Compressed Tag
    64093   B  F  U DISK        05/10/2010 03:06:52 2       1       NO         HOTBKUP201005100300_DB
    64122   B  A  U DISK        05/10/2010 03:08:41 1       1       NO         HOTBKUP201005100300_ARCHLOGS
    64361   B  F  U DISK        05/10/2010 21:56:33 2       1       NO         HOTBKUP201005102149_DB
    64362   B  F  U DISK        05/10/2010 21:56:37 1       1       NO         HOTBKUP201005102149_DB
    64390   B  A  U DISK        05/10/2010 21:58:02 1       1       NO         HOTBKUP201005102149_ARCHLOGS
    64508   B  F  U DISK        05/11/2010 03:07:01 2       1       NO         HOTBKUP201005110300_DB
    64509   B  F  U DISK        05/11/2010 03:07:10 1       1       NO         HOTBKUP201005110300_DB
    64544   B  A  U DISK        05/11/2010 03:07:47 1       1       NO         HOTBKUP201005110300_ARCHLOGS
    RMAN> report obsolete;
    RMAN retention policy will be applied to the command
    RMAN retention policy is set to recovery window of 1 days
    Report of obsolete backups and copies
    Type                 Key    Completion Time    Filename/Handle
    Backup Set           64362  05/10/2010 21:56:37
      Backup Piece       64366  05/10/2010 21:56:37 /oracle_admin/rman_backups/201005102149/RMAN_HOTBKUP_IPCSD_201005102149_BS_1355_PC_1_CP_1_DB
    RMAN>I just want to point out that the one obsolete file just contains a Control File and a SPFILE, as shown below:
    BS Key  Type LV Size       Device Type Elapsed Time Completion Time
    64362   Full    17.64M     DISK        00:00:02     05/10/2010 21:56:37
            BP Key: 64366   Status: UNAVAILABLE  Compressed: NO  Tag: HOTBKUP201005102149_DB
            Piece Name: /oracle_admin/rman_backups/201005102149/RMAN_HOTBKUP_IPCSD_201005102149_BS_1355_PC_1_CP_1_DB
      Control File Included: Ckp SCN: 15213106404   Ckp time: 05/10/2010 21:56:35
      SPFILE Included: Modification time: 05/09/2010 18:00:42---------------
    **** END *****
    Edited by: user478914 on May 12, 2010 3:03 AM
    Edited by: user478914 on May 12, 2010 3:24 AM

    Thanks for reading my post. Here is the result of doing the crosscheck command.
    Problem still exists. Someone correct me if I'm wrong but I believe crosscheck does
    nothing because all my backups are listed as unavailable, so there is nothing for it to do.
    Any other thoughts or suggestions?
    This problem is driving me bonkers. I have read the Backup and Recovery Basic Guide and Advanced Guide,
    googled the web, searched OTN, searched Metalink and I can't find anything on the topic of backup
    piece availability affecting obsolescence. Many thanks.
    RMAN> list backup summary;
    List of Backups
    ===============
    Key     TY LV S Device Type Completion Time     #Pieces #Copies Compressed Tag
    64361   B  F  U DISK        05/10/2010 21:56:33 2       1       NO         HOTBKUP201005102149_DB
    64362   B  F  U DISK        05/10/2010 21:56:37 1       1       NO         HOTBKUP201005102149_DB
    64390   B  A  U DISK        05/10/2010 21:58:02 1       1       NO         HOTBKUP201005102149_ARCHLOGS
    64508   B  F  U DISK        05/11/2010 03:07:01 2       1       NO         HOTBKUP201005110300_DB
    64509   B  F  U DISK        05/11/2010 03:07:10 1       1       NO         HOTBKUP201005110300_DB
    64544   B  A  U DISK        05/11/2010 03:07:47 1       1       NO         HOTBKUP201005110300_ARCHLOGS
    64761   B  F  U DISK        05/12/2010 03:06:23 2       1       NO         HOTBKUP201005120300_DB
    64762   B  F  U DISK        05/12/2010 03:06:30 1       1       NO         HOTBKUP201005120300_DB
    64792   B  A  U DISK        05/12/2010 03:08:13 1       1       NO         HOTBKUP201005120300_ARCHLOGS
    RMAN> crosscheck backup;
    using channel ORA_DISK_1
    RMAN> report obsolete recovery window of 1 days;
    Report of obsolete backups and copies
    Type                 Key    Completion Time    Filename/Handle
    Backup Set           64362  05/10/2010 21:56:37
      Backup Piece       64366  05/10/2010 21:56:37 /oracle_admin/rman_backups/201005102149/RMAN_HOTBKUP_IPCSD_201005102149_BS_1355_PC_1_CP_1_DB
    Backup Set           64509  05/11/2010 03:07:10
      Backup Piece       64520  05/11/2010 03:07:10 /oracle_admin/rman_backups/201005110300/RMAN_HOTBKUP_IPCSD_201005110300_BS_1358_PC_1_CP_1_DB
    RMAN>

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

  • WebHelp Search returning no results when publishing to SharePoint

    I have an issue I need help with. When I publish my project to Sharepoint, I've tried AIRHelp and WebHelp, and I try to do a search within the help, it ALWAYS says no results are found. Has anyone seen this happen before? Thanks!

    Hi there
    Sorry, no magick bullet or incantation to offer here other than to say you should probably report it as a bug to Adobe.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Set.contains returns false even when the set contains the element

    As per java documentation, set.contains(o) returns true if and only if this set contains an element e such that (o==null ? e==null : o.equals(e)). In my case it doesn't (I have tested with Java 1.50_09 and Java 1.6.0). Look at the small toy example below. The last assert statement fails. But as per the documentation, it should not, since an element sc exists in the set such that sc.equals(sc2).
    Any help will be greatly appreciated.
    thanks
    Nilesh
    import java.util.HashSet;
    import java.util.Set;
    class StringCapsule {
        String s;
        public StringCapsule(String s) {
            this.s = s;
        public boolean equals(StringCapsule s2) {
            return s.equals(s2.s);
    public class TestSets {
        public static void main(String[] args) {
            Set<StringCapsule> set = new HashSet<StringCapsule>();
            String s = "test";
            StringCapsule sc = new StringCapsule(s);
            StringCapsule sc2 = new StringCapsule(s);
            set.add(sc);
            assert (set.contains(sc));
            assert (sc.equals(sc2));
            assert (set.contains(sc2)); // THIS FAILS
            System.out.println("Finished with set size " + set.size());
    }Copy above code to TestSets.java, and compile and run to reproduce
    javac TestSets.java
    java -ea -cp . TestSets

    If you have generics available, you should have annotations as well. One way to avoid this kind of problem in the future is to use
    @Override
    public boolean equals (Object o) when you know you want a method to override it's parent.

Maybe you are looking for

  • Weblogic: problem with JMS foreign server and Transaction

    Hello everyone, I am working with an enterprise application with Web Application Server Logic 10.3. L 'application uses the following components: 1) MDB 2.0 2) FOREIGN JMS SERVER -> WebSpereMQ 3) EJB SESSION L 'MDB calls the session bean which uses i

  • After Installation Errors in EM

    Hello, I have installed personal edition of 10g database. After installation when I use my EM to manage database I get the error: java.lang.Exception: Exception in sending Request :: null When I click Perfomance link in EM and try to connect, it asks

  • Group By with condition

    Hi, my problem is that i want to group Cars under when Total = 50 This is my XML: <ROW> <Car>BMW</Car> <Total>100</Total> </ROW> <ROW> <ROW> <Car>Audi</Car> <Total>90</Total> </ROW> <ROW> <Car>Porche</Car> <Total>40</Total> </ROW> <ROW> <Car>Toyota</

  • Cant sync windows live contacts on macbook

    hi, i wanna sync my windows live account for saving contacts and calendars on my macbook pro i somehow managed to connect mail application with windows live , on calendars i have registered it but it is not working , in calendars i cant see windows o

  • Configuring Help Files

    Hi everyone, I would like to modify some of the help files that come out-of-the-box with Identity Manager. The help files are contained within idm.jar. Is it best practice to go into these files and change them directly? Or is there an alternative wa