Validating DTD with sequence embedded into choice

Hey there!
I have a validation problem. My XML file is coming with a DTD specifying that the element choice has the following structure (look at target and resource - I want both of them or one of them only, and that's my solution):
<!ELEMENT choice ((question,target,answer,resource?,description?,number_of_questions?,query?)|
(question,target?,answer,resource,description?,number_of_questions?,query?))>According to me, this is a correct element declaration.
My XML document contains an element (amongst other):
<choice name="Personnes celebres">
    <question> Qui est la personne representee sur la photo</question>
    <answer> name </answer>
    <resource> picture </resource>
    <number_of_questions> 50 </number_of_questions>
</choice> According to me, it is valid according to the DTD, though when parsing, here is the code :
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
factory.setValidating(true);
DocumentBuilder builder = factory.newDocumentBuilder();
builder.setErrorHandler((ErrorHandler) new SimpleErrorHandler());
Document localDocument = builder.parse(file);   // <-- HERE I get this error:
org.xml.sax.SAXParseException: Element "choice" does not allow "answer" here.
        at org.apache.crimson.parser.Parser2.error(Parser2.java:3086)
        at org.apache.crimson.parser.ValidatingParser$ChildrenValidator.consume(ValidatingParser.java:349)
        at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1311)
        at org.apache.crimson.parser.Parser2.content(Parser2.java:1766)
        at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1494)
        at org.apache.crimson.parser.Parser2.content(Parser2.java:1766)
        at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1494)
        at org.apache.crimson.parser.Parser2.content(Parser2.java:1766)
        at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1494)
        at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
        at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
        at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433)
        at org.apache.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:185)
        at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:191)
        at quiz.server.QuizStructure.isValid(QuizStructure.java:85)
        at quiz.XMLFileFilter.accept(XMLFileFilter.java:35)
        at javax.swing.JFileChooser.accept(Unknown Source)
        at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread.run(Unknown Source) If the element "target" is present (and either or not the element "resource"), then everything works fine.
Can anybody help?
Thanks in advance.
Nick

still no idea?
nick

Similar Messages

  • Html pages with Flash embedded into mxml Html in Air?

    I am building an Air application in Flex 3.5 and am using the mxml HTML tag to load html pages. I am wondering how I can load swf files embedded in my html page? Is that possible?
    Thanks a lot for any help with this!

    You can access the OBIEE data via ODBC but only on Windows machines. If you install the client tools you will get the BI Server ODBC server which you can use to connect any Wep Application to OBIEE. If you want to integrate OBIEE within another site see this post, it might give an idea:
    Re: Sharepoint Integration through web parts

  • Can a digital magazine like Flipping Book be embedded into a site designed with Muse? If so how?

    Can a digital magazine like Flipping Book be embedded into a site designed with Muse? If so how?

    I assume you are talking about Flipping Book Publisher software (www.flippingbook.com). I have done this very easily. In the flipping book software you need to make sure that the sharing feature is enabled and export out the .html file. Once you have exported and you have it installed on your website, click on the sharing button on your flip
    catalog software. You can then copy the embed code from this window and paste it into Muse (see attached screen shot).

  • Close Browser Window with view button element when view embedded into fpm

    Hi,
    is it possible to build a button into a component view which is embedded into a fpm to close the browser window?
    tried to build a exit plug within the view/window of my component. But nothing happened. the window stays open
    Maybe is it an option to fire the fpm close plug of the fpm from my component view embedded into the fpm?
    Hope you can help me.
    Using the close button of the fpm is not an option because the window should automaticaly close when clicking on a button embedded into my component view.
    Kind Regards
    Rico

    Hello,
    one more question.
    Is it possible to change the method. so that the fpm opens within the same browser window instead of a new one?
    Maybe is there a solution with the portal?
    This is the Method to create a new Shopping cart. This opens a new browser window.
    method /SAPSRM/IF_CLL_DOM_SCW_FIN~CREATE_NEW_SHOPPING_CART.
    data:
           LV_TASKCONTAINER      TYPE REF TO /sapsrm/if_cll_task_container,
           ls_obn_components     type /sapsrm/s_wd_ui_obn,
           lo_navigation_service TYPE REF TO /SAPSRM/IF_CH_WD_NAVI_SERV.
    try.
      LV_TASKCONTAINER = mo_parent_bo_mapper->get_task_container( ).
      CALL METHOD lv_taskcontainer->GET_NAVIGATION_SERVICE
        RECEIVING
          RO_NAVIGATION_SERVICE = lo_navigation_service.
      ls_obn_components-obn_system = 'SAP_SRM'.
      ls_obn_components-object_type = 'sc'.
      ls_obn_components-operation = 'shop'.
      CALL METHOD LO_NAVIGATION_SERVICE->LAUNCH_TARGET
        EXPORTING
          IV_TARGET_TYPE          = /sapsrm/if_ch_wd_navi_serv_c=>gc_target_type-obn
          IS_OBN_COMPONENTS       = ls_obn_components
          IV_OBN_PARAM_CLASS      = /sapsrm/if_ch_wd_navi_serv_c=>gc_param_class-taskcontainer
          IV_OBN_PARAM_METHOD     = 'GET_OBN_PARAMETERS_RM'
      catch /SAPSRM/CX_PDO_ERROR_GEN.
    endtry.
    endmethod.

  • How can I export a Quicktime with Alpha embedded?

    I have a few titles that I've created in Premiere.  I've placed these titles into their own sequence and would like to export them as a Quicktime movie using the Animation codec with an embedded alpha channel (Millions+) so that I can import it into After Effects and do some animation work with them.  I don't want them against black though. 
    When I Export Media in Premiere and select Quicktime with the Animation codec, the "code settings" button is greyed out.
    Please help.  There must be a way to export media with an embedded alpha channel like you can in FCP.
    Thanks.

    WoOWavE_Sync_Pro,
    I don't see what is complicated about it at all. I don't mean to start an argument, but making a title is easy, exporting it with an Alpha channel is easy (as shown above). Where is the problem? Why go to TIFF? I certainly would never "export normally and key out the backgrounf (sic) in AE"
    Perhaps you would care to explain your comments in more detail?
    If you are interested in the font style I used, it came from Tim Kolb back in the CS3 days or before. I have a link to his styles on my web site. I used to count the downloads, but over the years I lost track.
    Of course, having said that, if I was going to have a complicated title with motion, I would use AE to begin with.  And I would probably use a downloaded template as a starting point. But that is because other people are more creative than I am. I am just a techie dabbling on the creative side of things.
    By the way, I suppose I should get around to testing your product. If I like it, I will post a link on my web site to direct people to it. Feel free to send me an email from my web site telling me why people should use it and what you want people to know about it. And you might want to suggest how to test it as well. I used to get a LOT of visitors every day. It has cut way back since I have not been updating it. Now that I have started to update it again, I expect the visitor count will rise again. The moderator is only doing his/her job. This is a site sponsored by a corporation, and advertising for other companies is probably not good form (besides being against the rules).
    http://www.stevengotz.com

  • Can I  use excel type functions embedded into an online pdf form, ie Qty x Price= total $

    Can I use excel type functions embedded into an online pdf form, ie Qty x Price= total $

    Let me tell you what I am sure about and what I am not sure about:
    I am sure that I want to be able to sell my products online. The industrial market that I sell to usually do not allow the maintenance people that find me on the web, do not have the ability to use credit cards in a typical shopping cart format due to the higher prices that the equipment I sell costs and that most people call me up to 'request a formal quotation' to give to their purchasing depart. So, my bright idea is to create numerous pdf files with very specific url's to match the very specific items that I sell. (1) item per pdf. I am thinking that the advantage to skipping the shopping cart approach and allowing the customer to fill in the qty of items, which would be mulitpled by the price of the item (a constant #) and then hitting a apply button, that would calculate subtotal price. Discounts for the qty the customer inputs (qty of items inputted by customer would be discounted on a percentage x base price) and a refresh the screen. It would allow for SEO advantages from what I have seen in the past in my very vertical market. All forms would be setup using the same functionality, just images, alt text, urls, and readable text would change.
    What I don't know- which is alot, then how to calculate shipping costs. I have a weight per item, which can be added up. I saw an Adobe blog that allows UPS shipping cost to be programmed in. I don't know how dreamweaver works, which was what the blog mentioned would allow for this updated, instantanious interface with UPS and calculating real shipping costs to a specific zip code. Shipping cost would be fluff to this page. The main thing would be to do allow the customer to be able to fill in a qty of the specific item on the page, calculate a discount if / then type thing, be able to have customer email to purchasing dept or print. I would date stamp it with verbage that pricing is valid for XX days and if I could get a copy emailed to me that would be icing on the cake. I believe that this non static pdf would be something different then the current competion and that it would allow for 100's of quotes to be generated without customers having to wait 15 minutes to an hour for me to process the exact document that they are looking for.
    Hajeks

  • Java with Derby embedded and threads - problem?

    Hello,
    been developing java app and recently switched to derby database. At first i insert some data into derby and my app populates fine. However when my app creates a new thread (to do something in background and then updates the derby database) it all goes wrong. The thread is not responding and the database is not updating..
    What could this be?
    Could this be a database issue with java,jdbc, derby or just threads in general?
    It was working before previously with my previous database: MySQL which runs in a separate process but an embedded derby just wont make it happen.

    you're probably right that i'm making conclusions early but i've done everything i could and the feeling is like you want to give up. You feel de-motivated.
    I've been switching a lot of databases and trying them out and it seems that i can't get it to work with the embedded databases for some reasons. Could it possibly be some other stuff that i'm running in the background.
    Because, my background tasks is really heavy:
    - it creates a few threads to do tasks which some of them recieve information remotely from other machines, a few loops here and there, a few other threads with starts up a few processes (external exe's) to do some work and finally a few threads to do some calculation & update the database..
    But on the brightside i know my app works with my local MySQL database which runs in a separate process. I can also get my app to work with an online database on a hosting site - but the connection is very very slow (20 times as much time it takes to connect, i actually timed it.)

  • Validation Errors with new Install of W7 x64 Ent Debug Checker On New Equipment

    I am receiving multiple Errors. I am trying to use the Windows 7 x64 Enterprise which happens to be the Debug Checker version OS as the host machine.  I have only built the machine, and tried to load the Drivers.
    I say this due to the starting issue that upon the loading of the entire driver set, (for the MB, Seagate Harddrive, and Vid Card), I would get the BSOD.  I identified that the Bluetooth driver was the issue.  I then did not load the Bluetooth
    drivers for the MB on the 5<sup>th</sup> or so install of the 7 Ent os.  (Tried Server 2k8 r2. Which is not compatible with the MB Drivers.)
    I have not received a single Update either.  The Auto update feature claims that I am up to date.  I do not believe this due to the fact that any fresh Install of any OS has about several decades of updates and reboots to go through.
    Upon trying the suggestions on the forum about turning off the IE Addons, the errors remain.  Also the results of the sfc /scannow are copied below.
    My Questions
    I am seeking assistance on solving the Errors that have refused to leave me alone , to put it humorously and am asking for your insight and wisdom.  Will you take a look??
    Do I need to go to Win 7 Ent or Ult x64 that is not a Debug Checker version.
    Are there other Microsoft download Registery file checkers besides the MGA Diag tool that are freeware that I can use to check, for corrupted registry files.
    Or do I just need to take it to the stores (Fry’s and Microcenter) that recommended the equipment and have them just reload the software and allow them the headache of solving the error issue, by paying them to install the drivers and have ALL of the
    drivers work. (including the blue tooth)
    The Goal is to turn it into a Active Directory Server using Virtual Box with Server 2k8 R2 running in the virtual box environment.
    Errors and Results.
    There are also a number of logs that show various Crit, Error, and Warning logs.  I will include those if need be.
    This is the majority of the error messages, and I have missed the opportunity to capture others.
    Internet explorer encountered Validation errors:
    Validation Error
    i.     
    Process Name: iexplorer.exe
    ii.     
    Module Name : mshtml.dll
    iii.     
    Assert offset: 0000000000B221DB
    Validation Error
    i.     
    Process Name: iexplorer.exe
    ii.     
    Module Name : comctl32.dl
    iii.     
    Assert offset: 00133A2A
    Validation Error
    i.     
    Process Name: iexplorer.exe
    ii.     
    Module Name : mshtml.dll
    iii.     
    Assert offset: 008BE823
    Validation Error
    i.     
    Process Name: iexplorer.exe
    ii.     
    Module Name : mshtml.dll
    iii.     
    Assert offset: 0040F9E8
    Validation Error
    i.     
    Process Name: iexplorer.exe
    ii.     
    Module Name : iertutil.dll
    iii.     
    Assert offset: 001DEC51
    Validation Error
    i.     
    Process Name: iexplorer.exe
    ii.     
    Module Name : KERNELBASE.dll
    iii.     
    Assert offset: 00014159
    Validation Error
    i.     
    Process Name: iexplorer.exe
    ii.     
    Module Name : mshtml.dll
    iii.     
    Assert offset: 0000000000B221DB
    Microsoft Management Console Encountered a Validation Error
    Validation Error
    i.     
    Process Name: mmc.exe
    ii.     
    Module Name : ieframe.dll
    iii.     
    Assert offset: 00000000006C9283
    Scripted Diagnostics Native Hot encountered a Validation Error
    Validation Error
    i.     
    Process Name: sdiagnhost.exe
    ii.     
    Module Name : urlmon.dll
    iii.     
    Assert offset: 00000000001A0A73
    Validation Error
    i.     
    Process Name: sdiagnhost.exe
    ii.     
    Module Name : KERNELBASE.dll
    iii.     
    Assert offset: 0000000000017f32
    Windows System Assessment Tool encountered a validation error
    Validation Error
    i.     
    Process Name: winsat.exe
    ii.     
    Module Name : KERNELBASE.dll
    iii.     
    Assert offset: 0000000000017F32
    Windows Explorer Encountered a validation Error
    Validation Error
    i.     
    Process Name: Explored.exe
    ii.     
    Module Name : thumbcache.dll
    iii.     
    Assert offset: 00000000000300BE
    AI Suite 2 encountered a validation error
    Validation Error
    i.     
    Process Name: AI Suite 2.exe
    ii.     
    Module Name : ntdll.dll
    iii.     
    Assert offset: 000686BD
    the number “2” is the substitutedfor the roman numeral 2
    I believe that this is part of the MB Suite.
    My the environment is a new equipment, and Downloaded student software. Windows 7 Enterprise SPK 1 Debug Checker, Valid Key with the software download.  Activated on 8-12-2012
    Motherboard: Asus p9x79 Deluxe, Part number: 90-mibh50-g0aay0kz
    Chip Set: bx80619i73930k
    2x Memory: cmx16gx3m2a1600c11 Corsair
    Video Card: Diamond R7870 2GB DD OC 2xDVI/HDMI/2xDisplayport memory Clock 1250 MHz
    Hard Drive: 9jb1n3-574 (leave the last two didgets off when searching in the browser) This is a Seagate 2TB
    Generic optic drive: SH-222bb/bebe Samsung
    Here is the Microsoft Fix It error code
    Assertion Failed!
    Program:…
    File: d:\w7rtm\ds\security\cryptoapi\pki\...\newstor.cpp
    Line: 2131
    Expression: pStore->dwState = = STORE_STATE_OPEN || pStore->dwState = = STORE_STATE_OPENING || pStore->dwState = = STORE_STATE_DEFER_CLOSING || pStore->dwState = = STORE_STATE_NULL
    For information on how your program can cause an assertion failure, see the Visual C++ documentation on asserts
    (Press Retry to debug the application – JIT must be enabled)
                    Abort    Retry     Ignore
    Abort
    Closes the program
    Retry
    Repeats the error
    Verbatim
    Ignore
    Closes the program
    Nothing happens
    Here is the Microsoft Genuine Advantage Diagnostic Report
    Diagnostic Report (1.9.0027.0):
    Windows Validation Data-->
    Validation Code: 0
    Cached Online Validation Code: N/A, hr = 0xc004f012
    Windows Product Key: *****-*****-*****-*****-8C7YB
    Windows Product Key Hash: cezvXJ2/mUhIEFxJfWkZ3IN8EQQ=
    Windows Product ID: 55041-146-2397786-86942
    Windows Product ID Type: 6
    Windows License Type: Volume MAK
    Windows OS version: 6.1.7601.2.00010100.1.0.004
    ID: {EBD85729-DBBB-479F-AB15-EBC0DDE0CC28}(1)
    Is Admin: Yes
    TestCab: 0x0
    LegitcheckControl ActiveX: N/A, hr = 0x80070002
    Signed By: N/A, hr = 0x80070002
    Product Name: Windows 7 Enterprise
    Architecture: 0x00000009
    Build lab: 7601.win7sp1_rtm.101119-1850
    TTS Error:
    Validation Diagnostic:
    Resolution Status: N/A
    Vista WgaER Data-->
    ThreatID(s): N/A, hr = 0x80070002
    Version: N/A, hr = 0x80070002
    Windows XP Notifications Data-->
    Cached Result: N/A, hr = 0x80070002
    File Exists: No
    Version: N/A, hr = 0x80070002
    WgaTray.exe Signed By: N/A, hr = 0x80070002
    WgaLogon.dll Signed By: N/A, hr = 0x80070002
    OGA Notifications Data-->
    Cached Result: N/A, hr = 0x80070002
    Version: N/A, hr = 0x80070002
    OGAExec.exe Signed By: N/A, hr = 0x80070002
    OGAAddin.dll Signed By: N/A, hr = 0x80070002
    OGA Data-->
    Office Status: 109 N/A
    OGA Version: N/A, 0x80070002
    Signed By: N/A, hr = 0x80070002
    Office Diagnostics: 025D1FF3-364-80041010_025D1FF3-229-80041010_025D1FF3-230-1_025D1FF3-517-80040154_025D1FF3-237-80040154_025D1FF3-238-2_025D1FF3-244-80070002_025D1FF3-258-3
    Browser Data-->
    Proxy settings: N/A
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Win32)
    Default Browser: c:\Program Files (x86)\Internet Explorer\iexplore.exe
    Download signed ActiveX controls: Prompt
    Download unsigned ActiveX controls: Disabled
    Run ActiveX controls and plug-ins: Allowed
    Initialize and script ActiveX controls not marked as safe: Disabled
    Allow scripting of Internet Explorer Webbrowser control: Disabled
    Active scripting: Allowed
    Script ActiveX controls marked as safe for scripting: Allowed
    File Scan Data-->
    File Mismatch: C:\Windows\system32\wat\watadminsvc.exe[Hr = 0x80070003]
    File Mismatch: C:\Windows\system32\wat\npwatweb.dll[Hr = 0x80070003]
    File Mismatch: C:\Windows\system32\wat\watux.exe[Hr = 0x80070003]
    File Mismatch: C:\Windows\system32\wat\watweb.dll[Hr = 0x80070003]
    Other data-->
    Office Details: <GenuineResults><MachineData><UGUID>{EBD85729-DBBB-479F-AB15-EBC0DDE0CC28}</UGUID><Version>1.9.0027.0</Version><OS>6.1.7601.2.00010100.1.0.004</OS><Architecture>x64</Architecture><PKey>*****-*****-*****-*****-BBBBB</PKey><PID>55041-146-2397786-86942</PID><PIDType>6</PIDType><SID>S-1-5-21-4234423899-2489109333-1931045272</SID><SYSTEM><Manufacturer>System
    manufacturer</Manufacturer><Model>System Product Name</Model></SYSTEM><BIOS><Manufacturer>American Megatrends Inc.</Manufacturer><Version>1103</Version><SMBIOSVersion major="2" minor="7"/><Date>20120409000000.000000+000</Date></BIOS><HWID>CFBA3607018400F2</HWID><UserLCID>0409</UserLCID><SystemLCID>0409</SystemLCID><TimeZone>Pacific
    Standard Time(GMT-08:00)</TimeZone><iJoin>0</iJoin><SBID><stat>3</stat><msppid></msppid><name></name><model></model></SBID><OEM/><GANotification/></MachineData><Software><Office><Result>109</Result><Products/><Applications/></Office></Software></GenuineResults> 
    Spsys.log Content: 0x80070002
    Licensing Data-->
    Software licensing service version: 6.1.7601.17514
    Name: Windows(R) 7, Enterprise edition
    Description: Windows Operating System - Windows(R) 7, VOLUME_MAK channel
    Activation ID: 9abf5984-9c16-46f2-ad1e-7fe15931a8dd
    Application ID: 55c92734-d682-4d71-983e-d6ec3f16059f
    Extended PID: 55041-00172-146-239778-03-1033-7601.0000-2252012
    Installation ID: 000792957432055771547065313840421702569731971164600080
    Processor Certificate URL: http://go.microsoft.com/fwlink/?LinkID=88338
    Machine Certificate URL: http://go.microsoft.com/fwlink/?LinkID=88339
    Use License URL: http://go.microsoft.com/fwlink/?LinkID=88341
    Product Key Certificate URL: http://go.microsoft.com/fwlink/?LinkID=88340
    Partial Product Key: 8C7YB
    License Status: Licensed
    Remaining Windows rearm count: 5
    Trusted time: 8/12/2012 5:47:25 PM
    Windows Activation Technologies-->
    HrOffline: 0x00000000
    HrOnline: N/A
    HealthStatus: 0x0000000000000000
    Event Time Stamp: N/A
    ActiveX: Not Registered - 0x80040154
    Admin Service: Not Registered - 0x80040154
    HealthStatus Bitmask Output:
    HWID Data-->
    HWID Hash Current: OAAAAAEAAgABAAEAAgACAAAABAABAAEAHKJu3XDSdMRkx4ieoGkwung0ipvkrmTRDIsORc6qNCE=
    OEM Activation 1.0 Data-->
    N/A
    OEM Activation 2.0 Data-->
    BIOS valid for OA 2.0: yes, but no SLIC table
    Windows marker version: N/A
    OEMID and OEMTableID Consistent: N/A
    BIOS Information:
      ACPI Table Name           OEMID Value     OEMTableID Value
      APIC                                    ALASKA                               
    A M I
      FACP                                   ALASKA                               
    A M I
      HPET                                    ALASKA                               
    A M I
      MCFG                                 ALASKA                               
    OEMMCFG.
      SSDT                                    AMICPU                              
    PROC
    Scan Now Results
    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
    C:\Windows\system32>sfc /scannow
    Beginning system scan.  This process will take some time.
    Beginning verification phase of system scan.
    Verification 100% complete.
    Windows Resource Protection did not find any integrity violations.
    C:\Windows\system32>

    Thank you for your valuable time.
    I have performed the Chkdsk and the memory Diagnostic tool as per the suggestions.
    The Memory Tool did not find anything amiss.
    As per another thread I am going to try flashing the bios as well with the updates.
    Following are the Chkdsk results.
    Are there any other suggestions?
    Chkdsk Results
    Checking file system on C:
    The type of the file system is NTFS.
    A disk check has been scheduled.
    Windows will now check the disk.                        
    CHKDSK is verifying files (stage 1 of 5)...
      89600 file records processed.                               
              File verification completed.
      221 large file records processed.                                     
    0 bad file records processed.                                       
    1596 EA records processed.                                             
    44 reparse records processed.                                      
    CHKDSK is verifying indexes (stage 2 of 5)...
      131874 index entries processed.                                        
    Index verification completed.
      0 unindexed files scanned.                                           0
    unindexed files recovered.                                       CHKDSK
    is verifying security descriptors (stage 3 of 5)...
      89600 file SDs/SIDs processed.                                        
    Cleaning up 36 unused index entries from index $SII of file 0x9.
    Cleaning up 36 unused index entries from index $SDH of file 0x9.
    Cleaning up 36 unused security descriptors.
    Security descriptor verification completed.
      21138 data files processed.                                           
    CHKDSK is verifying Usn Journal...
      36120296 USN bytes processed.                                            
    Usn Journal verification completed.
    CHKDSK is verifying file data (stage 4 of 5)...
      89584 files processed.                                                
    File data verification completed.
    CHKDSK is verifying free space (stage 5 of 5)...
      476262075 free clusters processed.                                        
    Free space verification is complete.
    Windows has checked the file system and found no problems.
    1953410047 KB total disk space.
      48065140 KB in 61610 files.
         43468 KB in 21139 indexes.
             0 KB in bad sectors.
        253139 KB in use by the system.
         65536 KB occupied by the log file.
    1905048300 KB available on disk.
          4096 bytes in each allocation unit.
     488352511 total allocation units on disk.
     476262075 allocation units available on disk.
    Internal Info:
    00 5e 01 00 ef 42 01 00 ef 95 02 00 00 00 00 00  .^...B..........
    e3 00 00 00 2c 00 00 00 00 00 00 00 00 00 00 00  ....,...........
    6d 00 75 00 69 00 00 00 00 00 00 00 00 00 00 00  m.u.i...........
    Windows has finished checking your disk.
    Please wait while your computer restarts.

  • I received an email with an embedded QuickTime song. It plays but I would like to save it to my device so I may bypass retrieving it via email. How do I do this?

    I have an iPhone4. I thought it came with the QuickTime application but cannot find it currently installed in my phone. I received an email with an embedded QuickTime song how can I bypass the email and save the music to my device? There is no difficulty accessing or playing the music.

    Thanks Michael, this truth gradually became clear to me as I experimented. 
    Here's my workaround:  Label the audio track something other than music and it will sync.  It this case I called it a podcast and I could transfer the audio.
    I will be provideing feedback to Apple but I am sure it's something they must be working on. 
    At the moment the only way to send an audio track labeled MUSIC to your iCloud enabled iPhone is to drag it into iTunes, upload it to the cloud, put it in a playlist, sync the iPhone then go to that synced playlist and re-download the track.  Cumbersome doesn't quite capture it.  Facepalm gets closer.
    Looking forward to seeing iCloud mature.

  • Not all chinese characters display correctly with non-embedded text

    Hi all,
      I've updated to the last beta 2 of Flash Player 10.1 (10,1,51,66) and compiled this simple Flex application to illustrate the fact that not all chinese characters can be displayed correctly with non-embedded text (device font).
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/halo"
                   minWidth="1024" minHeight="768"
                   creationComplete="resourceManager.localeChain = ['zh_CN'];"
                   layout="{new VerticalLayout()}">           
        <fx:Script>
            <![CDATA[
                import spark.layouts.VerticalLayout;
            ]]>
        </fx:Script>
        <s:Label text="伜-伞伟传伡伢伣伤伥伦伧伨伩伪伫伬伭-伝">
        </s:Label>
        <mx:Label text="伜-伞伟传伡伢伣伤伥伦伧伨伩伪伫伬伭-伝"/>       
    </s:Application>
      Notice that characters from the Unicode range 0x4F1E .. 0x4А2D are not displayed within <s:Label> component that uses Flash Text Engine (FTE) by default to display the text, but at the same time those characters display just fine within older <mx:Label> component that relies on flash.text.TextField instance to render the text.

        OK, did not know that "Arial Unicode MS" font is only distributed with Microsoft Office, was looking into relying on this font in case if "simsun.ttc" font is not available at the user's system, by using the following:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx"
                   minWidth="1024" minHeight="768"
                   creationComplete="resourceManager.localeChain = ['zh_CN']"
                   layout="{new VerticalLayout()}">               
        <fx:Style>
            @namespace s "library://ns.adobe.com/flex/spark";
            @namespace mx "library://ns.adobe.com/flex/halo";
            s|Label {
                fontFamily: "Arial Unicode MS, SimSun, Arial";            
        </fx:Style>   
        <fx:Script>
            <![CDATA[
                import spark.layouts.VerticalLayout;
            ]]>
        </fx:Script>
        <s:Label id="sparkLabel" text="伜-伞伟传伡伢伣伤伥伦伧伨伩伪伫伬伭-伝"/>   
    </s:Application>  
    Tough decision ahead, but accordingly to  the survey at codestyle.org (2000 participants from 2007 year and onwards), Arial Unicode MS is present at 62.53%% system surveyed.
    ps
       My current install of Windows XP already includes the install of Microsoft Office 2007 and I've also enabled/disabled the support of East Asian languages, thus the content of  my "fonts" folder differs now significantly from "clean" Windows XP install version.
    Nevertheless I found the page with comprehensive lists of standard fonts installed with different releases of Windows that looks viable here:  http://www.kayskreations.net/fonts/fonttb.html

  • Safari won't display XML content with an embedded stylesheet

    I'm using Safari 5.0.2 on Windows XP. I cannot get it to display an XML document with an embedded CSS stylesheet. The file in question appears in this ZIP file: http://www.hl7.org/documentcenter/ballots/2011JAN/downloads/CDAR2IG_SDISP_R1_D12011JAN.zip
    That document demonstrates is an attempt to enable display of standardized healthcare content in common web browsers. Can anyone here help?

    I have a separate bug report to Chrome on this one, same general result in display. The file is an XML document, not a CSS style-sheet. It contains an xml-stylesheet processing instruction that has a local URI #hl7-css-for-cda pointing to an element in the XML that contains the CSS stylesheet. That element uses xml:id to identify itself, so it is (according to the W3C) possible for the browser to determine that element as being the target of the URI.
    The problem appears to be that the Display Engine in Safari won't load the content of that URI as a CSS stylesheet.
    When I validate the CSS content in that XML element it returns as being valid CSS, and when I validate the XML using my XML editor, it is both well formed, and valid against the XML Schema appropriate to that file.

  • Problems with Sequence Operator in OWB

    Hi everybody,
    i want to use a sequence in my mapping. Now i have two problems.
    The first problem is the following. When i want to import my sequence (exists on my DB) i can select the sequence in the Selection Window, but when i click on Import i didn't see it in the Design Center, also there is no window which tells me that i have successfully imported the sequence.
    The second problem is, when i drag the Sequence Operator into my Mapping i shows the Selection Window where i have to select the poject and object to bind the operator. But i can't select any object.
    Can anyone help me with my problems and tell me how i can use a Sequence and the Sequence Operator in my Mapping
    Many thanks in advance.
    Greetings

    Hi everyone!
    I'm having a repeated problem with sequences in OWB: I'm filling a TIME table with 1096 rows. Now matter how and when I create the sequence it always starts with 2 instead of 1. Moreover, the last value of the sequence is 1101, when it was supposed to be 1097 or 1098....
    I did achieve the right ouput sometimes, but I must be doing something wrong. Here are the several ways I've tried in OWB:
    1) I've created all the sequences by sql code, in SQL DEVELOPER or PLUS*, and then imported to OWB. Because of being imported, I didn't have to deploy each sequence. Then, I've connected (by drag and drop to the canvas mapping) the sequence I wanted with NEXTVAL (as I always do) attached do TIME_ID of table TIME;
    2) I've dropped and created, several times(as before), the sequences and never had problems..until now. I've also experimented creating, by scratch, the sequences just in OWB and then deploy them in Control Center. After this, deployed the mapping and executed, just like in 1).
    So, the difference lies on how I create the sequences and what are the correct steps to create, deploy (if needed), deploy the map and execute the map.
    This is insain and I really need this to work. I've tried so many ways....
    Could someone PLEASE help me with this? Any thoughts?

  • Can i use PXIe-1073 with an embedded PXIe controller PXIe-8108

    I have a PXI express chassis PXIe-1073 with an integrated controller MXI-Express controller PCIe-8361. I now want to use the chassis as a standalone system with an embedded controller.
    (a)Can i use PXIe-1073 chassis with PXIe-8108 embedded controller
    (b)Can i use a windows based laptop to control the PXIe-1073 via the PCIe-8361 integrated controller.

    Hello kanad,
    The PXIe-1073 is a MXI-integrate chassis.  This means that the MXI card that would normally go into the controller slot (slot 1) is built into the chassis.  The PCIe-8361 or Expresscard8360 are placed into the desktop or laptop, respectively, and connect to the chassis.  The cards in the PXIe-1073 then appear as if they are part of the desktop of laptop.
    Since the controller is built into the chassis, the PXIe-1073 does not have a slot 1.  Controllers, such as the 8108 can only be plugged into slot 1.  Therefore, the PXIe-1073 can only be controlled by the desktop or laptop MXI link.  It cannot run standalone with an embedded controller.
    Consider reading page 1-3 and 1-6 in the manual below:
    NI PXIe-1073 User Manual and Specifications
    Regards, 
    George T.
    Applications Engineering Specialist
    National Instruments UK and Ireland

  • Work with SEQUENCE, Help me, I'm a NeewbY!

    Hi to all, I've a problem,
    I want to create a form based on db that uses sequence (auto-number) for the primary key.
    I'm working with Jdeveloper+ jheadstart (to build Model & view controller)
    I don't want to insert the PK, i want that ID is inserted automatically in the form (in the master and also in detail form)....there are a way like p_session (of Portal) or where can I insert an simple PL/SQL (or sql) code??
    Thabk you, I'm a very very beginner!
    (Note the Master have a PK_1 with sequence but not a trigger, the detail have a form composed by a PK_2 (with sequence and trigger), FK_1 (linked to PK_1), and another FK_2)

    Hi,
    Why you didn't create a trigger? With trigger you can create entry with ID=null, then trrigger calls the sequence automatically to populate the ID.
    If needed:
    CREATE OR REPLACE
    TRIGGER ASSIGN_MYTABLE_ID BEFORE INSERT ON MYTABLE
    FOR EACH ROW
    BEGIN
    IF :NEW.MYTABLE_ID IS NULL OR :NEW.MYTABLE_ID < 0 THEN
    SELECT MYTABLE_SEQ.NEXTVAL
    INTO :NEW.MYTABLE_ID
    FROM DUAL;
    END IF;
    END;
    Regards,
    Tif

  • Are keywords added through Lightroom embedded into the file itself?

    I'm new to Lightroom. I'm looking for a way to organize my pictures and videos. But I'm also hestitant because I have no idea whether Lightroom will be around 10, 15 or 20 years from now. When I apply a keyword to a file, is that keyword permanently embedded into the file itself? The reason I'm asking is I'm most likely going to spend a ton of time applying keywords to my files. What happens if 10 years down the road Lightroom disappears or a need to move to a new program? Are the keywords dependent on Lightroom or will the keywords that I add to the picture and videos remain with those files and be recognized by the new program?

    Yes, LR writes the keywords, and indeed all the metadata from the right-hand side (title, caption, capture date, etc.), into industry-standard fields in the image's file.  LR is reasonably compliant with industry standards, so you can be confident that your data will be read by programs in the future.
    Most people set the option Catalog Settings > Metadata > Automatically Write Changes Into XMP, which will write the metadata back to the file in background after you change it.  If you don't set that option, you'll have to manually do Metadata > Save Metadata To File.
    Important note for video: LR does not fully support video metadata, and it doesn't write any metadata back to videos.  So if you want your metadata to get written back to the file system independent of the LR catalog, you'll need to use either the  Video Asset Management plugin or the Any File plugin to manage your video.  These third-party plugins create "sidecar" JPEG files into which your metadata changes will be stored.

Maybe you are looking for

  • Is there something better than CMD+Z for mass UNDOs?

    After a month of superb Macprovideo training in FCPX and futile searches of the "worthless" FCPX help[less] document, I cannot find more on a VERY BASIC subject that pertains to everybody using FCPX. EDITING HISTORY:  Since we have NO control over ou

  • Auto clicker script constantly running cant close it help!!

    i tried to get auto clicker for my mac, to play minecraft and i set it on the script to click 10 times a second. now it wont let me click on the mouse or use the keyboard. i have tried turning it off and back on a few times and still nothing all i wa

  • Windows 2008 and JRE 1.4.2_13 and xMII 11.5

    Is xMII 11.5 supported on Windows 2008, specifically, does JRE 1.4.2_13 work, and will Servlet Exec work on that version of OS? Thanks, Todd

  • Dynamic Table using drag and drop table columns

    Hi, I want to create an ADF table which allows me to insert new columns from the list of columns. List of columns will be shown in the tree. I would like to drag a tree node to the table, table should highlight where i can drop the node. Once, i drop

  • Best Practice regarding a Re-classification

    Hi We are on 4.7. An amount had been transferred from Trade Debors to Trade Debtors Retention (Special GL) using FB01 (Cr. customer A & Dr. Customer A - with Sp GL. This caused us an issue during month-end by creating a DUMMY PC entry. This, I unders