XPath result while evaluating with XPathConstants.BOOLEAN

I am trying to get the value of a boolean attribute but I am getting the wrong result when I try using XPathConstants.BOOLEAN.
When I use XPathConstants.STRING I do get the correct value.
The following code:
public static void main(String[] args) throws Exception {
          String xml = "<?xml version=\"1.0\" ?>" +
                    "<root check=\"false\" />";
          InputSource inputSource = new InputSource(new StringReader(xml));
          Document document = DocumentBuilderFactory.newInstance().newDocumentBuilder().parse(inputSource);
          XPath xPath = XPathFactory.newInstance().newXPath();
          System.out.println("check as string: " + xPath.evaluate("root/@check", document, XPathConstants.STRING));
          System.out.println("check as boolean: " + xPath.evaluate("root/@check", document, XPathConstants.BOOLEAN));
     }Has the following output:
check as string: false
check as boolean: true
Please explain.

I'm guessing (because I can't find any specific documentation on what that constant means) that it evaluates the XPath expression and then coerces it to a boolean value. I'm also guessing that it uses the XPath boolean() function to do that. And you can read about what the boolean() function does here: [http://www.w3.org/TR/xpath#section-Boolean-Functions]

Similar Messages

  • Inconsistent results while searching with TREX

    Hi all, iam getting inconsistent results for the same search terms. iam searching for content in a document.one user has read permission on this document and other doesn't. if search using user without read access no results are displayed. i logged in as a user who has read permission in a different window. search for the same content displays the document. and now if i search for the same content for the user who don't have read permission it's displaying the document. ideally it should not display. it would be very helpful if somebody can point what is the problem. thanks in advance.
    regards
    kranthi

    Hi Kranthi,
    could this be a browser caching or credentials per browser session issue?
    - Do you open the new Window with Ctrl-N?
    - Or do you start a completely new browser (click browser icon a second time)? Does it still happen in that case?
    - Does it also happen, if you completely close the browser in between and then re-open?
    - Does it still happen, if you delete the temporary internet files in between? And/or the cookies?
    Regards,
    Karsten

  • Empty results while importing outlook contact list with PHP

    Hello. Could you help me with such problem:
    I'm always receiving an empty result while importing contact list from my outlook mail account.
    I've had successfully created live app (https://account.live.com/developers/applications). I'm using REST api (https://apis.live.net/v5.0/me/contacts?&access_token=" . $access_token) and successfully received "access_token". But in the end
    I receive empty result in such form:
    { ["data"]=> array(0) { } ["paging"]=> array(0) { } } (certainly, I have few contacts in my outlook contact list)

    Desktop Manager is not contact manager. Restore it from Backup to a HH and then sync it with contacts in Outlook at home for example. Extract contacts to PST file. Import those to new company outlook contacts and they will sync over the air with handheld.

  • S_ALR_87012176 - AR,  Customer Evaluation with OI Sorted List

    Hi,
    Can someone tell how to read S_ALR_87012176 - Customer Evaluation with OI Sorted List in AR. What do the old, ovd and omt mean.
    Thanks,
    Ram

    This is a standard report.
    Enter the Customer range and Company Code.
    You can change the open item at key date forward, back or keep it as today.
    You then need to make any other selections.
    In terms of the output it is determined by the summarization levels. use the Information icon "I" to see the settings.
    Lastly you can change the bucket view by changing the days overdue groupings.
    Here is the information:
    The program displays the following payment history information:
    Sales figures such as annual sales and authorized deductions. This data is available in the system and only issued by this program.
    Information on whether the customer is a net payer or a cash discount payer. This information is displayed in the field "Type".
    The type of payer is determined by means of the payment volume:
    A net payer is a customer who usually exhausts the payment term and does not take any cash discounts.
    A cash discount payer is a customer who usually makes use of the cash discount deduction.
    Days in arrears. The average days in arrears are determined as follows:
    For each of the last five periods in which payments took place, the payment amount from each period is multiplied by the average days in arrears from each period. The results are added together and then divided by the total of the payments from the periods.
    The days in arrears are thus weighted with the payment amount.
    Last payment period. The period and the year (for example, 5 93) are displayed.
    In addition to analyzing payment history, this program evaluates customer open items. It structures the items it selects using a time schedule that you can define as you like, and displays them according to business area.
    The criteria you can choose for this analysis are as follows:
    Aging schedule for open items by due date for net payment
    Displayed next to "Net"
    Calculation: Due date for net payment - key date
    Due date forecast using the first cash discount days
    Displayed next to "Dsc"
    Calculation: Baseline date for payment + cash discount days 1 - key                                                                   date
    Probability of payment based on the weighted incoming payments in the past
    Displayed next to "Pay"
    Calculation: Baseline date for pmnt + cash disc.days 1 + average days                                                            in arrears
    Days overdue of items that are due
    Displayed next to "Ovd"
    Calculation: Key date - due date for net payment
    Examples of the open item analysis
    The item used in these examples contains the following data:
    Document date   04/01/1992
    Baseline date for payment   04/05/1992
    Terms of payment   8 days 5% / 14 days 2% / 21 days net
    Key date   04/15/1992
    The due date for net payment of this item is determined as follows:
    Baseline date for payment + net days
    The sorted list for this item would appear as follows:
    The (*) indicates in which column in the sorted list the item would appear for the different evaluations.
    Due date for net payment
    Due date for net payment - key date = number of days until the due                                        date for net payment
    04/26                    - 04/15    = 11 days
    Display in the list:
    I    1    I    2    I     3    I     4     I    5    I    6    I -
    I         I from  1 I from 11 I from 21 I from 31 I from 41 I I to  0   I to   10 I to   20 I to   30 I to   40 I         I -
    Explanation of column 1:
    Items displayed here are overdue.
    Explanation of column 6:
    Items displayed here are due in 41 days or more.
    Cash discount 1 due date
    Baseline date for payment + cash discount days-1 - key date
    04/05                     + 8                    - 04/15    = -2 days
    Display in the list:
    I    1    I    2    I     3    I     4     I    5    I    6    I -
    I         I from  1 I from 11 I from 21 I from 31 I from 41 I I to  0   I to   10 I to   20 I to   30 I to   40 I         I -
    Explanation of column 1:
    Items displayed here are overdue for the first cash discount.
    Explanation of column 6:
    Items displayed here are due in 41 or more days for the first cash discount.
    Forecast of incoming payments
    Baseline date for payt + cash disc.days 1 - key date + days in                                                          arrears
    04/05                  + 8                - 04/15    + 25    = 23 days
    Display in the list
    I    1    I    2    I     3    I     4     I    5    I    6    I -
    I         I from  1 I from 11 I from 21 I from 31 I from 41 I I to  0   I to   10 I to   20 I to   30 I to   40 I         I -
    Explanation of column 1:
    Items displayed here are overdue as regards cash discount 1.
    Explanation for column 6:
    Items displayed here are due in 41 or more days for the first cash discount.
    Days overdue
    Key date - due date for net payment
    04/15    - 04/26                  = -11 days
    Display in the list:
    I    1    I    2    I     3    I     4     I    5    I    6    I -
    I         I from  1 I from 11 I from 21 I from 31 I from 41 I I to  0   I to   10 I to   20 I to   30 I to   40 I         I -
    Explanation of column 1:
    Items displayed in this column are open but not yet due.
    Explanation of column 6:
    Items displayed here have been overdue for 41 or more days.
    Note
    The analysis types "Net", "Dsc", "Pay" are a future time frame for forecasting incoming payments. "Ovd" is the time frame for the past for analyzing overdue items.
    To estimate the probability of incoming payments, you should always request a sorted list by due date, cash discount days 1, and incoming payments forecast. Normally, the cash discount days 1 due date shows the earliest incoming payment, the latest due date and for the forecast of incoming payments the probable time of the incoming payment.

  • Regular expression evaluation with logical operator

    Hi All,
    I am bit confuse with expression evaluation with logical operator. I am trying to understand below expression.
    eXa.getTrue() && eXa.getFalse() || eXa.getFalse() && eXa.getTrue() || eXa.getFalse() comes as false and True Count: 1 False Count: 3
    As per understanding it should be true with True Count: 1 False Count: 3
    it should execute 1st getTrue() and then 1stGetFalse() and then 2nd getfalse() and should skip 2nd getTrue() and execute 3rd fetFalse()
    eXa.getTrue() && eXa.getTrue() || eXa.getFalse() && eXa.getTrue() || eXa.getFalse() comes as true and True Count: 2 False Count: 0
    As per understanding it should be true with True Count: 3 False Count: 0
    it should execute 1st 2 getTrue() and skip 1st getFalse() and then execute 3rd getTrue() and skip last getFalse().
    eXa.getTrue() || eXa.getFalse() && eXa.getFalse() || eXa.getTrue() && eXa.getFalse() comes as true and True Count: 1 False Count: 0
    As per understanding it should be true with True Count: 2 False Count: 2
    it should execute 1st getTrue() and skip 1st getFalse() and then execute 2nd getFalse() and then execute 2nd getTrue() and then 3rd getFalse()
    Please help me to understand above expressions.
    Here is the methods definition:
    private boolean getTrue() {
              trueCount++;
              boolean retrunValue = 4 > 3;
              return retrunValue;
    private boolean getFalse() {
              falseCount++;
              boolean retrunValue = 3 > 4;
              return retrunValue;
    Thanks for ur help

    >
    adding parenthesis to make order of ops more obvious. adding "?" to show un-executed calls.
    (eXa.getTrue() && eXa.getFalse()) || (eXa.getFalse() && eXa.getTrue()) || eXa.getFalse()  comes as false and True Count: 1 False Count: 3
    (T && F) = F
    (F && ?) = F
    (F) = F
    F || F || F = F
    (eXa.getTrue() && eXa.getTrue()) || (eXa.getFalse() && eXa.getTrue()) || eXa.getFalse()  comes as true and True Count: 2 False Count: 0
    (T && T) = T
    (? && ?) = ?
    (?) = ?
    T || ? || ? = T
    eXa.getTrue() || (eXa.getFalse() && eXa.getFalse()) || (eXa.getTrue() && eXa.getFalse())  comes as true and True Count: 1 False Count: 0
    (T) = T
    (? && ?) = ?
    (? && ?) = ?
    T || ? || ? = T

  • Error encountered while communicating with primary IP-address

    Hi
    I have recently deployed my first Exchange Server. This is an Exchange Server 2013 Standard and I set up everything using this document on Technet for installation: http://technet.microsoft.com/en-us/library/bb124778(v=exchg.150).aspx
    For post-installation I used this document on Technet: http://technet.microsoft.com/en-us/library/bb124397(v=exchg.150).aspx
    I have setup access to port 25, 587, 143, 993, 110, 995, 80, 443 in my routers SPI-firewall and created DNAT rules for each of these ports as well. I can send mail without any issues, but I cannot receive. Reverse DNS is working both internally and externally.
    I can telnet to port 25 on my external IP and external domain which is exchange.mydomain.tld
    My Exchange-server is running inside a Gen1 Hyper-V virtual machine on a Windows Server 2012 R2.
    My Exchange Server has the following resources:
    OS: Windows Server 2012 R2
    CPU: 2 cores of AMD FX-6120 3.30GHz
    RAM: 3584MB
    HDD1: IDE 80GB VHDX - is currently used for all system files and for Exchange.
    HDD2: SCSI 127GB VHDX - will be used for Exchange DB and logs when everything is working.
    When sending mail from any internal or external e-mail address to an internal e-mail address I get the following error in Exchange Queue Viewer:
    "451 4.4.0 Error encountered while communicating with primary target IP address:"421 4.2.1 Unable to connect." Attempted failover to alternate host, but that did not succeed. Either there are no alternate hosts, or delivery failed to all alternate
    hosts. The Last"
    How can I solve this issue? If you need any more information please let me know and I will see if I can find it.

    Hi I have now tried to send mail to an internal address using telnet. This returned the following value:
    250 2.6.0 <[email protected]> [InternalId=1971389988866] Queued mail for delivery
    Next I tried to send to an external mail by using telnet and it returned this result when adding the reciepient:
    550 5.7.1 Unable to relay
    This is the output of the Test-Servicehealth cmdlet:
    Role                    : Mailbox Server Role
    RequiredServicesRunning : True
    ServicesRunning         : {IISAdmin, MSExchangeADTopology, MSExchangeDelivery, MSExchangeIS, MSExchangeMailboxAssistant
                              s, MSExchangeRepl, MSExchangeRPC, MSExchangeServiceHost, MSExchangeSubmission, MSExchangeThro
                              ttling, MSExchangeTransportLogSearch, W3Svc, WinRM}
    ServicesNotRunning      : {}
    Role                    : Client Access Server Role
    RequiredServicesRunning : True
    ServicesRunning         : {IISAdmin, MSExchangeADTopology, MSExchangeMailboxReplication, MSExchangeRPC, MSExchangeServi
                              ceHost, W3Svc, WinRM}
    ServicesNotRunning      : {}
    Role                    : Unified Messaging Server Role
    RequiredServicesRunning : True
    ServicesRunning         : {IISAdmin, MSExchangeADTopology, MSExchangeServiceHost, MSExchangeUM, W3Svc, WinRM}
    ServicesNotRunning      : {}
    Role                    : Hub Transport Server Role
    RequiredServicesRunning : True
    ServicesRunning         : {IISAdmin, MSExchangeADTopology, MSExchangeEdgeSync, MSExchangeServiceHost, MSExchangeTranspo
                              rt, MSExchangeTransportLogSearch, W3Svc, WinRM}
    ServicesNotRunning      : {}
    Can we use this information to find a possible source for my issues?

  • "error while evaluating Java script for the package"

    Okay, this is a new one on me! Anyone ever get this message? I don't know what is going on with my iMac, all I know is that about a month ago my iTunes was working fine, and when I just went to use it, it tells me "you can not use the application iTunes with this version of Mac OS X. So I thought maybe something was wrong with my iTunes and downloaded it again and i got the "error while evaluating Java script for the package" when I tried to reinstall iTunes. Another issue I am having is with updates. I haven't received an update for a long time and when I manually check, it tells me there are none.

    Okay, this is a new one on me! Anyone ever get this message? I don't know what is going on with my iMac, all I know is that about a month ago my iTunes was working fine, and when I just went to use it, it tells me "you can not use the application iTunes with this version of Mac OS X. So I thought maybe something was wrong with my iTunes and downloaded it again and i got the "error while evaluating Java script for the package" when I tried to reinstall iTunes. Another issue I am having is with updates. I haven't received an update for a long time and when I manually check, it tells me there are none.

  • Unknown Error while communicating with O365 BEC Web Service

    Hi Guys,
    When I try to add a new mail user in O365 Exchange, one strange error is thrown.
    Are any guys  kind enough to help me ?
    Here is the script and the error.
    PS C:\Users\o365-user> $cred = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList
    '[email protected]', $(ConvertTo-SecureString -String '*******' -AsPlainText -Force)
    PS C:\Users\o365-user> $session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri 'https:
    //ps.outlook.com/powershell/' -Credential $cred -Authentication Basic -AllowRedirection
    WARNING: Your connection has been redirected to the following URI:
    "https://pod51053psh.outlook.com/powershell-liveid?PSVersion=4.0 "
    PS C:\Users\o365-user> Import-PSSession $session
    WARNING: The names of some imported commands from the module 'tmp_zkc5sid4.gpq' include unapproved verbs that might
    make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the
    Verbose parameter. For a list of approved verbs, type Get-Verb.
    ModuleType Version Name ExportedCommands
    Script 1.0 tmp_zkc5sid4.gpq {Add-AvailabilityAddressSpace, Add-DistributionGroupMember...
    PS C:\Users\o365-user> $users=Get-MailUser
    PS C:\Users\o365-user> New-MailUser -Name '[email protected]' -DisplayName 'Test LIU'
    -MicrosoftOnlineServicesID '[email protected]' -Password $(ConvertTo-SecureString -String '*****' -AsPlainText -Force)
    Unknown Error while communicating with O365 BEC Web Service (Exception type
    "Microsoft.Exchange.Management.BecWebService.CouldNotCreateBecSyncServiceException", message=
    "Microsoft.Exchange.Management.BecWebService.CouldNotCreateBecSyncServiceException: Couldn't create BEC Web Service:
    The matching certificate for certificateSubject CN=ExoProvToO365.outlook.com, OU=Microsoft Corporation, O=Microsoft
    Corporation, L=Redmond, S=WA, C=US couldn't be found.
    Parameter name: certificateSubject ---> System.ArgumentException: The matching certificate for certificateSubject
    CN=ExoProvToO365.outlook.com, OU=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=WA, C=US couldn't be
    found.
    Parameter name: certificateSubject
    at Microsoft.Exchange.Security.Cryptography.X509Certificates.TlsCertificateInfo.FindFirstCertWithSubjectDistinguishe
    dName(String certificateSubject, Boolean checkForValid)
    at Microsoft.Exchange.Management.BecWebService.BecWebServiceHelper.CreateService(Uri url)
    --- End of inner exception stack trace ---
    at Microsoft.Exchange.Management.BecWebService.BecWebServiceHelper.InvokeWithRetry[TResponse](Action operation)
    at Microsoft.Exchange.Management.BecWebService.BecWebServiceHelper.GetUserByUpn(GetUserByUpnRequest request)
    at Microsoft.Exchange.ProvisioningAgent.BecWebServiceLiveIdManager.GetMemberType(SmtpAddress memberName)", inner
    message "System.ArgumentException: The matching certificate for certificateSubject CN=ExoProvToO365.outlook.com,
    OU=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=WA, C=US couldn't be found.
    Parameter name: certificateSubject
    at Microsoft.Exchange.Security.Cryptography.X509Certificates.TlsCertificateInfo.FindFirstCertWithSubjectDistinguishe
    dName(String certificateSubject, Boolean checkForValid)
    at Microsoft.Exchange.Management.BecWebService.BecWebServiceHelper.CreateService(Uri url)")
    + CategoryInfo : NotSpecified: (0:Int32) [New-MailUser], RecipientTaskException
    + FullyQualifiedErrorId : [Server=SG2PR01MB0540,RequestId=d97a193e-91a7-4430-ac64-6b7003f5b9b0,TimeStamp=4/23/2015
    9:37:58 AM] [FailureCategory=Cmdlet-RecipientTaskException] 3F9FDA25,Microsoft.Exchange.Management.RecipientTasks
    .NewMailUser
    + PSComputerName : pod51053psh.outlook.com
    PS C:\Users\o365-user> New-ManagementRoleAssignment -Role 'ApplicationImpersonation' -User 'test1_1@smokeazu
    rebeta5.onmicrosoft.com'
    Couldn't find a user with the identity "[email protected]".
    + CategoryInfo : NotSpecified: (:) [New-ManagementRoleAssignment], ManagementObjectNotFoundException
    + FullyQualifiedErrorId : [Server=SG2PR01MB0540,RequestId=88777637-298d-4bb1-972f-b61161566a57,TimeStamp=4/23/2015
    9:37:59 AM] [FailureCategory=Cmdlet-ManagementObjectNotFoundException] 921A76AD,Microsoft.Exchange.Management.Rba
    cTasks.NewManagementRoleAssignment
    + PSComputerName : pod51053psh.outlook.com
    PS C:\Users\o365-user> New-ManagementRoleAssignment -Role 'Mailbox Search' -User '[email protected]
    microsoft.com'
    Couldn't find a user with the identity "[email protected]".
    + CategoryInfo : NotSpecified: (:) [New-ManagementRoleAssignment], ManagementObjectNotFoundException
    + FullyQualifiedErrorId : [Server=SG2PR01MB0540,RequestId=2b64d3a2-97da-4de5-be8c-00ad73452456,TimeStamp=4/23/2015
    9:38:00 AM] [FailureCategory=Cmdlet-ManagementObjectNotFoundException] 921A76AD,Microsoft.Exchange.Management.Rba
    cTasks.NewManagementRoleAssignment
    + PSComputerName : pod51053psh.outlook.com
    PS C:\Users\o365-user> Remove-PSSession $session
    PS C:\Users\o365-user>
    Thanks
    Budlion LIU

    Hello,
    Or you can also ask on Exchange Online Forum:
    https://social.technet.microsoft.com/Forums/msonline/en-US/home?forum=onlineservicesexchange
    Thanks,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Simon Wu
    TechNet Community Support

  • "OS X Update Combined (10.8.2) can't be installed on this disk. An error occurred while evaluating Javascript for the package."

    Need help with "OS X Update Combined (10.8.2) can't be installed on this disk. An error occurred while evaluating Javascript for the package."
    Any ideas or suggestions?
    Thanks

    Well, I've tried your solution without luck.
    So, I tried reinstalling OS X Mountain Lion (without formatting the HDD) and it worked! I did it like this:
    - Turned on my MBP while holding down Command-R to start OS X Recovery
    - Chose the option to reinstall OS X Mountain Lion
    After a while, the system rebooted and OS X 10.8.2 was already installed. All my data remained on the HDD since I didn't format it before reinstalling OS X.
    Hope it helps some of you with the same problem.

  • An error occurred while evaluating javascript for the package

    I need help. Whenever I try to install anything I get the error "an error occurred while evaluating javascript for the package." This occurs with installing a safari update or updating OS X. I am running with version 10.6.4 but can not update because I get the"an error occurred while evaluating javascript for the package" error. Any suggestions on how to repair my system?
    Thank You
    Neil

    Nobody?

  • Java for OS X 2013-005 can't be installed on this disk. An error has occurred while evaluating javascript

    I have a Mac Mini OS X 10.8.5. Try to do the Java update and got this message: Java for OS X 2013-005 can't be installed on this disk. An error has occurred while evaluating javascript for the package. I can't find a fix or a solution. How can I fix this? Any help would be appreciated

    If you have more than one user account, these instructions must be carried out as an administrator.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Select
    /var/log ▹ install.log
    from the hierarchical list on the left. If you don't see that list, select
    View ▹ Show Log List
    from the menu bar. Then select the messages from the last installation or update attempt, starting from the time when you initiated it. If you're not sure when that was, start over and note the time. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message (command-V).
    If there are runs of repeated messages, post only one example of each. Don’t post many repetitions of the same message.
    When posting a log extract, be selective. Don't post more than is requested.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Edit it out by search-and-replace in a text editor before posting.

  • [svn:bz-trunk] 23948: Bug##3200562: New Flex Session Id generated while disconnect with streaming amf channel

    Revision: 23948
    Revision: 23948
    Author:   [email protected]
    Date:     2012-06-13 06:11:35 -0700 (Wed, 13 Jun 2012)
    Log Message:
    Bug##3200562: New Flex Session Id generated while disconnect with streaming amf channel
    On session time out, Flex Client is invalidated on the server side. It also results in Flex Session getting invalidated. In order to complete the client-server streaming connection handshake, the client ends up sending a CLOSE command. On the server side, for any work to be done, the MB first needs to creates a Flex Session (if none exists). After doing the necessary cleanup, the newly created Flex Session will also be invalidated. No stray Flex Sessions will left dangling...
    Modified Paths:
        blazeds/trunk/modules/core/src/flex/messaging/endpoints/BaseStreamingHTTPEndpoint.java

  • Golive CS2 crashing with SFTP while synchronizing with server

    I'm using latest Update Golive CS2 (8.01) with SFTP.
    Sometimes Golive crashes while synchronizing with the server (publish-server -> Synchronize all; Sorry, can't remember the correct english context menue entry because i'm runnig german version).
    The error message box says:
    "Microsoft Visual C++ Runtime Library
    Buffer overrun detected
    Program: P:\Adobe\Adobe Golive CS2\GoLive.exe
    An buffer overrun has been detected which has corrupted the program's internal state. The program cannot safely continue execution and must now be terminated."
    If i use FTP, all is running fine.
    Deleting the Golive preferences did not result in any effort.
    On these servers runnig SFTP i cannot switch back to FTP because of privacy/confidentional reasons.

    I started having this exact same problem yesterday. I never had it before and nothing had changed on my system prior to the problem starting (no Windows updates, or others). Mine is also GoLive CS2. I have used it every since I purchased it direct from Adobe while it was still the "current version". And likewise, it happens when using SFTP for transfer.
    Thinking maybe a program file had become corrupted, I ran the installation over and selected "repair". It completed without issue. And I reactivated without any problem. But the issue still exists.
    Interestingly, certain files trigger it every time while it seems random otherwise. One file that will do it every time is a small gif image in one site. I recreated that image from scratch and it still does it.

  • Array of buttons with different boolean text ?

    I'm looking for a method of displaying a 2D button matrix with
    different boolean text on each button. It seems an array of booleans
    must all have the same text. Perhaps a cluster could be used, but the
    array makes button alignment easy and easy to determine which had been
    pressed (radiobutton style with only one button true at a time).
    Steve

    On 6 Dec 2002 05:31:21 -0800, [email protected] (humenik) wrote:
    >[email protected] (Steve Parus) wrote in message news:<[email protected]>...
    >> I'm looking for a method of displaying a 2D button matrix with
    >> different boolean text on each button. It seems an array of booleans
    >> must all have the same text. Perhaps a cluster could be used, but the
    >> array makes button alignment easy and easy to determine which had been
    >> pressed (radiobutton style with only one button true at a time).
    >It's easy to make them individuals in a cluster, and on the block
    >diagram use Cluster To Array to get it into array form for
    >manipulation. This can be superior to an array of buttons, not merely
    >because the buttons can thereby have differing colors and text. An
    >array of buttons cannot have the buttons Latched When Pressed; when in
    >a cluster, however, the latching action is available.
    When might that Latched When Pressed behavior be useful ? Using a 2D
    array of buttons (not cluster), in LV 6.1, a Value Changed event for
    the array can be used as you mention below to XOR the event's OldValue
    and NewValue and wire that to a local variable copy of the array.
    This easily gives a radio button effect for the entire 2D button
    matrix. The array control automatcially arranges the visual
    alignment of the buttons.
    For the cluster method, I'd like to programmatically change which
    button is true. All the approaches I come up with end up using
    Array-to-Cluster which then requires the cluster size to be specified.
    I may end up wanting to programmatically vary the number of buttons in
    both dimensions and hence the cluster size. LV's Align Objects and
    Distribue Objects ends up making the button visual alignment not
    difficult (for a 12 x 8 matrix).
    >Try this: take a cluster of four PB's (latched when pressed) put
    >inside a while loop. Initialize a boolean array of 4 to FALSE outside
    >the while loop, and attach it to a shift register input on the left
    >side of loop. Inside the loop, convert your cluster to an array. XOR
    >the shift register with this array from the buttons, and wire this to
    >the output shift register and to an indicator array. Set the boolean
    >to the loop so it will run free and start it up; on the control panel,
    >click on the PB's and you will see the outputs toggle.
    >
    >Greg

  • Problems While Working With CLOB fields

    HI Friends,
    I am facing one big problem while working with CLOB fields. I work in crystal reports in my project and My team is works in BMC Remedy tool. As per database configuration by default the date fields are stored in numbers. There is a field named Work Log which stores the complete history information of a ticket or a call.
    While generating reports I convert the date fields from numbers into date values by using to_date function. But I am not able to change the dates mentioned in the worklog which is a CLOB field. As a result when I am generating reports text part of the work log is comming fine but the date fields are comming in numbers.
    Please refer the below example:-
    *1291012455anilkumarptesting*
    Full Name:
    PRG Name - EUC-APP PKGN1291012585anilkumarptesting
    Full Name:
    PRG Name - EUC-APP PKGN1291012631anilkumarptest
    Full Name:
    PRG Name - EUC-APP PKGN1291207510anilkumarpfd
    Full Name: Anil Kumar Pantangi
    PRG Name - Prod_Ops1291207535anilkumarpf
    Full Name: Anil Kumar Pantangi
    PRG Name - Prod_Ops
    Assignment notification disabled for this transaction1291212517kapilbasd
    Full Name: Anil Kumar Pantangi
    PRG Name - Prod_Ops
    See the first line of the worklog "1291012455anilkumarptesting", 1291012455 is referring a date value, but due to database configuration it's comming in number. All the other numbers in the above text are dates only which need's to be converted. These dates are captured in remedy tool when someone updates that ticket.
    I am not able to decide how to change this numbers into dates. As it is containing lot's of numbers i am really confused how to come with a solution.
    Can I expect a solution from you, atleast a way how to proceed resolving this problem. Should I have to write a procedure for this??
    Please help..........
    Kindly let me know if you need any more input.
    Regards,
    Arijit

    937670 wrote:
    1291012455 represents a date value,What date value does it represent? Since it's not obvious to us what date you want that converted into, it's obviously hard for us to help. For example, perhaps you want that to be Jan 29, 2010 with "12455" representing a time component in some non-obvious format. Perhaps you want that to be December 1991 at 1:24:55. Perhaps you want to convert it to a completely different date. You're going to need to tell us in words how to convert your numeric data into a date.
    My question is how can I convert all the numbers into date in the CLOB field and present it in a proper manner.Given your sample data, what do you expect the output to be? Do you expect many rows of data, one for every date in the CLOB? Do you expect a comma-separated list? Something else?
    Justin

Maybe you are looking for

  • Appleworks bounces but will not open

    Please help! my appleworks applic. seems to have died! It's still there, but only 'bounces' as if opening and then nothing. I deleted the package and re-installed it with my friends, directly fire-wired from his laptop, but still it won't work. I hav

  • Ipod doesn't update all the library HELP

    I've had my iPod Mini for two years now. A month ago I downloaded iTunes 7 and since then it has been a nightmare. I removed it and installed back the original software that came initially with my iPod. I had to format my iPod and have to update it a

  • Installation APEX for Database 10.1.0.4.2 error

    Hi I installed the Oracle Database 10g (10.1.0.4.2) into my Windows XP Professional. I'm now trying to install the APEX version 2.2.1, but I'm getting the following error when I run the installation package from SQL*Plus Release 10.1.0.4.2: SQL> @F:\

  • DataBase Design For InvoiceSystems

    Sir I am doing my Final Year B.sc(Comp.sci), I am having my Oracle Project to do things. I just wan't a Detailed DataBase Design for Invoice Systems Please Could you help me in terms of DataBase Design......

  • Itunes accounts for families

    Hi, I was wondering if there was any kind of itunes account for families. Something that might allow a family to set up 1 main iTunes account that provides, say, 5 'sub' accounts, allowing each member of the family to log into the iTunes store with a