Relative href problems

Up to recently I've been working with XSLT 1.0 stylesheets and using relative hrefs without trouble. Now with the XSLT 2.0 stylesheets I get an error that the protocol is missing.
If I change my hrefs to "file://myxsl.xsl" there is an error message, unknown host mysxsl.xsl. If I use "file://full/path/to/file/myxsl.xsl" it works, but I need a relative path. Can anyone explain how to get relative hrefs to work in XSLT 2.0?

Hi Leon,
Hope you are using this to load the xsl file.
Are you doing like this?
Transformer transformer = null;
TransformerFactory transformerFactory = TransformerFactory.newInstance();
transformer = transformerFactory.newTransformer(new StreamSource(<XSL FILE>));
For this you need to provide the absolute path or the xsl should be in the classpath
If your XSL is in the class path then it doesnt matter.
Regards
Aneesh A.V

Similar Messages

  • DW CS5 Missing Related Files Problem

    Hello
    Hoping somebody may be able to help me with a missing related files problem in CS5. I've tried Adobe phone support but they couldn't solve the problem.
    *Some* of my sites (but not all) are not showing all the files related to that page. My pages are typically in .asp vb server model and contain .asp virtual includes (header, nav etc) plus .js and .css linked files
    However DW is only showing the .asp includes as related files and not css or js ones. In design view the CSS is displaying correctly, and all styles appear in the CSS inspector but not showing as a related file in the bar. In CS4 it works fine.
    I've tried deleting the site and recreating it, copying the files to a new folder and setting up a fresh site, creating a new folder and downloading all files from the remote server but no joy. I've also tried refreshing related files. if I click on the filter in the bar it only shows the asp includes and nothing else.
    Any help would be gratefully appreciated, this is a great feature when it works
    Cheers
    MB

    UPDATE:
    Managed to solve this problem, this is a new issue to DW CS5, previous versions do not seem to exhibit this problem
    It occurs when you use site root rather than document relative paths for js/css etc files AND don't have the remote site url (web url) specified in the site setup | local info dialog, or do not have it fully qualified with http://
    ie. ../js/file.js works fine without a remote web url but /js/file.js does not show the related file in the bar unless a remote url is defined.
    Hope that helps anyone else that encounters the same issue!
    MB

  • Software Related Graphics Problem

    Hey Guys,
    My iMac C2D 17" early 06 has been having some software related graphics problems. It hasn't occured a lot but it has happened a few times. Small black dots or bars may appear but when I click or hover over them with the mouse, they go away. So, I am thinking that it may be the hard drive because it could be misreading something that could make it not show certain pixels but I am not really sure.
    Any help will be well appreciated.
    Thanks

    RAM Specs:
    2 sticks of 512 MB PC2700 CL 2.5 Apacer RAM. I don't know if this matters but they're in DIMM slots 1 & 3.
    I downloaded nForce drivers (version 5.10 as Richard suggested) and everything installed fine. However, the computer freezes whenever I'm using MSI liveupdate.
    So, instead of using liveupdate I downloaded the nvidia drivers directly from Nvidia.com. During installation the screen flickered three times, and immediately after this the only thing appearing on the screen was a blinking cursor in the upper left; the computer just hung at this point.

  • Acrobat 9 PDFMAKER for Word - Relative Hyperlink problem

    In the past I have successfully use Acrobat Standard 6 PDFMAKER with Word 2003 to preate PDF files with relative hyperlinks. I have a large massively hyperlinked PDF document collection which I distribute on DVD and hence need relative hyperlinks because people's DVD drives have different drive letters. The PDF links produced by Acrobat 6 PDFMAKER have only a single "F" entry in the CosDict and that entry is the desired relative path. The PDF files I make are PDF 1.4. These work with Adobe reader.
    Acrobat 9's PDFMAKER for Word 2007 appears to be unable to produce PDF 1.4 files with relative hyperlinks that work in Adobe Reader. I get PDF files with Annot entries containing a correct "F" entry with a relative path, BUT there is also a UF entry with an absolute path. I have reported this as a bug because it appears to me that the PDF spec says the UF field is a PDF 1.7 feature. I'm speculating that the presence of this undesired absolute path in the UF field of the Annot object is why Adobe Reader (and Foxit Reader) won't follow the hyperlinks as relative paths. Foxit complains about not finding the absolute path.
    Is there a way to coerce Acrobat 9's PDFMAKER to produce truly relative hyperlinks from Word 2007? Am I wrong is diagnosing the problem? I am using Acrobat 9.4.2. Is there a newer version that has fix this problem?
    Any suggestions for how to produce PDF files with functional relative hyperlinks from Word 2007 would be appreciated. Since my document collection is very large (1000,'s of files in a directory tree) I'd like to be able to automate this. I have successfully written VB script code to automate running PDFMAKER but the relative vs absolute hyperlink problem persists whether I make the files one at a time from Word or in a batch from VB.

    I don't believe Word 2000 is supported by Acrobat 9
    Mike

  • Font Smoothing + Relative Positioning = Problem

    Hello,
    I ran across a strange inconsistency while designing a relative position based layout.
    My page has two divs, both relative positioned for height. They do not overlap. The page renders excellent in Firefox 3.5, and not bad in Chrome (though a little different from FF). Safari however pushes my second div down too far.
    I found that by disabling font smoothing (or rather switching it to anything besides "windows standard") fixes this issue. However there isn't even any actual text on the site, at all. There's 4 images, a couple input fields and a submit button.
    I can post some of the code, or example screenshots of what's happening. I've tried a couple css hacks to target safari (without targeting chrome) with no success. Anybody have any advice?
    Thanks,
    Tom

    Please disreard...
    I got it figured out. I just moved the paragraph tag outside
    of the table
    and changed the position from bottom:50% to top:50%
    once the <p> was moved out of the table, it's normal
    position would be at
    the very top. So, I moved it 50% down from the top using
    relative
    positioning. Being inside the table caused it to not work in
    Gecko? I
    wonder why?
    "-D-" <[email protected]> wrote in message
    news:f7fr0d$jb8$[email protected]..
    > I'm using relative positioning for an <p> tag that
    is positioned normally
    > at the bottom of a table cell "valign="bottom".
    >
    > I set the paragraph tag to <p
    >
    style="position:relative;bottom:50%;text-align:center;line-height:1.6em;">
    >
    > so, the text will position itself 50% from the bottom
    positioning. This
    > works fine in IE, but Mozilla and Netscape still
    position the text at the
    > bottom of the table cell.
    >
    > Here is the test page to see what is happening:
    >
    http://www.dwayneepps.com/contact.aspx
    >
    > fill out the form and click send to see the problem.
    >
    > Thanks for any help.
    >

  • I have two related keyword problems.  Some keywords get "broadcast" to every photo in an event.  It's almost impossible to delete these keywords from individual photos.  I select the keyword, hit delete and it reappears after a few seconds.

    I have two related problems with keywords in iphoto 11.  Sometimes, keywords get magically "broadcast" to every photo in an event or album.  It's difficult to delete these keywords.  If I select one and try to delete it it vanishes.  About half the time, it reappears again either in a couple of seconds or after I go to another photo and then return to the previous one.  When thios happens, I need to delete the keyword two or more times before it actually vanishes.  With several hundred photos in an event that all have a bad keyword, this is a tedious process.  I've tried rebuilding the library once, but with only the first (I think) option checked on the rebuild.

    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. .
    Regards
    TD

  • ConstraintRows sibling-relative layout problem

    Hi,
    I am having problems creating constraintRows by means of
    ActionScript with sibling-relative layouts aaplied to a Canvas. I
    get a height wich is less than the one set.
    Here is a code in AS3 (not working) for generating two rows,
    Row1 and Row2.
    AS3:
    consRow = new ConstraintRow();
    consRow.initialized(this, "Row1");
    consRow.height = 36;
    this.constraintRows.push(consRow);
    consRow = new ConstraintRow();
    consRow.initialized(this, "Row2");
    this.constraintRows.push(consRow);
    The first one with a fixed height of 36, the second adjusts
    to the rest of the available space of the container, according to
    the MXML example shown
    here.
    The problem is that the first row has an end result of height=19,
    while if I watch the expression of the array only explicitHeight=36
    and not the real height.
    Below there is an MXML sample where the first row has a fixed
    size and the second one adjusts. This is to compare both AS3 and
    MXML.
    MXML:
    <mx:constraintRows>
    <mx:ConstraintRow id="Row1" height="36" />
    <mx:ConstraintRow id="Row2" />
    </mx:constraintRows>
    If anybody can see what I am doing wrong please let me know.
    Thanks very much in advance,
    Jose.

    Hi,
    Finally I figured out it was not a constraints issue but the
    properties of the container and the Childs.
    Apologize and thanks indeed,
    Jose.

  • SDO_RELATE AND SDO_GEOM RELATE MASK PROBLEMS

    I am trying to use the SDO_RELATE operator on my spatial table.
    I have been experiencing problems.
    I also get the same problems if I use the SDO_GEOM.RELATE geometry function.
    Background
    Table2 contains about 20 000 rows.
    Table1 contains about 1 000 000 rows.
    Both tables contain area geomteries.
    I can not get the following 'masks' to return any results.
    -- OVERLAPBDYINTERSECT
    -- COVEREDBY
    -- COVERS
    -- OVERLAPBDYDISJOINT
    The all return -
    ERROR at line 1:
    ORA-03113: end-of-file on communication channel
    Elapsed: 00:00:20.00
    However the mask INSIDE does work!!! And it returns the correct results.
    The query syntax I am using is below. And substituting any of the above mentioned masks for INSIDE results in the ORA-03113 error.
    I have validated all the geometies in my table using SDO_GEOM.VALIDATE_LAYER. They are all valid.
    Query Syntax
    SELECT /* ORDERED */ count(g2.parcel_ref)
    FROM table2 g2
    WHERE 1 < (SELECT /*+ ORDERED */ count(*)
    FROM table1 g1
    WHERE SDO_RELATE (g1.geometry,
         g2.geom,
              'MASK=INSIDE querytype=WINDOW') ='TRUE');
    SELECT /* ORDERED ORDERED_PREDICATES */ count(g2.parcel_ref)
    FROM table2 g2
    WHERE 1 < (SELECT /*+ ORDERED */ count(*)
    FROM table1 g1
    WHERE SDO_FILTER (g1.geometry, g2.geom, 'querytype=WINDOW')='TRUE'
    AND SDO_GEOM.RELATE (g1.geometry, 'inside', g2.geom,0.001)='INSIDE');
    Does anybody have any ideas why all the masks (except INSIDE) fail?
    Thanks,
    Bob

    Dan,
    I have finally got back to looking at my problem queries.
    The first discovery I have found is that I can repeat the problem using one feature in one of the geometry tables.
    You can see the syntax that I am using below. As I stated before, the INDSIDE query works, but the COVEREDBY fails.
    OVERLAPBDYINTERSECT,COVEREDBY,COVERS,OVERLAPBDYDISJOINT also return the same ORA-03113 error.
    SELECT /* ORDERED */ count(g2.parcel_ref)
    FROM table2 g2
    WHERE g2.id = 3658
    AND 1 < (SELECT /*+ ORDERED */ count(*)
    FROM table1 g1
    WHERE SDO_RELATE (g1.geometry, g2.geom, 'MASK=INSIDE querytype=WINDOW') ='TRUE');
    *** THIS ONE WORKS!
    SELECT /* ORDERED */ count(g2.parcel_ref)
    FROM table2 g2
    WHERE g2.id = 3658
    AND 1 < (SELECT /*+ ORDERED */ count(*)
    FROM table1 g1
    WHERE SDO_RELATE (g1.geometry, g2.geom, 'MASK=COVEREDBY querytype=WINDOW') ='TRUE');
    *** THIS ONE DOES NOT WORK! The error is below.
    SELECT /* ORDERED */ count(g2.parcel_ref)
    ERROR at line 1:
    ORA-03113: end-of-file on communication channel
    I have also been running some other queries on my data.
    Again, one query works, the other does not.
    SELECT /*+ ORDERED ORDERED_PREDICATES */ count(*)
    FROM table2 g1, table2 g2
    WHERE g1.id = 194
    AND SDO_FILTER (g2.geom, g1.geom, 'querytype=WINDOW')='TRUE'
    AND SDO_GEOM.RELATE (g2.geom, 'overlapbdyintersect', g1.geom,0.0001)='OVERLAPBDYINTERSECT';
    *** THIS ONE WORKS!
    SELECT /*+ ORDERED */ count(*)
    FROM table2 g1, table2 g2
    WHERE g1.id = 194
    AND SDO_RELATE (g2.geom, g1.geom, 'MASK=OVERLAPBDYINTERSECT querytype=WINDOW') ='TRUE';
    *** THIS ONE DOES NOT WORK! Again, the error is below.
    SELECT /*+ ORDERED */ count(*)
    ERROR at line 1:
    ORA-03113: end-of-file on communication channel
    I have checked that the two problem geometries are 'valid'.
    SQL> select sdo_geom.validate_geometry(geom, 0.001) from table2 where id=194;
    SDO_GEOM.VALIDATE_GEOMETRY(GEOM,0.001)
    TRUE
    SQL> select sdo_geom.validate_geometry(geom, 0.001) from table2 where id=3658;
    SDO_GEOM.VALIDATE_GEOMETRY(GEOM,0.001)
    TRUE
    Below is a print of the geometry of each of the problem features.
    Have you got any ideas as to why the queries are failing?
    Thanks in advance,
    Bob
    SQL> select geom from sample_lr_prm_iacs2002 where id=3658;
    GEOM(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO, SDO_ORDINATES)
    SDO_GEOMETRY(2003, 81989, NULL, SDO_ELEM_INFO_ARRAY(1, 1003, 1), SDO_ORDINATE_AR
    RAY(475710.144, 133881.126, 475714.379, 133844.065, 475723.656, 133762.89, 47572
    4.07, 133759.271, 475964.952, 133791.345, 475963, 133796.9, 475959, 133806.2, 47
    5956.8, 133812.5, 475955.2, 133816.1, 475951.3, 133824.1, 475944.3, 133838.6, 47
    5933.5, 133861.8, 475932, 133864.5, 475928.5, 133869.7, 475918.8, 133885.8, 4759
    12.5, 133897, 475907.6, 133903.9, 475898.6, 133914.2, 475888.8, 133922.7, 475824
    .2, 133974.3, 475809.9, 133976.2, 475808.1, 133974.6, 475805.5, 133972, 475796.3
    , 133955.7, 475783.99, 133933.51, 475782.67, 133931.44, 475780.87, 133927.97, 47
    5780.14, 133927, 475778.95, 133924.69, 475778.12, 133923.03, 475775.33, 133919.3
    4, 475773.51, 133917.39, 475768.42, 133913.14, 475765.56, 133911.12, 475757.25,
    133906.26, 475751.77, 133903.28, 475741.52, 133897.2, 475714.92, 133883.62, 4757
    GEOM(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO, SDO_ORDINATES)
    10.86, 133881.5, 475710.144, 133881.126))
    SQL> select geom from table2 where id=194;
    GEOM(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO, SDO_ORDINATES)
    SDO_GEOMETRY(2003, 81989, NULL, SDO_ELEM_INFO_ARRAY(1, 1003, 1), SDO_ORDINATE_AR
    RAY(467345.544, 109699.287, 467345.379, 109699.279, 467345.288, 109698.752, 4673
    44.9, 109696.5, 467339.8, 109665.2, 467325.9, 109583.1, 467311.35, 109500, 46730
    9.1, 109487, 467308.27, 109482.113, 467308.242, 109482.142, 467307.491, 109478.1
    99, 467307.44, 109477.435, 467307.3, 109475.9, 467307.331, 109475.837, 467307.02
    4, 109471.295, 467306.963, 109471.307, 467306.831, 109471.334, 467306.831, 10946
    9.765, 467307.192, 109469.68, 467310.196, 109468.973, 467345.545, 109459.288, 46
    7363.626, 109453.84, 467395.576, 109447.4, 467444.616, 109440.217, 467457.247, 1
    09439.474, 467460.715, 109437.245, 467461.458, 109436.255, 467467.251, 109435.39
    6, 467468.145, 109435.264, 467468.264, 109435.663, 467481.7, 109435.2, 467487.2,
    109435.3, 467488.8, 109435.4, 467490.6, 109435.5, 467493.4, 109435.9, 467495.6,
    GEOM(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO, SDO_ORDINATES)
    109435.9, 467500, 109435.8, 467505.75, 109435.8, 467515.85, 109436.2, 467525.2,
    109436.45, 467531.95, 109436.5, 467534.7, 109436.55, 467541.45, 109436.8, 46754
    4.65, 109437.05, 467547.65, 109437.3, 467551.3, 109437.7, 467551.95, 109437.75,
    467555.6, 109438.1, 467556.4, 109438.15, 467558.6, 109438.25, 467562.95, 109438.
    35, 467585.5, 109439.1, 467593.55, 109439.35, 467597.5, 109439.35, 467600.45, 10
    9439.3, 467603.65, 109439.35, 467606.8, 109439.3, 467607, 109439.3, 467610.15, 1
    09439.2, 467613.35, 109439, 467615.7, 109438.8, 467618, 109438.55, 467620.3, 109
    438.25, 467623.3, 109437.65, 467626.2, 109437.1, 467626.85, 109437, 467629.8, 10
    9436.5, 467631.6, 109436.25, 467634.15, 109435.95, 467635.05, 109435.85, 467636.
    95, 109435.7, 467637.35, 109435.65, 467639.25, 109435.4, 467640.1, 109435.25, 46
    7641, 109435.1, 467643.7, 109434.5, 467644.3, 109434.3, 467652.15, 109432.45, 46
    GEOM(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO, SDO_ORDINATES)
    7653.35, 109432.2, 467654.4, 109431.95, 467656.8, 109431.25, 467658.35, 109430.7
    5, 467659.75, 109430.15, 467660, 109430.05, 467662.95, 109429.15, 467667.25, 109
    427.9, 467667.8, 109427.8, 467668.5, 109427.7, 467670, 109427.5, 467670.7, 10942
    7.4, 467671.45, 109427.35, 467671.7, 109427.35, 467678.95, 109427.45, 467680.4,
    109427.5, 467681.75, 109427.55, 467683.2, 109427.55, 467684.55, 109427.5, 467685
    .95, 109427.45, 467687.35, 109427.35, 467688.55, 109427.25, 467695.4, 109426.55,
    467696.8, 109426.45, 467698.15, 109426.3, 467699.55, 109426.1, 467700.75, 10942
    5.95, 467703.45, 109425.35, 467703.95, 109425.2, 467708.85, 109423.95, 467717.8,
    109421.4, 467721.2, 109420.5, 467726.4, 109419.2, 467729.8, 109418.5, 467731.45
    , 109418.15, 467735.95, 109417.45, 467737.5, 109417.25, 467742.8, 109417.05, 467
    748.2, 109416.7, 467748.95, 109416.6, 467749.7, 109416.45, 467750.5, 109416.3, 4
    GEOM(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO, SDO_ORDINATES)
    67752, 109415.9, 467752.75, 109415.65, 467753.4, 109415.45, 467753.95, 109415.2,
    467754.55, 109415, 467755.1, 109414.75, 467755.6, 109414.45, 467756.15, 109414.
    2, 467756.45, 109414, 467762.25, 109409.8, 467768.8, 109404.9, 467770.4, 109403.
    7, 467771.3, 109403.1, 467771.513, 109402.932, 467772.658, 109403.214, 467772.92
    9, 109403.281, 467777.496, 109404.803, 467790.963, 109405.789, 467804.758, 10940
    7.103, 467810.013, 109407.431, 467821.181, 109409.73, 467831.035, 109410.716, 46
    7843.188, 109412.03, 467849.757, 109412.686, 467853.992, 109414.38, 467854.15, 1
    09416.85, 467854.85, 109427.6, 467855.35, 109436.3, 467855.75, 109443.95, 467856
    .25, 109451.7, 467854.7, 109460.35, 467852.45, 109472, 467850.5, 109482.45, 4678
    48.45, 109493.25, 467847.15, 109500, 467846.25, 109505.2, 467845, 109511.7, 4678
    44.25, 109515.9, 467843.15, 109521.5, 467841.85, 109528.55, 467840.65, 109534.95
    GEOM(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO, SDO_ORDINATES)
    , 467840.05, 109538.2, 467839.65, 109542.4, 467839.05, 109548.35, 467838.55, 109
    553.6, 467837.9, 109560.6, 467837.2, 109568, 467836.45, 109576.3, 467836.05, 109
    581.45, 467835.45, 109588.4, 467834.55, 109597.9, 467833.1, 109614.5, 467832.35,
    109622, 467831.2, 109634.4, 467830.6, 109640.2, 467830.55, 109640.5, 467828.5,
    109642.15, 467824.2, 109642.3, 467821.1, 109642.35, 467819.75, 109642.4, 467818.
    9, 109642.4, 467818.6, 109642.45, 467818.4, 109642.45, 467818.25, 109642.5, 4678
    18.05, 109642.5, 467817.85, 109642.55, 467817.65, 109642.5, 467817.45, 109642.5,
    467817.2, 109642.55, 467816.95, 109642.55, 467816.7, 109642.6, 467816.45, 10964
    2.6, 467815.85, 109642.7, 467815.35, 109642.7, 467814.65, 109642.8, 467812.25, 1
    09643.05, 467811.4, 109643.1, 467810.55, 109643.2, 467809.1, 109643.4, 467807.1,
    109643.7, 467805.75, 109643.85, 467804.45, 109643.95, 467800.55, 109644.5, 4677
    GEOM(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO, SDO_ORDINATES)
    98.75, 109644.7, 467795.9, 109645, 467794.95, 109645.15, 467793.6, 109645.3, 467
    792.15, 109645.55, 467790.65, 109645.75, 467787.25, 109646.05, 467782.8, 109646.
    5, 467778.15, 109646.95, 467774.5, 109647.4, 467770.1, 109647.85, 467765.75, 109
    648.3, 467760.85, 109648.9, 467753.35, 109649.65, 467748.7, 109650.1, 467745.15,
    109650.45, 467741.05, 109650.85, 467739.95, 109650.95, 467736.45, 109651.35, 46
    7732.1, 109651.95, 467729.1, 109652.3, 467724.95, 109652.7, 467723.05, 109652.95
    , 467720.5, 109653.2, 467716.65, 109653.75, 467712.05, 109654.45, 467708.65, 109
    654.9, 467704.45, 109655.4, 467700.35, 109655.95, 467695.65, 109656.65, 467692.4
    , 109657.1, 467690.4, 109657.25, 467682.65, 109657.8, 467679, 109658.1, 467676.1
    5, 109658.35, 467674.75, 109658.5, 467674.3, 109658.5, 467674.1, 109658.55, 4676
    73.7, 109658.55, 467673.3, 109658.65, 467673, 109658.7, 467672.7, 109658.8, 4676
    GEOM(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO, SDO_ORDINATES)
    72.1, 109658.9, 467671.4, 109659, 467670.9, 109659.1, 467670, 109659.25, 467669.
    75, 109659.3, 467668.75, 109659.4, 467668.3, 109659.4, 467667.85, 109659.45, 467
    665.4, 109659.65, 467661.9, 109660.05, 467659.5, 109660.3, 467656.65, 109660.7,
    467652.55, 109661.25, 467648.35, 109661.8, 467644.65, 109662.25, 467641.7, 10966
    2.65, 467639.5, 109662.9, 467636.75, 109663.25, 467633.25, 109663.6, 467631.7, 1
    09663.75, 467631.5, 109663.8, 467631.1, 109663.8, 467630.9, 109663.85, 467630.55
    , 109663.85, 467630.35, 109663.9, 467630.2, 109663.95, 467629.85, 109663.95, 467
    629.05, 109664.05, 467628.35, 109664.15, 467628.05, 109664.2, 467627.7, 109664.3
    , 467625.95, 109664.55, 467623.15, 109665.1, 467622.85, 109665.15, 467622.6, 109
    665.25, 467622.3, 109665.3, 467622.05, 109665.35, 467621.9, 109665.35, 467621.65
    , 109665.4, 467621.4, 109665.4, 467621.15, 109665.45, 467620.95, 109665.5, 46762
    GEOM(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO, SDO_ORDINATES)
    0.7, 109665.6, 467620.5, 109665.65, 467620.3, 109665.65, 467619.8, 109665.75, 46
    7619.5, 109665.8, 467619.15, 109665.8, 467618.45, 109665.9, 467616.8, 109666.1,
    467613.2, 109666.6, 467610.15, 109667.05, 467608, 109667.3, 467605.85, 109667.5,
    467603.75, 109667.7, 467602.25, 109667.9, 467601.05, 109668, 467597.05, 109668.
    35, 467592.6, 109668.8, 467589.7, 109669.1, 467587.1, 109669.4, 467583.65, 10966
    9.75, 467580.7, 109670.1, 467576.3, 109670.65, 467567, 109671.85, 467562.25, 109
    672.4, 467556.85, 109673, 467553.95, 109673.3, 467550.35, 109671.95, 467545.1, 1
    09670, 467540.35, 109668.3, 467539.9, 109668.15, 467539.75, 109668.15, 467539.6,
    109668.1, 467539.5, 109668.05, 467539.35, 109668, 467539.2, 109668, 467539, 109
    667.95, 467538.75, 109667.95, 467538.55, 109667.9, 467538.35, 109667.9, 467534.8
    , 109667.7, 467530.65, 109667.35, 467523.9, 109666.75, 467519.5, 109666.4, 46751
    GEOM(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO, SDO_ORDINATES)
    6.2, 109666.1, 467511.8, 109665.65, 467508.1, 109665.3, 467504.85, 109664.9, 467
    501.35, 109664.5, 467500, 109664.4, 467498.7, 109664.3, 467480.5, 109673.4, 4674
    73.7, 109677, 467468.4, 109680, 467461.5, 109683.8, 467453.2, 109688.1, 467448.1
    , 109690.4, 467441.4, 109693, 467439.6, 109693.6, 467430, 109696.2, 467424, 1096
    97.7, 467420.3, 109698.5, 467419.444, 109698.653, 467419.409, 109698.708, 467397
    .983, 109702.395, 467373.562, 109709.767, 467362.964, 109719.213, 467362.94, 109
    718.668, 467362.504, 109719.213, 467347.528, 109705.39, 467346.459, 109701.945,
    467346.01, 109700.498, 467345.636, 109699.291, 467345.544, 109699.287))

  • More than one, OneToOne relation gives problem

    This is my bean class structure
    @Entity
    @Table(name="TBL_PRODUCTS")
    public class TblProducts implements Serializable
       @Id
       @Column(name="PRODUCT_ID")   
       private BigDecimal productId;
       @Column(name="PRODUCT_NAME")   
       private String productName;
       @JoinColumn(name="BRAND_NAME")   
       private String brandname;
       @OneToOne(fetch=FetchType.LAZY,mappedBy="tblProducts")   
       private TblCellphone tblCellphone;
       @OneToOne(fetch=FetchType.LAZY,mappedBy="tblProducts")
       private TblTelevision tblTelevision;
    @Entity
    @Table(name="TBL_CELLPHONE")
    public class TblCellphone implements Serializable
       @Id
       @Column(name="PRODUCT_ID")   
       private BigDecimal productId;
    private String camera;
    @OneToOne(optional=false)
         @JoinColumn(name="PRODUCT_ID")   
    private TblProducts tblProducts;
    @Entity
    @Table(name="TBL_TELEVISION")
    public class TblTelevision implements Serializable
       @Id
       @Column(name="PRODUCT_ID")
       private BigDecimal productId;
       @Column(name="SCREEN_SIZE")
       private String screenSize;
       @OneToOne(optional=false)
       @JoinColumn(name="PRODUCT_ID")   
       private TblProducts tblProducts;
    } Here Tblproduct is my product table , I need to make a relation with all other subcategory products table.
    But when I try to add the more than one OneToOne relation with product table it gives following error
    java.lang.NullPointerException
       at org.hibernate.cfg.OneToOneSecondPass.doSecondPass(OneToOneSecondPass.java:135)
       at org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:1130)
       at org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:296)
       at org.hibernate.cfg.Configuration.buildMappings(Configuration.java:1115)
       at org.hibernate.ejb.Ejb3Configuration.buildMappings(Ejb3Configuration.java:1233)
       at org.hibernate.ejb.EventListenerConfigurator.configure(EventListenerConfigurator.java:154)
       at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:869)
       at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:407)
       at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:126)
       at org.jboss.ejb3.entity.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:246)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source) is there any help how to overcome this problem
    By
    Thiagu.m

    You could read the spool directly from table TSP01
    SELECT *
      INTO TABLE SPOOL_TABLE
      FROM TSP01
      WHERE RQIDENT IN R_SPOOL
        AND RQOWNER IN R_OWNER
        AND RQCRETIME IN R_DATUM.
    Greetings,
    Blag.

  • Confused: relative HREF links

    The following file:
    project/WEB-INF/subfolder/myLink.jsp
    has an HREF link to
    project/myTarget.jsp
    The link in myLink.jsp is:
    The above link works, but I do not know why. Why wouldn't the following work? After all, relative to myLink.jsp, the target page is two folders above in the hierarchy? How do these relative links work?
    I'm trying to learn Struts so does that have something to do with it? The page from which I am clicking the link is something like:
    http://localhost/project/blah.do
    Is there any other info I can provide to clarify my question? Explanation of this issue would be appreciated. Thanks.

    ../../ is equivalent to moving to previous folder twice
    ie similar to performing cd.. twice in cmd prompt
    suppose if your folder structure is
    project/web-inf/myfolder/myjsp.jsp
    if u have proj.jsp in project forlder
    then you got to specify in href as ../../proj.jsp
    what it does is the controller skips web-inf and myfolder folders and comes to project folder and searches for the req jsp
    basically ../../ deals with folder structure.
    bye

  • Order related billing problem

    Dear all,
    I am trying to do order related billing, I have created sales Order, but when I am trying to create Invoice with Sales Order number it is showing problem in Log  " Order Quantity is not equal to goods issue 0"
    Please help me to resolve this issue, your suggestions will be highly appreciated.
    Thank you
    Raghu ram

    this is because of many factors, some i can guess and replying to you.
    1) see the item category settings, billing relevance field , check u have setting of B
    2) during copy control VTFA, see whether ur item category is proposed and if it is there, check the billing qty field.
    3) also check ur copying requirements
    Please check and let me know,
    If it is useful, reward points..

  • SmartWebPr​inting and related Printer problems.

    I cannot uninstall websmart printing through teh control panel. Nothing happens when I click "uninstall." Ther is no indication that anything is woriking ans I have waited for hours.
    Each time I open the internet, there is a error message indicating that some file is missing and to try to locate the "tratapps.mis". but I have no idea where such a thing is located.
    All that seem to be related.
    I have major problems with my HP psc 1315 printer, but no way to re-install. It only goes as far as connect the USB and freezes -- with or without the USB plugged in. Pluggin in the USB does nothing.
    This question was solved.
    View Solution.

    Hi cgmclellan2000,
    Thank you for being a member of the HP Support community.  I understand that you have run into difficulties when trying to uninstall HP’s Smart Web Printing software. 
    I have included the full link (it is rather long) to the document titled “HP Printing Products - HP Smart Web Printing Software Replaced by HP Smart Print”.   Step One in the document walks you through how to uninstall the software from your computer.   Once you have completed the removal, it also would be prudent to check the add-ons for your browser to ensure the add-on is disabled.  
    HP Printing Products - HP Smart Web Printing Software Replaced by HP Smart Print
    http://h20565.www2.hp.com/portal/site/hpsc/templat​e.PAGE/public/kb/docDisplay/?sp4ts.oid=303752&spf_​...
    Regards,
    Happytohelp01
    Please click on the Thumbs Up on the right to say “Thanks” for helping!
    Please click “Accept as Solution ” on the post that solves your issue to help others find the solution.
    I work on behalf of HP

  • Two related Touch problems

    Hi,
    I recently bought an iPod Touch. It was working great to start out with, but now it doesn't, here are the two problems: (i believe they are related)
    1. When I click the Music button on the Touch's main menu, it pops up the beginnings of the Music window, but before it loads anything it disappears again. For an example of what it looks like, press the Calender button; right before it loads the window, everything is white, except for the top box etc. This then disappears. Now this happens when I press either the Music, Videos, or the iTunes buttons.
    2. The Touch does not show up in the iTunes sidebar (now back to my xp). It seems to register being plugged in because it shows the charging battery thing, and windows plays a little noise showing that a device connected. But nothing changes in iTunes.
    I hope I was clear in explaining these problems. Thank you in advance for any comments, suggestions, or answers.
    Cameron Kloot

    I'd try a reset first, then a restore if that doesn't help.
    Reset by holding the Sleep/Home buttons until the iPod reboots.
    Restore by selecting the Touch within iTunes and hitting Restore.
    If it doesn't show up in iTunes after the reset, turn it off by holding the sleep button until you get the option to power off.
    Now, have iTunes launched, and with the iPod connected, but still off, hold the Home button down and connect the iPod = keep the Home button down and you should get the option to restore.
    Good luck.
    Scott

  • E71 E-Mail Key and Related Mail Problems

    Since my E71 was updated to the latest firmware (at a Nokia Service Center) around 6 months ago I have had a number of odd mail problems, which manifest themselves as follows:
    After an initial boot everything with mail and messaging works fine as expected. However at least once or twice a day the phone switches unpredictably into an odd mode with the following symptoms:
      1) E-Mail key stops responding to short or long presses.
      2) New e-mails and sms messages which arrive do not appear on the home screen as usual, though they may (or may not) appear as small icons in the top right corner of the screen.
      3) For new e-mails only the title/header is downloaded, whereas usually I have it set to automatically download the first 2 K of each message.
      4) New messages still appear as 'unread' even after reading them. Manually setting them to 'read' works, but only after a long delay.
      5) The flashing navigation key light which warns of new messages/mails gets stuck in flashing mode and will not stop until the phone is rebooted.
    Problems 1-3 occur every time, and 4&5 occasionally, but all can only be cured by rebooting the phone, after which it works fine again - for a while.
    Since I first saw this problem I have updated the firmware twice (it is currently on the latest version), but the problem persists. I wonder if anyone has seen this problem or has any idea how to fix it? It's a great irritation with an otherwise excellent phone, especially since it was all working fine when I first purchased it. Thanks for any comments or suggestions

    For anyone who is interested, I've found the answer to my own question, though not the solution to my problem. After several days playing with mail settings I noticed that when Retrieval settings > E-mail to retrieve is set to 'Headers only' or ' Msgs & attachs', there is no problem. However, if it is set to 'Size limit' with a setting of say 2K or 5K (i.e. just enough to capture the first few important paragraphs of any message) then receipt of many types of formatted mails larger than the specified size causes the mail program to crash, and the OS to switch into the odd mode described in my earlier post.
    This is particularly irritating since I travel frequently overseas in Asia where roaming GSM data use is expensive (and there are no caps or limits on roaming fees), and due to the nature of my work my e-mails typically come with long threads and large attachments. Therefore I am left with the choice between:
         A) Downloading mail headers only and waiting till I can find a WiFi connection to find out what the message actually says
         B) Downloading the whole message and paying many hundreds of dollars a month in data roaming fees
         C) Using the fixed mail size limit setting and accept that my mail program will crash several times a day and
              require the phone to be rebooted each time to restore normal functionality
    Anyway, it seem this problem is clearly due a bug with the Nokia mail software in recent builds, since it worked fine with these exact same settings for the first year I had the phone, and repeated clean re-installs of the latest firmware do not fix the problem. Therefore, if any Nokia developers are monitoring this board you can add this to your bug list, and you know where to start looking for the bad bit of code.

  • Relative filename problems

    On my localhost directory the PHP_SERVER variable displays the local directory (website_name/index.html) whereas on the remote server the variable is displayed as just the file name (index.html).  Since I like to use the server vars in some scripts (such as validation) there is a problem if the PHP_SERVER vars doesn't display the same name.  Is there a setting in dreamweaver that I am missing from my local server settings compared to the remote server settings?
    Thx,
    Terry

    Hi Leon,
    Hope you are using this to load the xsl file.
    Are you doing like this?
    Transformer transformer = null;
    TransformerFactory transformerFactory = TransformerFactory.newInstance();
    transformer = transformerFactory.newTransformer(new StreamSource(<XSL FILE>));
    For this you need to provide the absolute path or the xsl should be in the classpath
    If your XSL is in the class path then it doesnt matter.
    Regards
    Aneesh A.V

Maybe you are looking for

  • Financial Year-End date range

    Hi I'm building this Discoverer report and one of my parameters is a LoV date field, which gives me a date range from Jan to Dec each year. Now my problem is, I want my date range to be as per our Financial Year End, which is from 01-Oct-03 to 30-Sep

  • My computer keeps resetting "due to a problem" and I can't seem to stop it from occurring

    I just downloaded the new Tell Tale Game of Thrones game and every time I play it the computers fan starts to grow really loud and then my computer resets. Does anyone have any ideas as to how I can fix this issue? The Error Report is as follows: Ano

  • HELP: Multiple Consecutive Numbering per Page - Multiple Pages

    I am working with an 8.5" x 11" InDesign document that has eight 4.25" x 2.75" "coupons" per page - see sample below. Each coupon will need to be automatically and consecutively numbered 00001-00008 on page 1, 00009-00016 on page 2, etc. prior to pri

  • Calling a servlet (in Tomcat) from a JSP Page (in Apache)

    I have a web form in my JSP Page, which upon submits, will send the params to a servlet. The servlet will then process the request and send the results back to the calling JSP Page. with that above senario, is there any way for me to reference a serv

  • My iPhone isn't detected when plugged into computers.

    When I activated my iPhone at At&t and I was getting my old device transfer to the new one the person helping us said their machine couldn't detect my iPhone. Also, when I try to connect my iPhone to computers it won't be detected on the computers. T