An example please...

I registered a schema with these commands and everything's alright:
declare doc varchar(10000) := '
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xdb="http://xmlns.oracle.com/xdb" >
<xs:element name="BookStore" xdb:defaultTable="BOOKSTORE">
<xs:complexType>
<xs:sequence>
<xs:element ref="Book" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Book" xdb:defaultTable="BOOK">
<xs:complexType>
<xs:sequence>
<xs:element ref="Title" minOccurs="1" maxOccurs="1"/>
<xs:element ref="Author" minOccurs="1" maxOccurs="1"/>
<xs:element ref="Date" minOccurs="1" maxOccurs="1"/>
<xs:element ref="ISBN" minOccurs="1" maxOccurs="1"/>
<xs:element ref="Publisher" minOccurs="1" maxOccurs="1"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Title" type="xs:string"/>
<xs:element name="Author" type="xs:string"/>
<xs:element name="Date" type="xs:string"/>
<xs:element name="ISBN" type="xs:string"/>
<xs:element name="Publisher" type="xs:string"/>
</xs:schema>
begin
dbms_xmlschema.registerSchema('//prova.xsd', doc,TRUE, TRUE, FALSE, TRUE);
end;
Please, could you give me an example of an xml file to add to bookstore?
I tried this:
insert into bookstore values(xmltype('
EXAMPLE PELASE!!
Could you give me an example xml according to bookstore schema?
Thanx

SQL*Plus: Release 10.1.0.2.0 - Production on Fri May 14 09:12:47 2004
Copyright (c) 1982, 2004, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> declare doc varchar(10000) :=
2 '<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
3 xmlns:xdb="http://xmlns.oracle.com/xdb" >
4 <xs:element name="BookStore" xdb:defaultTable="BOOKSTORE">
5 <xs:complexType>
6 <xs:sequence>
7 <xs:element ref="Book" minOccurs="1" maxOccurs="unbounded"/>
8 </xs:sequence>
9 </xs:complexType>
10 </xs:element>
11 <xs:element name="Book" xdb:defaultTable="BOOK">
12 <xs:complexType>
13 <xs:sequence>
14 <xs:element ref="Title" minOccurs="1" maxOccurs="1"/>
15 <xs:element ref="Author" minOccurs="1" maxOccurs="1"/>
16 <xs:element ref="Date" minOccurs="1" maxOccurs="1"/>
17 <xs:element ref="ISBN" minOccurs="1" maxOccurs="1"/>
18 <xs:element ref="Publisher" minOccurs="1" maxOccurs="1"/>
19 </xs:sequence>
20 </xs:complexType>
21 </xs:element>
22 <xs:element name="Title" type="xs:string"/>
23 <xs:element name="Author" type="xs:string"/>
24 <xs:element name="Date" type="xs:string"/>
25 <xs:element name="ISBN" type="xs:string"/>
26 <xs:element name="Publisher" type="xs:string"/>
27 </xs:schema>';
28
29 begin
30 dbms_xmlschema.registerSchema('//prova.xsd', doc,TRUE, TRUE, FALSE, TRUE);
31 end;
32 /
PL/SQL procedure successfully completed.
SQL> insert into bookstore values (
2 xmltype (
3 '<?xml version="1.0" encoding="UTF-8"?>
4 <!--Sample XML file generated by XMLSPY v2004 rel. 2 U (http://www.xmlspy.com)-->
5 <BookStore xmlns:xdb="http://xmlns.oracle.com/xdb" xmlns:xsi="http://www.w3.org/2001/XMLSchema-
instance" xsi:noNamespaceSchemaLocation="//prova.xsd">
6 <Book>
7 <Title>String</Title>
8 <Author>String</Author>
9 <Date>String</Date>
10 <ISBN>String</ISBN>
11 <Publisher>String</Publisher>
12 </Book>
13 <Book>
14 <Title>String</Title>
15 <Author>String</Author>
16 <Date>String</Date>
17 <ISBN>String</ISBN>
18 <Publisher>String</Publisher>
19 </Book>
20 </BookStore>
21 '))
22 /
1 row created.
SQL> set long 1000
SQL> --
SQL> select object_value from bookstore
2 /
OBJECT_VALUE
<?xml version="1.0" encoding="WINDOWS-1252"?>
<!--Sample XML file generated by XMLSPY v2004 rel. 2 U (http://www.xmlspy.com)--
<BookStore xmlns:xdb="http://xmlns.oracle.com/xdb" xmlns:xsi="http://www.w3.org
/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="//prova.xsd">
<Book>
<Title>String</Title>
<Author>String</Author>
<Date>String</Date>
<ISBN>String</ISBN>
<Publisher>String</Publisher>
OBJECT_VALUE
</Book>
<Book>
<Title>String</Title>
<Author>String</Author>
<Date>String</Date>
<ISBN>String</ISBN>
<Publisher>String</Publisher>
</Book>
</BookStore>
SQL>

Similar Messages

  • XML example please

    hi,
    i've read lots of threads about storing data in xml file but all i saw was links to tutorials and some advices. Could somebody post at least a small example, please?
    And what i need to store in my xml file is data from several comboboxes and textfields.
    Thanx in advance.

    plz, provided xml using java standalone application source codes.

  • Clearing Rule example PLEASE!

    Hi guys: Below is my business situation.
    When I post an entry using F-04, I want to transfer the data in ref key 1 of the cleared item to the item that is being created as a residual item.
    I was thinking I could use Clearing Rules. Can someone please help me? Does anyone have an example please? Or is there any other way to do this?
    thanks
    Brian

    hi,
    You can map it through clearing rules. Clearing rules are used for automatic clearing. You specify whci all field should be considered for automatic clearing. For eg, PO number, referance field. etc if any match is found then it will clear.
    In you case you can try substitution.
    Thanks,
    Sujai C

  • Stateless Session EJB Bean Example please

    Dear Friends,
    Develop a stateless session EJB bean and deploy it in WebLogic 8.1
    Please proivde me a weblogic8.1 example along with the deployment steps.
    Also mention the supporting softwares needed.
    I have weblogic 8.1, JDK 1.5
    Advance Thanks.
    Rengaraj.R

    Hi Rahul,
    Please paste the files here if they are small in size.
    IDfLoginInfo li = new DfLoginInfo(); //this is where the error occurs as when i remove this line. i dont get an error
    Have you checked this as I have mentioned something regarding this in my mail?
    Regards
    Vicky

  • Dde server examples please

    could any of you helpful folks who have example code communicating with the dde server of another application please post some 'generic' example code here? (or any related tips) -6.0.2-
    Thanks, Paul.S

    Have you looked here and at the Access DDE example that ships with LabVIEW?

  • Need an example, Please

    Hi
    i have to implement an neural network. but unfortunately i have no idea how to implement or how to start implementing it.
    if anyone can please tell me how to start or send me a simple example of implementing any simple neural network or any evolutionary algorithm. it will be a great help.
    with regards Sarmad

    Hi
    i have to implement an neural network. but
    unfortunately i have no idea how to implement or how
    to start implementing it.
    if anyone can please tell me how to start or send me
    a simple example of implementing any simple neural
    network or any evolutionary algorithm. it will be a
    great help.
    with regards Sarmadyou just don't have the right API
    it's not OpenSource and you can't get it for free
    it will cost you lots of money and you can't use it yourself
    the oligarchs are the only ones that know about it. and how to use it

  • Problem with interputting  accessframe  example please help!!!

    A use code bellow to access every frame in the movie :
    import java.awt.*;
    import javax.media.*;
    import javax.media.control.TrackControl;
    import javax.media.Format;
    import javax.media.format.*;
    import java.io.*;
    import javax.imageio.*;
    import javax.imageio.stream.*;
    import java.awt.Color.*;
    import java.awt.image.*;
    import java.util.*;
    import java.awt.image.*;
    import javax.media.util.*;
    import javax.swing.JFrame;
    public class Film2ramki implements ControllerListener {
    Processor p;
    Object waitSync = new Object();
    boolean stateTransitionOK = true;
    public boolean alreadyPrnt = false;
    public void zakoncz(){
         p.stop();
         p.close();
         p.deallocate();
    public boolean open(MediaLocator ml) {
    try {
    p = Manager.createProcessor(ml);
    } catch (Exception e) {
    System.err.println("Failed to create a processor from the given url: " + e);
    return false;
    p.addControllerListener(this);
    // Put the Processor into configured state.
    p.configure();
    if (!waitForState(p.Configured)) {
    System.err.println("Failed to configure the processor.");
    return false;
    // So I can use it as a player.
    p.setContentDescriptor(null);
    // Obtain the track controls.
    TrackControl tc[] = p.getTrackControls();
    if (tc == null) {
    System.err.println("Failed to obtain track controls from the processor.");
    return false;
    // Search for the track control for the video track.
    TrackControl videoTrack = null;
    for (int i = 0; i < tc.length; i++) {
    if (tc.getFormat() instanceof VideoFormat) {
    videoTrack = tc[i];
    break;
    if (videoTrack == null) {
    System.err.println("The input media does not contain a video track.");
    return false;
    System.err.println("Video format: " + videoTrack.getFormat());
    // Instantiate and set the frame access codec to the data flow path.
    try {
    Codec codec[] = { new PreAccessCodec(),
    new PostAccessCodec()};
    videoTrack.setCodecChain(codec);
    } catch (UnsupportedPlugInException e) {
    System.err.println("The process does not support effects.");
    // Realize the processor.
    p.prefetch();
    if (!waitForState(p.Prefetched)) {
    System.err.println("Failed to realize the processor.");
    return false;
    p.start();
    return true;
    boolean waitForState(int state) {
    synchronized (waitSync) {
    try {
    while (p.getState() != state && stateTransitionOK)
    waitSync.wait();
    } catch (Exception e) {}
    return stateTransitionOK;
    public void controllerUpdate(ControllerEvent evt) {
    if (evt instanceof ConfigureCompleteEvent ||
    evt instanceof RealizeCompleteEvent ||
    evt instanceof PrefetchCompleteEvent) {
    synchronized (waitSync) {
    stateTransitionOK = true;
    waitSync.notifyAll();
    } else if (evt instanceof ResourceUnavailableEvent) {
    synchronized (waitSync) {
    stateTransitionOK = false;
    waitSync.notifyAll();
    } else if (evt instanceof EndOfMediaEvent) {
         p.stop();
         p.close();
         System.exit(0);
    Film2ramki(){}
    public void startnow (String plik) {
         //this.setDefaultCloseOperation(this.EXIT_ON_CLOSE);
    String url = "file:"+plik;
    if (url.indexOf(":") < 0) {
    prUsage();
    System.exit(0);
    MediaLocator ml;
    if ((ml = new MediaLocator(url)) == null) {
    System.err.println("Cannot build media locator from: " + url);
    System.exit(0);
    if (!open(ml))
    System.exit(0);
    static void prUsage() {
    System.err.println("Usage: java Film2ramki <url>");
    * Inner class.
    * A pass-through codec to access to individual frames.
    public class PreAccessCodec implements Codec {
    * Callback to access individual video frames.
    void accessFrame(Buffer frame) {
    // For demo, we'll just print out the frame #, time &
    // data length.
    long t = (long)(frame.getTimeStamp()/10000000f);
    System.err.println("Pre: frame #: " + frame.getSequenceNumber() +
    ", time: " + ((float)t)/100f +
    ", len: " + frame.getLength());
    * The code for a pass through codec.
    // We'll advertize as supporting all video formats.
    protected Format supportedIns[] = new Format [] {
    new VideoFormat(null)
    // We'll advertize as supporting all video formats.
    protected Format supportedOuts[] = new Format [] {
    new VideoFormat(null)
    Format input = null, output = null;
    public String getName() {
    return "Pre-Access Codec";
    // No op.
    public void open() {
    // No op.
    public void close() {
    // No op.
    public void reset() {
    public Format [] getSupportedInputFormats() {
    return supportedIns;
    public Format [] getSupportedOutputFormats(Format in) {
    if (in == null)
    return supportedOuts;
    else {
    // If an input format is given, we use that input format
    // as the output since we are not modifying the bit stream
    // at all.
    Format outs[] = new Format[1];
    outs[0] = in;
    return outs;
    public Format setInputFormat(Format format) {
    input = format;
    return input;
    public Format setOutputFormat(Format format) {
    output = format;
    return output;
    public int process(Buffer in, Buffer out) {
    // This is the "Callback" to access individual frames.
    accessFrame(in);
    // Swap the data between the input & output.
    Object data = in.getData();
    in.setData(out.getData());
    out.setData(data);
    // Copy the input attributes to the output
    out.setFlags(Buffer.FLAG_NO_SYNC);
    out.setFormat(in.getFormat());
    out.setLength(in.getLength());
    out.setOffset(in.getOffset());
    return BUFFER_PROCESSED_OK;
    public Object[] getControls() {
    return new Object[0];
    public Object getControl(String type) {
    return null;
    public class PostAccessCodec extends PreAccessCodec {
    // We'll advertize as supporting all video formats.
    public PostAccessCodec() {
    supportedIns = new Format [] {
    new RGBFormat()
    * Callback to access individual video frames.
    void accessFrame(Buffer frame) {
    // For demo, we'll just print out the frame #, time &
    // data length.
    if(!alreadyPrnt)
    BufferToImage stopBuffer = new BufferToImage((VideoFormat)frame.getFormat());
    System.out.println(stopBuffer.toString());
    System.out.println("CreatedBuffer");
    System.out.println("Created stopImage");
    Image stopImage = stopBuffer.createImage(frame);
    System.out.println("stopImage is full");
    if(stopImage == null)
    System.out.println("stopImage is null");
    try
    BufferedImage outImage = new BufferedImage (320, 240,BufferedImage.TYPE_INT_RGB);
    Graphics og = outImage.getGraphics();
    og.drawImage(stopImage,0,0,320,240,null);
    //prepareImage(outImage,rheight,rheight, null);
    Iterator writers = ImageIO.getImageWritersByFormatName("jpg");
    ImageWriter writer = (ImageWriter)writers.next();
    //Once an ImageWriter has been obtained, its destination must be set to an ImageOutputStream:
    File f = new File("frames\\"+frame.getSequenceNumber() + ".jpg");
    ImageOutputStream ios = ImageIO.createImageOutputStream(f);
    writer.setOutput(ios);
    //Finally, the image may be written to the output stream:
    //BufferedImage bi;
    //writer.write(imagebi);
    writer.write(outImage);
    ios.close();
    catch(IOException e)
    System.out.println("Error :" + e);
    //alreadyPrnt = true;
    long t = (long)(frame.getTimeStamp()/10000000f);
    System.err.println("Post: frame #: " + frame.getSequenceNumber() +
    ", time: " + ((float)t)/100f +
    ", len: " + frame.getLength());
    if(frame.getLength()==0){p.stop();p.close();p.deallocate();}
    public String getName() {
    return "Post-Access Codec";
    this code capture every frame from movie but it never ends running and i can't invoke any metod after grabing frames becouse its still running. How Can I stop this to enter the next metod.
    Please help me
    thx

    Answering sam04 question Yes this make that every frame is captured
    Back to my problem :
    I invoke caputre frames class from other class like this:
    Film2ramki f2r=new Film2ramki();
    f2r.startnow(pathtomov);
    System.out.println("End of capture");...........................
    So when capturing frames ends it should print "End of caputre" but I get something like this :
    JPEG, 320x240, FrameRate=13.0, Length=18198
    Video format: JPEG, 320x240, FrameRate=13.0, Length=18198
    Pre: frame #: 1, time: 0.0, len: 16282
    Post: frame #: 1, time: 0.0, len: 230400
    End of capture
    Pre: frame #: 2, time: 0.07, len: 16471
    Post: frame #: 2, time: 0.07, len: 230400
    Pre: frame #: 3, time: 0.15, len: 16620
    Post: frame #: 3, time: 0.15, len: 230400
    Pre: frame #: 4, time: 0.23, len: 16541
    Post: frame #: 4, time: 0.23, len: 230400
    Pre: frame #: 5, time: 0.3, len: 16749
    Pre: frame #: 18, time: 1.3, len: 15708
    Post: frame #: 18, time: 1.3, len: 230400
    Pre: frame #: 18, time: 1.3, len: 0
    Post: frame #: 18, time: 1.3, len: 0this is strange becouse it captures 1 frame end print "End of capture" and then its capures other frames. Why ?????

  • SIMPLEST servlet example please

    Hi,
    I was wondering if someone could post a java servlet example that accepts a string array (let's say we pass "A" and "B") and returns back a string array (let's say "1" and "2") without having to use a doGet or doPost. This would simply be passed as a value as one normally might, using a procedure or function.
    Help on this is greatly appreciated. I am using this to access DB information, and already have the rest of the code finished, however I must implement this as a servlet.
    Thanks...

    Hello lafnjack,
    A servlet is a kind of plugin-class that is connected to a HTTP-server to handle HTTP requests by interpreting the request itself and generating the response.
    Therefore, a servlet is called through methods that are in parallel to the HTTP requests GET, POST and in some cases the other variants. Having said this, it should be obvious that a servlet has no more options for functioning than implementing doGet/doPost etc functions.
    Silvio Bierman

  • Bridge/Photoshop Script Example Please

    Does anyone have an example Bridge script that they can share that
    1. Runs on a selection of images from Bridge.
    2. Calls a simple action in Photoshop (resize and sharpen, for instance) for each image in turn
    3. Saves the images into a new folder or with different filenames.
    The key here is work from the selection in Bridge. Yes, I know I can do that with a Batch, but its important that it be from the script with no batch involved.
    Thank you in advance!!
    Eric

    Hi Eric,
    I remember there was a script called OpenClose_PS.jsx by Bob Stucky on Adobe Exchange. This script does almost all that you want. But the site is temporarily out of service right now, so if you are interested, contact me by e-mail and I'll send you a copy.
    Kasyan

  • I have transefer function like (1/(s^2+s+​5)) and i have a square wave input , i want to use this transfer function with this input to see the output , how can i do that , with example please.

    i need to know also how to represent this transfer function in labview, try to send me example. answer me at my mail

    "st" wrote:
    > answer me at my mail
    give a valid e-mail first, and your name, we don't like to help anonymous
    people
    > try to send me example.
    how much do you pay ?
    > i have transefer function like (1/(s^2+s+5)) and i have a square wave
    > input , i want to use this transfer function with this input to see
    > the output , how can i do that
    First you have to know what you are doing, like an engineer : you have a
    Laplace, continuous time transfer function but LabView handles discrete
    signals only. Use matlab/simulink if you want to simulate continuous time
    systems easily...
    If you definitely want to use LabView, the first step is to discretize your
    continuous-time transfer function, i.e. decide a sampling rate and convert
    it to a "z transfor
    m". Then you can directly use the "IIR Filter.vi" as I
    said earlier.
    Philippe Guglielmetti - www.dynabits.com me at my mail

  • Drill on Staked Column chart should open another Stacked column in a new dashboard (Link) Falsh Variable helps?Any examples please?

    Hi,
         I have a stacked column chart which shows demand(past 12 months) and forcast (future 12 months) of various 10 different regions.X axis shows time period and on Y axis shows demand.
         When ever user clicks on a particular region, it should open another dashboard that shows demand drilled down to product level for same time period as above. It also should be another Stacked Column chart having time period on X axis and demand on Y axis but only for a selected region.
         Does Flashvariable passes data to the second chart?
         Please help.
    Regards,
    Nanda Kishore.

    Else, I want to have one more different approach.
    Region level demand Stack Chart occupies entire space of dashboard. When user selects a region in Stacked column chart, region chart is hidden and product level chart gets visible and there should be a close button the chart with the help of which user comes back to region chart and again drill down to view another drill down chart for product level demand for the other selected region.
    Please help.
    Regards,
    Nanda Kishore

  • New to XML - what can XML and java do thogether - brief examples please

    I am new to XML and relatively new to Java, thought not new to programming. I am still trying to figure out what can XML do for me in practical terms and when I should use it. Thanks for any examples of when to use XML in conjunction with Java.

    xml : Think of it in terms of business solutions, the way you would think of HTML for drawing fun web-pages.
    java : If you know anything about databases you would know you can embed java with sql E.T.C.
    Therefore because of the fast response times and the amount of constant interaction for business purposes you will need a database type that is strong to handle XML, therefore with such new technology you will be able to use xml databases with java too.
    l am sorry : XML Technology is not more simple than that to explain.
    If you are a christian or jew it is like saying to someone explain the bible,the prophets,the old and new testament in one sentence!!!You get it.What one can do is slightly break-up the bible and say there's an old and new testament.The old testament refers to the time before Jesus, AND the new testament refers to After Jesus, THE PROPHETS RELATE MORE TO THE TIME BEFORE Jesus.
    You can then ask me who is jesus???
    And thats a tricky question in its self becuse it depends on one's thinking(concept)
    I HOPE IT HELPS YOU !!!!
    GOD DAY MATE!!

  • Standalone IDoc Lib 3.0 code example please

    Hi,
    I'm testing the new versions of JCo (3.0) and the new IDoc library (3.0).
    I succeeded to connect to my SAP system with both of code examples of these libraries but i hadn't receive any result back from SAP, it seems that examples are just handlers.
    I created i remote function module that uses STFC_CONNECTION but i didn't how to display my function result from my java file.
    These are new libraries and i didn't found any other code example so if someone can help i'll be very grateful.
    Thank you in advance

    i'm such a dumb!
    i forgot to execute the function in the SAP side to retreave the result in the java consol side (in my case).
    i was thinking that by calling a SAP(ABAP) function the java program run it as well.

  • Please help, my Mini is eating up all my Ram & suffers from annoying bugs!

    Hello
    This is my first official post with a few problems as I just got my Mini and as I hear around the boards, there are a number of things wrong with the mini...
    Here is my first problem :
    My Mini seems to eat up a lot of ram and for some reason, when I quit all of my apps and leave only one or two open it does not go up... Instead it just sits there and if I try to open more apps, it falls dangerously low and I feel the computer is kind of suffering...
    On restart it is doing just fine again.
    Here are some examples (please click on links to see Activity Monitor images):
    The case when it goes bad
    http://img93.imageshack.us/img93/1645/ramconsumption6ba.jpg
    And this is after restart or startup
    http://img489.imageshack.us/img489/3280/ramconsumption25es.jpg
    What is eating up all my ram? And why does it not bounce back to the free ram it should have? It is like the apps suddenly double in RAM consumption...
    Second problem :
    When I start up my mini, each and every time I have to remind the mini to connect to my Airport Express, I have to go to the menu and pull down the menu bar and that is all. I don't even have to select it, cause it does it by its self, but not until I remind it. This is a rather annoying part, I cannot make it understand that it should JUST connect to my Airport setting...
    Are there any solutions for this?
    Third Problem :
    When I startup the mini, the sound is always set to default, meaning it comes through the speakers at half volume. I always set it to full, so that I can control my speakers instead of going both to the mac and my speakers to control my sound setting.
    Does anyone have this problem? And how can I fix it?
    Also,I can only hear the startup chime via the mini and not via my speakers. Is this a universal problem with the minis? If so I can live with it, though it is pretty annoying.
    Fourth Problem :
    As I am writing this topic in this forum, my keyboard is kind of slow, it is not reacting as fast as it should. It is set to fast in the preference pane and even the controls of going up and down on a page via the arrow keys don't seem to keep its beat. It does it once and I have to press it how ever many lines I want to go up, unlike before on my G5 I just press and hold the button and it will go as far as I let it before I let it go.
    What is that all about?
    Fifth Problem :
    Though this is a small problem, I don't know if this could be major later. I tend to get digital distortion during my usage of Safari. Certain places, I visit I can see digital distortion. Like when I scroll on CNN.COM. It makes some strange lines and I cannot figure out what is wrong with it...
    Now, the mini was once considered to be a cheap investment, but as I found out, I had to go a long way and very close to the price of an iMac to get my Mini to work. See I have an Apple Studio Displace 17 inch ADC. Now, to my surprise, as I was about to hook up my mini to my nice Apple screen (Only a generation old), I was in for a big shock... It was simply not compatible... Not one bit... Leaving me with the bitter taste of having to pay an additional $130 for an DVI to ADC converter. And that really made me angry.
    But aside from that, I have to say, I am not certain that I want to keep this mini... I have 10 days, to decide if I want to keep it or not... I can get a full refund if I don't like it... And so far, I am not sure I like it as much as I thought I would...
    Rosetta aside, I think it is pretty fast, in all the native Intel apps. So, we'll see if I can eliminate some of these problems and if I can, I will keep it, but I am not sure how many of these problems I am going to need fixed before I seriously want to keep it...
    I am going from one problematic G5 Dual 1.8 Powermac to another problematic Apple computer... It can get a little too overwhelming...
    So any help anyone can give me at this point, would be very much appreciated...
    Dual : G5 1.8 Ghz, MacMini Core Duo, iPod, iPod Shuffle & mini   Mac OS X (10.4.5)   Was the mini the correct decision?

    Hi PPC7410!!!
    Wow, thank you so much for your post, I really appreciate you taking the time to set a few things straight for me...
    And yes, you are right, the Apple Studio Display was bought with my G5 Dual 1.8. So I kind of didn't want to buy a new monitor.
    The main reason why I bought the mini now was because I am saving up for a MacBook Pro. I am going mobile soon and need a good computer. But, I want to wait till Apple fixes all the small problems with the MacBook Pros and I hope to get one early next year. And that is where the mini comes into the picture. I need a computer I can have while I save up for the laptop. And while I can still get some decent money for the G5, I am going to sell it and use the money on the laptop. Once I get that, I will give the mini to my father who can use it to keep in touch with me and start his digital life...
    But...
    A little about why I went with the min in the first place...
    I bought a Dual 1.8 G5 PowerMac not long ago, well when it came out. Since day one I had serious problems with it. It was so bad that Apple even sent me a replacement, but that only came back with other problems. The first one had a logic board defect, it just panicked almost all the time... (On each startup there was a good chance my monitor went blue and a lot of cryptic codes were written all over the screen. Even when I tried the hardware test DVD, it couldn't complete it because it went into panic mode and I had to pull the plug cause nothing responded on the G5.)
    Ok, so I waited almost 3 weeks for the new one, while I was in the middle of a project (which died because of this), and I was really pulling hairs by this time. So the new Powermac arrived, and I had to return my faulty G5 to where I got it. I live on the 4th floor and no elevators. 2 weeks before I got my G5 my back went out, so I don't have to tell anyone who owns a G5 Powermac just how heavy it is. Perhaps out of the box it wouldn't be so back but the box was big enough to house a small family. The new ones are smaller I see.
    Ok, the new one arrived, and it didn't panic or do the things that the other machine did. However it was birthed with entire new set of problems which started to show up a little bit at a time. These problems presented them selves in strange bottleneck results. Applications such as iTunes would suffer with a G5 Dual 1.8 powermac and 1GB of Ram. The specs were directly from Apple. I didn't add anything to it.
    A friend of mine has a G4 400mhz and I am telling you, that sometimes, that machines does things FASTER than my G5 Dual 1.8Ghz. That blew my mind...
    I have to be honest, the hammer fell hardest when I pre-ordered Apple's Aperture in hopes of really getting some kind of real harmony between my Mac and my Nikon D50. But alas, when I got it, tried to install it, it said it could NOT be installed on my machine!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    Yet the Apple seller, on the phone said, SUUUURREE it can, why couldn't it... I thought ; well yeah it is suppose to be the best and fastest mac out there, why would it have a problem with it? But I was wrong... and when I called them telling them that I couldn't install the app, they didn't want to cut me some slack. So I was stuck with Aperture 1.0... It looked good on the shelf, but that is all... It was a waste of money....
    To be honest, I simply gave up at that time... I have just had so many problems with the G5 I have, that I wanted to downgrade to something that just did, the normal jobs of everyday work, such as surfing the web, emailing, occasional Photoshopping( With Adobe's press note telling us not to hold our breaths for any Uni-Photoshop this year, kind of feels like a kick in the teeth).
    So, I didn't expect much from the mini. I know I couldn't do heavy work on it but all in all, speed wise, it is as fast as my G5 on a good day.
    So aside from Rosetta, which is a real drag when you use it, it is a pretty good little machine... Just hope they will sort out these problems sooner than they did with so many other macs with ticks and bugs.
    Again, thank you for answering my questions... I didn't quite understand the RAM thing, but you might be right, I just didn't encounter that on my G5...
    Take care and have a great day!

  • How to use ant1.3 in Wndows ME to build the examples in J2EE Tutorial?

    When I tried to build the examples bundled with j2ee tutorial in the ..\j2eetutorial\examples directory using the ant 1.3 on Wndows ME I get the following exception.Anybody please help me.Is there any other build tool available for download?
    StringIndexOutOfboundsException
    D:\JAVATUTORIAL\J2EE\j2eetutorial\examples> ant -verbose all
    Ant version 1.3 compiled on March 2 2001
    Buildfile: build.xml
    Detected Java Version: 1.3
    Detected OS: Windows Me
    parsing buildfile D:\JAVATUTORIAL\J2EE\j2eetutorial\examples\build.xml with URI
    = file:D:/JAVATUTORIAL/J2EE/j2eetutorial/examples/build.xml
    Project base dir set to: D:\JAVATUTORIAL\J2EE\j2eetutorial\examples
    Build sequence for target `all' is [init, savingsaccount, bank, cart, checker, c
    onfirmer, converter, enroller, order, salesrep, storagebin, teller, htmlreader,
    warehouse, simplemessage, cmproster, ejb, date, hello1, hello2, bookstore1, web-
    ejb, bookstore2, bookstore3, web, all]
    Complete build sequence is [init, savingsaccount, bank, cart, checker, confirmer
    , converter, enroller, order, salesrep, storagebin, teller, htmlreader, warehous
    e, simplemessage, cmproster, ejb, date, hello1, hello2, bookstore1, web-ejb, boo
    kstore2, bookstore3, web, all, create-storagebin-table, get-cci-jar, procs, cci,
    connector, create-salesrep-table, create-procs-alias, create-coffee-table, abou
    t, create-enroller-table, create-savingsaccount-table, create-web-db, create-war
    ehouse-table, create-bank-table, clean, create-order-table, create-teller-table,
    prepare, create-ejb-db]
    init:
    [property] Loading Environment myenv.
    BUILD FAILED
    D:\JAVATUTORIAL\J2EE\j2eetutorial\examples\build.xml:19: D:\JAVATUTORIAL\J2EE\j2
    eetutorial\examples\build.xml:19: java.lang.StringIndexOutOfBoundsException: Str
    ing index out of range: -1
    --- Nested Exception ---
    D:\JAVATUTORIAL\J2EE\j2eetutorial\examples\build.xml:19: java.lang.StringIndexOu
    tOfBoundsException: String index out of range: -1
    --- Nested Exception ---
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    at java.lang.String.substring(String.java:1476)
    at org.apache.tools.ant.taskdefs.Property.loadEnvironment(Property.java:
    248)
    at org.apache.tools.ant.taskdefs.Property.execute(Property.java:172)
    at org.apache.tools.ant.Target.execute(Target.java:153)
    at org.apache.tools.ant.Project.runTarget(Project.java:898)
    at org.apache.tools.ant.Project.executeTarget(Project.java:536)
    at org.apache.tools.ant.Project.executeTargets(Project.java:510)
    at org.apache.tools.ant.Main.runBuild(Main.java:421)
    at org.apache.tools.ant.Main.main(Main.java:149)
    Total time: 2 seconds
    D:\JAVATUTORIAL\J2EE\j2eetutorial\examples>
    *********************************************************************

    Please Help Me

Maybe you are looking for

  • How do I move a document into a folder in PDF reader on an iPad

    How do I move a document into a file in PDF reader on my iPad

  • When will Firefox increase their HTML5 support?

    Like, since Firefox 11 the HTML5 support hasn't gone up a bit. Like it supports 345 points. As when even Opera and Safari bulldozed Firefox with a 376 and 385 pointer. Then Chrome FLATTENED Firefox, with a 437 points. And even Internet Explorer is ch

  • IPod Touch stopped connecting to Internet (WiFi)

    Just unbelieveable-- I've been using my iPod Touch with a variety of WiFi connections the past 3 months, but really wanted WiFi at my home. So yesterday I got a D-Link DIR-635 Router acting as a bridge Router (connected to my older DI-604 Router) and

  • Is there a class for this?

    I'm trying to store a collection of data in which certain elements are removed after they've been present for a certain period of time. Some items live longer than others. What I want is to retrieve these items in roughly the same order every time. L

  • Problems to install BootCamp 2.1

    Hi there, I have downloaded several times the BootCamp update to my Windows partition. I have tried through Apple Softare Update, directly through the site, to an USB external drive... However, my machine does not install such version. Sometimes noth