Checking for '.' character

Hi,
I am developing a pogram that calculates the factorial of a number. I need to check if the user has typed in a decimal point ,., in the text field( this is because real numbers do not have a factorial)
thankx in advance...

import java.io.*;
class MadBull {
public static void main(String[] args) throws IOException {
char[] exception = {'.','-'};
boolean flag=false;
          int axilleas=0;
          BufferedReader br;
br = new BufferedReader(new InputStreamReader(System.in));
System.out.println("Enter a digit");
String harris;
harris = br.readLine();
System.out.println(harris);
/*for(int i=0;i<harris.length();i++) {
               if(!Character.isDigit(harris.charAt(i))) {
if(flag==false)
                    if(((harris.charAt(0)==exception[1])) && (Character.isDigit(harris.charAt(1)))) {
axilleas++;
flag=true;
continue;
if(harris.charAt(i)==exception[0])
continue;
                    System.out.println("The info you have entered is not a number");
return;
System.out.println("The info you have entered is a " +( axilleas==0 ? "number" :"negative number"));
int i=0;
boolean milan=true;
     while(i<harris.length()) {
if((Character.isDigit(harris.charAt(i))) || (harris.charAt(i)==exception[0]) ||
          (harris.charAt(i)==exception[1]))
i++;
else {
System.out.println("The info is not a number");
milan = false;
break;
if(milan)
System.out.println("The info is a number");
}

Similar Messages

  • Spry validation - check for character

    Hello - I want to use a spry text area to warn if the user
    enters a special string, like " -- " or " : ". Do you know if this
    is posiable?
    Thanks!

    Hi Vikas,
    Try this, its working at my place.
    Prerequsite:
    BKPF-AWTYP = 'CAJO' AND BSEG-WRBTR > '20000.00' AND (
    BSEG-HKONT = 'XXXXXX' AND BSEG-BSCHL = '50' )
    Check:
    NOT SYST-UNAME IN <Set name@>
    @ being set created with Table-SYST and field name- UNAME
    Here the set was created to allow few user to post more than 20000/-
    Regards,
    Kiran

  • Want to know how to check for new line character in text file

    Hi All,
    I`m trying to read data from text file. However I`m not sure whether the data is in 1st line or nth line. Now I`m trying to read the text from the readline. But if text is "" and not NULL then my code fails. So I want to know how to check for new line character and go to next line to find the data. Please help.
    Thanks
    static int readandwriteFile(Logger logger,String filepath){
              BufferedWriter out = null;
              BufferedReader in = null;
              File fr = null;
              int get_count = 0;
              try     {
              if(new File(filepath).exists())
              fr= new File(filepath);
                        System.out.println("FileName: "+fr);
                   if(fr != null){
    in = new BufferedReader(new FileReader(fr));
                             String text = in.readLine();
                             if(text != null){
                             get_count = Integer.parseInt(text);
                             in.close();
                             else{
                                  get_count = 0;
         else{                    
    out = new BufferedWriter(new FileWriter(filepath));
         out.write("0");
                out.close();
                   }          //Reading of the row count file ended.
              catch(Exception e) {
                   e.printStackTrace();
              finally {
                   try{               if (in != null) {
                             in.close();
              if (out != null) {
                             out.close();
              catch(Exception e) {
                        e.printStackTrace();
              return get_count;
         }

    You are calling the readline() only once which means you are reading only the first line from the file...
    Use a loop (Do-While preferably)
    do{
    //your code
    }while(text == "")

  • Checking for Paragraph sign / Return Character with indexOf()

    Hello all
    Al want to use String.indexIf() method to check for any Paragraph signs, or Return characters in a string, then delete or change them.
    I already tried the following, without success!
    int index = myAddress.indexOf('\r');
    and ('\n')
    Please help
    Thanks in advance
    Jaco

    just try to use a StringBuffer or the more diffcult way put the string into a StringTokenizer and set for delimitters all the paragraphs and whitespaces and then tokenize the string. You just have to determine the length of the splitstring and then you know where the characters are you look for

  • Touch Events: How can I check for a button being pressed while another button is being held down?

    Hello,
    I'm trying to check for a button being pressed while another is down through Touch.  In my case, I' m making a game and I need for a button to make the character jump.  However, when I hold down right, I notice that the jump button becomes somewhat unresponsive and I have to press it twice or more to get it to trigger, as opposed to just pressing the jump button by itself with nothing held down which works fine.  I'm testing this on my Motorola Droid 2.
    Here is some of my code that demonstrates text instead of my character moving around:
    package  {
         import flash.events.TouchEvent;
         import flash.ui.Multitouch;
         import flash.ui.MultitouchInputMode;
         public class Document extends MovieClip {
               Multitouch.inputMode = MultitouchInputMode.TOUCH_POINT;
               private var controls:BottomBar;
               private var debugText:String;
               public function Document() {
                    addIngameGUI();
               private function addIngameGUI(){
                    controls = new BottomBar();
                    controls.y = stage.stageHeight - controls.height;
                    addChild(controls);
                    controls.aBtn.addEventListener(TouchEvent.TOUCH_BEGIN, testBtns);
                    controls.bBtn.addEventListener(TouchEvent.TOUCH_BEGIN, testBtns);
                    controls.leftArrow.addEventListener(TouchEvent.TOUCH_BEGIN, testBtns);
                    controls.rightArrow.addEventListener(TouchEvent.TOUCH_BEGIN, testBtns);
             private function testBtns(event:TouchEvent){
                   debugText.text = event.target.name;
    What am I doing wrong?  Is there a better approach?
    Thank you in advance.

    Hello,
    I'm trying to check for a button being pressed while another is down through Touch.  In my case, I' m making a game and I need for a button to make the character jump.  However, when I hold down right, I notice that the jump button becomes somewhat unresponsive and I have to press it twice or more to get it to trigger, as opposed to just pressing the jump button by itself with nothing held down which works fine.  I'm testing this on my Motorola Droid 2.
    Here is some of my code that demonstrates text instead of my character moving around:
    package  {
         import flash.events.TouchEvent;
         import flash.ui.Multitouch;
         import flash.ui.MultitouchInputMode;
         public class Document extends MovieClip {
               Multitouch.inputMode = MultitouchInputMode.TOUCH_POINT;
               private var controls:BottomBar;
               private var debugText:String;
               public function Document() {
                    addIngameGUI();
               private function addIngameGUI(){
                    controls = new BottomBar();
                    controls.y = stage.stageHeight - controls.height;
                    addChild(controls);
                    controls.aBtn.addEventListener(TouchEvent.TOUCH_BEGIN, testBtns);
                    controls.bBtn.addEventListener(TouchEvent.TOUCH_BEGIN, testBtns);
                    controls.leftArrow.addEventListener(TouchEvent.TOUCH_BEGIN, testBtns);
                    controls.rightArrow.addEventListener(TouchEvent.TOUCH_BEGIN, testBtns);
             private function testBtns(event:TouchEvent){
                   debugText.text = event.target.name;
    What am I doing wrong?  Is there a better approach?
    Thank you in advance.

  • Checking for an updated variable value in symbol timeline

    I'm making a puzzle which involves moving crates in a specific order to get a character from one side to the other. Take a look at http://tinyurl.com/c4vwcj9 to get the gist of it.
    Each crate is a symbol with it's own timeline. A crate may only move a pre-determined direction and distance once clicked. No more than 2 crates can be pulled out of the grid at any one time.
    The timeline of each symbol has three states: "Original", "Moved" and "Returned".
    If you have a play around with the puzzle as it stands so far, you will see most of the logic arguments work ok. However, the problem I have is when you pull a crate out of the grid and it needs to check if it can move back into place.
    To see what I mean:
    - Pull out the bottom left corner crate
    - Move the crate to the immediate right, thereby blocking the previous crate
    - Try to move the bottom left corner crate again (you should get an error message and it shouldn't move - this is fine)
    - Move the other crate back to it's original position to unblock the previous crate
    - Try to move the bottom left corner crate a final time (you still get the error message and it doesn't move - this is not fine!)
    A quick debug has revealed the second mouse click doesn't fetch the updated variable AFTER the symbol timeline begins to play, but the same methodology works just fine for crates that check for impeded movement BEFORE a symbol timeline is played (try one of the inner crates). Why isn't it getting the updated value and what can I do to solve it?
    Below is a sample of the code specific to the bottom left crate. I've highlighted the variable and arguments specific to the problem. Please excuse what is no doubt poor Javascript coding conventions - I only started learning this last week!
    //-- Get needed variables
    // Check to see if other crate is impeding movement and define value as a variable
    var myCrateCheck = sym.getComposition().getStage().getSymbol("_b_2x1crate_h").getVariable("Crate2");
    // Check to see what this crate's status is and define value as a variable
    var mySelfCheck = sym.getComposition().getStage().getSymbol("_bl_3x1crate_h").getVariable("Crate1");
    // Check to see if other crates have been moved out of the main grid. Parse value as an integer in base 10.
    var myGridCheck1 = parseInt(sym.getComposition().getStage().getSymbol("_br_2x1crate_v").getVariable("Crate3_ grid"),10);
    var myGridCheck2 = parseInt(sym.getComposition().getStage().getSymbol("_bl_4x1crate").getVariable("Crate4_gr id"),10);
    var myGridCheck3 = parseInt(sym.getComposition().getStage().getSymbol("_bl_2x2crate").getVariable("Crate5_gr id"),10);
    var myGridCheck4 = parseInt(sym.getComposition().getStage().getSymbol("_cl_2x1crate_h").getVariable("Crate9_ grid"),10);
    var myGridCheck5 = parseInt(sym.getComposition().getStage().getSymbol("_cl_1x1crate_1").getVariable("Crate13 _grid"),10);
    var myGridCheck6 = parseInt(sym.getComposition().getStage().getSymbol("_cr_3x1crate_h").getVariable("Crate16 _grid"),10);
    var myGridCheck7 = parseInt(sym.getComposition().getStage().getSymbol("_tl_2x1crate_h").getVariable("Crate17 _grid"),10);
    var myGridCheck8 = parseInt(sym.getComposition().getStage().getSymbol("_tc_2x2crate").getVariable("Crate18_g rid"),10);
    var myGridCheck9 = parseInt(sym.getComposition().getStage().getSymbol("_tr_2x1crate_h_1").getVariable("Crate 19_grid"),10);
    var myGridCheck10 = parseInt(sym.getComposition().getStage().getSymbol("_tl_3x1crate_h").getVariable("Crate20 _grid"),10);
    var myGridCheck11 = parseInt(sym.getComposition().getStage().getSymbol("_tr_2x1crate_h_2").getVariable("Crate 21_grid"),10);
    // Create a variable called myGridCheckSum, make sure it's a number and sum the above
    var myGridCheckSum = 0;
    myGridCheckSum = myGridCheck1 + myGridCheck2 + myGridCheck3 + myGridCheck4 + myGridCheck5 + myGridCheck6 + myGridCheck7 + myGridCheck8 + myGridCheck9 + myGridCheck10 + myGridCheck11;
    //-- Logic & Conditional Statements
    // If this crate is in any position other than "Moved", and more than 1 box is already out of grid zone - prevent move and alert
    if ((mySelfCheck != "Moved") && (myGridCheckSum >1)){
    alert('Too many boxes outside of grid zone');
    sym.stop();
    // Or else, if this crate is in any position other than "Moved", but less than 2 boxes are out of grid zone - allow move
    else if ((mySelfCheck != "Moved") && (myGridCheckSum <2)){
    sym.play();
    // If this crate has moved but the other crate hasn't moved, play remainder of symbol timeline
    else if ((mySelfCheck == "Moved") && (myCrateCheck != "Moved")){
    sym.play(3001)
    // If this crate has moved and the other crate is also moved, alert and loop back on timeline
    else if (myCrateCheck == "Moved"){
    // Alert user to say crate cannot be moved
    alert('This box is being blocked by another!');
    sym.play(2999);

    Resolved. Silly little syntax error on a variable rewrite on another symbol!

  • Carriage return in textarea - how do I check for and remove it???

    I have an html form that has a <textarea> element for user input. I work mainly with Java and some JavaScript. Since carriage returns are permitted in a <textarea> element, upon retrieving the value submitted, my Java and/or JavaScript variables contain carriage returns as well, making the values incomplete.
    For Example :
    String dataSubmitted = request.getParameter("formInput");
    <script language="JavaScript">
    var textValue = "<%=dataSubmitted%>";
    ....//do other stuff
    </script>When I view the source of my JSP page, the above statement of code looks like this:
    var textValue = "This is some text that
    I submitted with a carriage return";I'm putting the text submitted through this form into a mysql database, and when I pull up the values I find that it has recorded the carriage return as well. There is an actual symbol representing a carriage return in the db field.
    What I'd like to do is use some Java code to go through each character of the String and find and remove the carriage return, perhaps replacing it with an empty space instead. But how do I check for a carriage return in a String variable?
    Also, is there a way to use JavaScript to alert the user when the carriage return button is pressed when they're in the <textarea>?
    Any input is appreciated,
    Thank You,
    -Love2Java

    What I'd like to do is use some Java code to go through
    each character of the String and find and remove the
    carriage return, perhaps replacing it with an empty
    space instead. But how do I check for a carriage return
    in a String variable?The carriage return is represented by the \r. Generally there is also a newline, the \n. You can use String#replaceAll() to replace occurences of them by a space.
    string = string.replaceAll("\r\n", " ");
    Also, is there a way to use JavaScript to alert the user
    when the carriage return button is pressed when they're
    in the <textarea>?You can capture keys using the 'onkeypress' attribute. The keyCode of a the return key is 13. So simply catch that:<textarea onkeypress="if (event.keyCode == 13) alert('You pressed the return button.'); return false;"></textarea>The return false prohibits the linebreak being inserted. If you remove that, then it will be inserted anyway.

  • Check for non-numeric characters in textbox input

    I have a form with several textboxes, each of which can accept numeric input. I want to write a validation/ plsql block that checks for a non-numeric character in the input, so that my user sees a customized error message rather than a database error. Any tips on how I can achieve that? Is there any function like "isalpha" in C, which can directly do the job?
    Also, some of these numeric fields should allow commas, since people put commas in larger numbers.
    Any help is greatly appreciated.

    Arie,
    i figured it out. turns out, i had some confusion in my mind. i modified Taneal's solution to use it in my already existing validations of type 'function returning error text' and it works fine.
    the problem before was that i was running 2 separate validations on the same field, and probably due to the sequence numbers, i was getting a numeric or value error. now, i've combined all validations into a single validation and it works fine.
    and honestly, i'm pretty bad with reg. ex. :D

  • Checking for letters and numbers

    Guys, i need to check a String to see if contains either letters or numbers and nothing else. I know that there's certain function is could use like:
    1. isNum() - to check for numbers
    2. isChar()-to check for letters
    but the things is that i get error when i tried to use either 1 of these methods.
    So is there any other methods i could use to do this validation??
    Thx Guys

    Ooo.. i saw that 2 method too but it says that it onli accept character but not string and wat i wan to check is a String.

  • Boxee-source compilation "checking for main in -ldl... no"

    Hello Guys and Girls,
    I'm trying to get Boxee to run on my laptop so that I can setup up on a small homebuild HTPC running a naked Arch Linux Installation in the future.
    I have tried the versions that are in the AUR and got them to install after linking some header files, downgrading glew etc. but they are very old and
    are teaming with bugs. The repo found in the Wiki https://wiki.archlinux.org/index.php/Boxee-source is outdated as well. The current Version is 1.5
    and it is downloading 0.9.8.something from the repo.
    There are 32 and 64 bit *.deb's for Ubuntu available on boxee.tv/download, but Ubuntu is way to bloated and I don't know how to work with it
    when it comes to more advanced configuration (booting straight into X11 and starting boxee trough .xinitrc which worked fine with xbmc).
    Made me realize what a great learning tool Arch Linux is.
    So I downloaded the Sorce Code and extracted it and opened the README.ubuntu to find some building instructions.
    TOC
    1. Introduction
    2. Installing the required Ubuntu packages
    3. How to compile
    4. Create Installer
    1. Introduction
    We currently recommend Ubuntu 11.10.
    NOTE TO NEW LINUX USERS: All lines that are prefixed with the '#'
    character are commands that need to be typed into a terminal window /
    console (similar to the command prompt for Windows). Note that the '#'
    character itself should NOT be typed as part of the command.
    2. Installing the required Ubuntu packages
    # sudo apt-get install make g++ gcc gawk pmount nasm automake cmake bison libsdl1.2-dev libsdl-image1.2-dev libfribidi-dev liblzo2-dev libfreetype6-dev libsqlite3-dev libogg-dev libasound2-dev python-sqlite libglew1.5-dev libcurl4-openssl-dev libmad0-dev libogg-dev libvorbis-dev libsmbclient-dev libmysqlclient-dev libpcre3-dev libdbus-1-dev libjasper-dev libfontconfig1-dev libbz2-dev libboost-dev libfaac-dev libenca-dev libpng12-dev libjpeg62-dev libcdio-dev libsamplerate0-dev libmms-dev libmpeg3-dev libfaad-dev libflac-dev doxygen php5 swig libssl-dev libgdbm-dev libvdpau-dev libxmu-dev libxtst-dev libxinerama-dev libhal-dev libhal-storage-dev gperf libtool
    3. How to compile
    # ./bootstrap
    # ./configure --enable-optimizations --disable-debug
    # make -j4
    # make -C tools/TexturePacker -f Makefile.host
    # rm skin/boxee/media/Textures.xbt
    # make -C skin/boxee/media
    4. Create installer
    # cd debian
    # sudo ./make_debian.sh
    ./bootstrap wored fine.
    With ./configure I ran into problems a few times but managed to fix them on my own ( installed libmms, lz02, mysql-clients etc. when check failed)
    but now I'm stuck at: "checking for main in -ldl... no" and I have no clue how to fix it. What am I missing?
    Once I get this to compile and run I want to contribute my first package to the AUR. Would be a good opportunity to get familiar with ABS, PKGBUILDs and all
    that.
    Regards,
    blackout23
    Last edited by blackout23 (2011-12-30 22:42:21)

    Looks like a linking issue?
    http://phaseit.net/claird/comp.unix.programmer/linking-unix.html wrote:
    Linux's dl library
    There are at least two distinct problem symptoms with dynamic-linking that Linux users frequently report: that
        the configure for Tcl and/or derivatives think that dynamic linking is not possible; and
        a makefile which attempts dynamic linking fails for not resolving "... -ldl ..." adequately.
    To the best of my knowledge, all instances of the former problem have been traced back to an inconsistency between configure and other sources, typically the result of incomplete application of a patch, mis-installation of a compiler and its ancillary libraries, or some sort of cross-OS contamination. As far as I know, correcting any compiler problems and doing a "make distclean" to sanitize the Tcl source directory has always been enough to cure the situation.
    Some installations (Slackware 2.1? 3.1? others? Red Hat before 4.0?) are reputed to have a missing symbolic link between /lib/libdl.so.1 and /lib/libdl.so. Any application which employs dynamic linking, and which therefore links with "... -ldl ..." under Linux, apparently will fail until one completes the installation by commanding
               ln -s /lib/libdl.so.1 /lib/libdl.so
    That's the whole story that I know. However, those unfamiliar with Unix deserve a warning: the previous paragraph used "link" in three distinct senses. If these matters are new to you, you might feel more comfortable substituting
               cp /lib/libdl.so.1 /lib/libdl.so
    for the "ln ..." command above. When I'm able to make time, I'll return to explain these matters more fully.
    Why isn't there a /lib/libdl.a? That's an involved topic, one that I aim to document later in spring '97.
    ldconfig is sometimes an issue for Linux. I'll document it once I understand it better.

  • Check newline character in data

    Hi,
    How to check for a new line character in data using SQL query ?
    Thx

    select * from test where cc like '%' || chr(13) || chr(10) || '%'
    remember that unix does not use carriage return, so this may be more complete:
    select * from test where cc like '%' || chr(10) || '%'
    bye
    aldo

  • How to Change language in spell check for CS4?

    How do I change language in spell check for CS4?

    You can follow the steps below to get Spell Check for CS4.
    1. Get the Text Tool and Type the Text.
    2. Open the character palette (windows -> type -> Character)
    3. Select show options from the submenu (top right corner of the palette).
    4. Select all your text, chose Language from the drop down box in the character palette. Language spell checking is now working for you!
    -Mandhir

  • How to check one character NSString if it is A-Z?

    How to check a one character long NSString, to see if it falls between the range A-Z? including upper and lower case.
    thanks

    I think for anything Unicode, the meaning is self-defining. By this I mean "Marks" are the set of characters they have grouped together and called "Marks". I found this site that explains the categories. A German eszett ß is actually a lowercase character, not a mark. It seems that the Marks are special combining characters in Arabic, Hebrew, Tamil, etc.
    The key thing to keep in mind is that MacOS X is designed to work in all of those languages. So, if you are writing code to "check for lowercase", you have to realize that there are literally thousands of lowercase letters. You should probably have a graceful way to handle ß and similar characters. One thing I have done in the past is just substitute some special character for anything that isn't strictly "a-z". That way, regardless of the input, I know what the output will be. That worked for my particular application, but it isn't appropriate in all or even most applications.

  • Zfs volumes broken post os patching - spec_getpage called for character...

    Hello all,
    I have a T2000 (sol10 8/07), OBP 4.27.7, SUNWldm 1.0.1, zfs version 4 that post os patching (using the Sept 08 Recommended patch cluster) now cannot use zfs volumes as virtual disks. Files on zfs filesystems used for boot devices however work fine (ie the ZFS for boot disk setup as described in the admin guide). Whenever I try and "bind-domain" on a guest domain using a zfs volume I see the following in /var/adm/messages on the primary domain...
    Sep 3 15:16:56 isdsyddev13 specfs: [ID 853503 kern.notice] NOTICE: spec_getpage called for character device. Check any non-ON consolidation drivers
    Sep 3 15:16:59 isdsyddev13 last message repeated 25903 times
    syslog tail spins and chews up close to 100% of the cpu. The only way to recover the primary domain is to reboot it (and in some cases power cycle). On the system console I also see the following..
    message overflow on /dev/log minor #6 -- is syslogd(1M) running?
    NOTICE: spc_getpage called for character device. Check any non-ON onsolidation drivers
    A guest ldom config that contains use a zfs volume which kills things when you run bind-domain below..
    root@isdsyddev13# ldm ls -l itgsyddev11
    NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME
    itgsyddev11 inactive ----- 4 4G
    VARIABLES
    auto-boot?=false
    boot-device=vdisk
    NETWORK
    NAME SERVICE DEVICE MAC
    vnet0 primary-vsw0 network@0 00:14:4f:f8:85:1c
    DISK
    NAME VOLUME TOUT DEVICE SERVER
    vdisk0 vol9@primary-vds0 disk@0
    vdisk1 vol2@primary-vds0 disk@1
    There is only one service domain (primary) and it runs the only virtual disk service. Entries for the above vdisks on the primary-vds0 are...
    vol2 /dev/zvol/rdsk/isdsyddev13zp_loc/itgsyddev11-optbmc2
    vol9 /isdsyddev13zp_loc/itgsyddev11/bootdisk-fullos
    subset of zfs output below. The os boot files are clones of a snapshot.
    root@isdsyddev13# zfs list
    NAME USED AVAIL REFER MOUNTPOINT
    isdsyddev13zp_loc 142G 53.5G 79.5K /isdsyddev13zp_loc
    isdsyddev13zp_loc/boot-images 20.0G 53.5G 20.0G /isdsyddev13zp_loc/boot-images
    isdsyddev13zp_loc/boot-images@initial 22.5K - 20.0G -
    isdsyddev13zp_loc/itgsyddev11 645M 53.5G 20.0G /isdsyddev13zp_loc/itgsyddev11
    isdsyddev13zp_loc/itgsyddev11-optbmc2 25.4G 58.0G 21.2G -
    isdsyddev13zp_loc/itgsyddev11-optbmc2@20080424 4.21G - 18.6G -
    Note that if I remove vdisk1 from the guest domain, bind-domain works fine, no issues. So this is an issue just with the zfs volumes used as virtual disks. I also created a new zfs volume, added it to the primary-vds0 and the guest domain. However on bind-domain, same error/issue.
    Patches applied from the patch run below...
    119812-06
    120272-21
    127959-02
    137017-03
    125166-11
    119783-06
    125184-07
    119254-57
    120222-28
    120222-29
    128306-05
    122911-13
    120292-02
    123590-09
    119313-21
    119059-44
    124630-17
    120410-29
    120094-21
    118712-22
    127737-02
    136892-01
    125539-04
    137019-02
    119042-11
    127922-04
    138159-01
    121004-04
    119090-26
    127853-02
    120830-06
    137032-01
    137093-01
    123611-04
    137871-01
    136998-04
    127755-01
    125891-01
    127127-11
    138068-01
    137289-02
    137111-03
    138291-01
    126133-04
    138075-02
    125551-02
    128342-01
    128000-01
    128294-02
    127884-01
    128328-01
    126206-04
    124393-06
    119757-12
    137321-01
    121095-02
    119810-05
    120543-11
    125378-05
    128300-03
    120201-05
    125719-12
    137080-01
    136882-01
    125731-02
    121308-12
    Any help appreciated.

    I am not using ldom version 1.0.3, I'm using version 1.0.1 as per the original post
    root@isdsyddev13# pkginfo -l SUNWldm
    PKGINST: SUNWldm
    NAME: Logical Domains Manager
    CATEGORY: application
    ARCH: sparc.sun4v
    VERSION: 1.0.1,REV=2007.08.23.10.20
    BASEDIR: /
    VENDOR: Sun Microsystems, Inc.
    PSTAMP: dt90-19120070823102022
    INSTDATE: Dec 10 2007 14:07
    STATUS: completely installed
    FILES: 38 installed pathnames
    6 shared pathnames
    12 directories
    23 executables
    20860 blocks used (approx)

  • FRM-30457: Maximum Length ignored for character-datatype

    Hi,
    I have a oracle form. When i use Compile Module (Ctrl + T) I am getting the following error:
    FRM-30457: Warning: Maximum Length ignored for character-datatype subordinate mirror item MAIN_CONTROLS.DATA1.
    Can anyone help to resolve this warning message?

    Hi,
    Check the data type of MAIN_CONTROLS.DATA1, i think, it must be a number.
    Or you might have not added the maximum length for MAIN_CONTROLS.DATA1.
    I found the below when I surfed.
    Error Message: FRM-30457: Warning: Maximum Length ignored for character-datatype subordinate mirror item %s.%s.
    Error Cause:
    A non-zero value was specified for the Maximum Length property in a subordinate mirror item whose Data Type is CHAR, ALPHA, or LONG. The Maximum Length property for such an item will be obtained from the master mirror item (the item specified by the Synchronize with Item property).
    Action:
    Specify the Maximum Length property in the master mirror item.

  • Check For Line Feed

    hi again, im trying to check for a line feed character in an xml file.
    im using the following code:
    NodeList nodeList = ElementNode.getChildNodes();
    for(int i = 0; i < nodeList.getLength(); i++) {
                        if(nodeList.item(i).getNodeValue().equals("\n")) {
                             System.out.println("Line Feed!");
                        }else
                             System.out.println(nodeList.item(i).getNodeName());
                   }For some reason it never prints out "Line Feed!"
    i used a transformer object to indent my xml like so,
    transformer.setOutputProperty(OutputKeys.INDENT, "yes");
                   transformer.setOutputProperty("{http://xml.apache.org/xslt}indent-amount", "4");so im wondering why am i not picking up the line feeds?
    many thanks

    ive found out what the line feed character is, but when im trying to read back in my xml,
    i have it indented to 4 places (see above), this will no doubt add 4 white spaces to different parts of the xml, as well as new line characters.does it also add carriage returns?this is causing me problems reading back in.Is there any classes i can use to remove all the white spaces, new line characters etc.. so i can just get at the xml content (elements, CDATA, comments etc..)?
    many thanks!

Maybe you are looking for

  • Album Art Problem (shows up fine everywhere with exception of one section)

    My album art is not showing up properly on my iPod touch. It shows up fine everywhere on my iTouch (including artists, cover flow, now playing etc.) with the exception of this section: It's the same for every single artist, every single album, but on

  • Integrated weblogic server Issue with Host name mapped to multiple IPs

    I am running very simple ADF application from Jdev 11g (11.1.1.3.0). Compilation was successful but weblogic server facing problem while starting. It is showing HostAName is mapped with Multiple IP Addresses. Please provide solution to fix the issue.

  • Build DR Site for Exchange 2010

    Dear All, We have Exchange 2010, 2 mailbox servers configured in DAG and two servers configure HUB and CAS on each with CAS Array. we want to build our DR site in case if the production site goes down then the user should not loose their email and th

  • How do i manually sync ical in lion?

    I've just installed Lion on my MacBook Pro. I still have Snow Leopard on my desktop iMac. I want my iCals on each automatically updated and in sync on both computers. I've configured the new iCloud on my MacBook Pro. But the iCals are not syncing. An

  • Trouble changing location and account details

    I just relocated to the UAE am trying to change my location and account details on my iPhone 4S but its not letting me do so...can anyone help me out?