When not to preserve DOM fidelity

Does not preserving DOM fidelity helps performance in any way ?
What are the use cases where it makes sense to not preserve the DOM fidelity ?

Here's a complexType definition I have
      <xsd:complexType name="TextType" xdb:SQLType="MYC_TEXT_T">
            <xsd:simpleContent>
                  <xsd:extension base="xsd:string">
                        <xsd:attribute ref="xml:lang" xdb:SQLName="LANG" xdb:SQLType="VARCHAR2"/>
                  </xsd:extension>
            </xsd:simpleContent>
      </xsd:complexType>Notice that the LANG attribute is defined as a ref to "xml:lang", and for the xml name-space I also have in the beginning of my schema
<xsd:schema targetNamespace="http://www.mycompany.com/dictionary/2.0"
xmlns:mycompany="http://www.mycompany.com/dictionary/2.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xml="http://www.w3.org/XML/1998/namespace" elementFormDefault="qualified" attributeFormDefault="unqualified"
xmlns:xdb="http://xmlns.oracle.com/xdb" xdb:storeVarrayAsTable="true">
      <xsd:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd"/>Now if I define the "TextType" Complex-type with xdb:maintainDOM="false", then the schema registers fine, but I cannot insert any data, I get the message ,
ERROR at line 1:
ORA-30937: No schema definition for 'lang' (namespace '##local') in parent
'/item-list/item[1]/title[1]'
ORA-06512: at line 6But I am able to successfully insert if I remove the maintainDOM=false from the TextType defn.
So looks like DOM fidelity is required if support for multiple name-spaces is required.

Similar Messages

  • Hypertext links are not always preserved from Word to PDF, using Aperçu or Adobe, depending on OS 10 or Lion. Why? This generally works perfectly in Windows. Why are Apple and Adobe unable to correctly handle links when converting from Word to PDF?

    Hypertext links are not always preserved from Word to PDF, using Aperçu or Adobe, depending on OS 10 or Lion. Why? This generally works perfectly in Windows. Why are Apple and Adobe unable to correctly handle links when converting from Word to PDF?
    Depending on the system version, and Office Word version:
    - a pure URL link starting with http or even www sometimes works in PDF, either produced by Aperçu or Adobe, sometimes does not work;
    - other kind of links where the text under display is not a URL, never work!
    I like everything with Apple computers and software, except PDF generation. Output files are usually bigger in size, and no better quality, than under Windows. Furthermore, it is weird that something as common as hyperlinks does not work correctly!
    I related this question with Mac OS X Snow Leopard, but the problem is still there with Mac OS Lion.
    This problem seems to have been around for years, without any proper solution from Apple and/or Adobe! To me, this is very embarrassing!

    Greetings NoNameGiven,
    If I understand the problem correctly (I’m not sure I do) you would prefer ‘iii’ to be read as “eye eye eye” rather than “three”? The alt text property is the only way that I know of to make this happen. Hope this helps.
    a ‘C’ student

  • Should I disable wi-fi when not using it ? Will this preserve the Battery?

    When I`m at home,should I disable the wi-fi when not using the internet ? Does this preserve the battery?

    http://ipod.about.com/od/iphone3g/tp/iphone-battery-life.htm
    #5 on the list to preserve battery:
    Keep Wi-Fi Off
    The other kind of high-speed network that the iPhone can connect to is Wi-Fi. Wi-Fi is even faster than 3G, though it’s only available where there’s a hotspot (not virtually everywhere like 3G). Keeping Wi-Fi turned on at all times in hopes that an open hotspot will appear is a sure way to drain your battery life. So, unless you’re using it right this second, keep Wi-Fi turned off.
    Find it in Settings -> WiFi -> Slide to Off

  • How to set dom fidelity to false on an already registered schema

    How to set dom fidelity to false on an already registered schema
    Thanks
    Message was edited by:
    uraees

    I guess that you will have to annotate the schema via updating schema or inserting the "xdb annotation" to deactivate the DOM fidelity. Reasoning from the most difficult situation that objects (XMLType objects created via registering the schema) are linked to the schema, this is probably not a supported way to do it.
    Schema evolution is supported though, this would be the supported way to do it...
    Do you have more info (including the database version in use)?

  • Application no longer assignable to a desktop in Spaces. Useable only in full screen, can't access it when not in full screen.

    This is a repost to correctly ID this as a Spaces issue. I am using a MacBook Pro with a second monitor in extended desktop. I put iMovie in full screen and when I put it back, it disappeared off of both desktops. I can see it in Spaces and I can use it in full screen. However, it is not available when not in full screen. When I drag and drop it in Spaces to a desktop, it animates off of the top of the screen versus landing on that desktop. I have tried to change the application assignment by right clicking on the iMovie Icon > Options > Assign To, but it affects nothing. I have rebooted both with the external monitor and without, I have uninstalled and reinstalled iMovie and I have tried many combinations of screen resolutions and it is still assigned somewhere other than a desktop. It appears to no longer be associated with or assignable to a desktop. Anyone have any ideas?

    Can you access iMovie without being in fullscreen when you do not have an external monitor connected? I cannot. No matter the monitor configuration, it is only accessible in full screen for me.
    I agree - it is for sure a bug.

  • Re: [iPlanet-JATO] Re: session timeout when not submitting to a handler

    Mark--
    I know what's happening here, but am curious about your approach. You said
    in an earlier email that you were generating links directly to JSPs, but
    from what you are describing, you are generating JATO-style links to access
    JATO pages. Nothing wrong with that, but there is a signficant difference.
    Actually, it just occurred to me, I'm wondering what your URLs look like.
    The way the request dispatching works in JATO is it ignores anything after
    an initial "." in the final part of the URL path. For example, a request
    for "/myapp/module1/MyPage.jsp" doesn't actually try to hit the JSP, instead
    it tries to hit the JATO page "/myapp/module1/MyPage".
    The end result is that you may think you are accessing a JSP directly, but
    are instead accessing a JATO page. The reason the request dispatching works
    this way is because it is illegal to access JATO JSPs directly, and there is
    actually a (disabled) JATO feature that piggybacks on the use of the
    dot-delimited URL.
    So, now I need to understand your intent. I wasn't really sure why you were
    generating direct JSP/page links to begin with. This works against the Type
    II architecture JATO uses, in which all JATO requests go back to the
    controller servlet.
    If you are trying to design something like a menu page, you may have thought
    that it was burdensome to create a number of HREF children, plus implement
    event handlers for each of them. This definitely would be burdensome beyond
    just a handful of links, but this is why JATO provides other mechanisms for
    doing what I'll call here "polymorphic HREFs".
    Assuming this menu page scenario, the easiest thing to do is to simply use
    one HREF child on the page, and add a value to it each time it is rendered
    that distinguishes it from the other instances on the page. In your event
    handler for the HREF, you simply check this value and use it to decide which
    page to forward to. You can add a value to an HREF or Button by using the
    "addExtraValue()" method. Or, if you are using JATO 1.2, you can add extra
    query string NVPs right in the JSP document using the "queryParams"
    attribute of the <jato:href> tag. Thus, your one HREFchild and event
    handler become "polymorphic" because what they do depends on the context in
    which they are invoked.
    Now, I still don't have confirmation that this is what you were trying to
    do, so until I do, let me explain the exception you're seeing. JATO assumes
    that when a request comes in for a page that includes the pageAttributes
    NVP, it is a request coming from a previously generated JATO page. Because
    of the way JATO works, this means that the request dispatching code should
    send the request back to the originally rendered page. For example, if Page
    A renders an HREF, which the user then activates, JATO sends the request
    back to Page A for handling. All of the HREFs and forms generated during
    rendering of Page A actually refer back to Page A, regardless of where those
    links or buttons actually pass the request in their event handlers/Command
    objects.
    So, what's happening when you include the pageAttributes in your HREFs is
    that JATO is assuming that a request is being sent to the target page, with
    the assumption that the target page has a mechanism in place to handle the
    request. This assumption relies on the specification of the "originator" of
    the request being specified in the request. For links/HREFs, the name and
    value of the HREF is sent along with the request. For forms, the name and
    value of the button that was pressed are sent in the request. JATO uses the
    presence of these name/value pairs to decide which event handler, or which
    Command object, to invoke to handle the request.
    The exception you are receiving is saying that there was no object on the
    target page that indicated it could handle the request. This is to be
    expected, since you have not specified a query parameter that indicates
    which CommandField child is responsible the request. However, this is where
    I see the disconnect, because that is not what I believe you were trying to
    do (as explained above).
    So now, given all the information above, can you tell me what you're trying
    to accomplish, and whether or not the info I've given you has helped you to
    design a mechanism more in line with a JATO approach? If not, given that I
    understand what you're trying to do, I can offer a more concrete solution.
    Todd
    ----- Original Message -----
    From: <Mark_Dubinsky@p...>
    Sent: Monday, November 05, 2001 2:54 PM
    Subject: [iPlanet-JATO] Re: session timeout when not submitting to a handler
    This is the exception we get:
    (And BTW, leaving a blank value for the pageAttributes doesn't help)
    [05/Nov/2001 17:49:18:4] error: <portalServlet.processRequest>
    javax.servlet.ServletException: The request was not be handled by the
    specified handler
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at
    javax.servlet.ServletException.<init>(ServletException.java:107)
    at
    com.putnaminvestments.common.jato.ApplicationServletBase.dispatchRequ
    est(Compiled Code)
    at
    com.putnaminvestments.common.jato.ApplicationServletBase.processReque
    st(Compiled Code)
    at
    com.putnaminvestments.bp.portal.portalServlet.processRequest(Compiled
    Code)
    at
    com.putnaminvestments.common.jato.ApplicationServletBase.doPost(Compi
    led Code)
    at
    com.putnaminvestments.common.jato.ApplicationServletBase.doGet(Compil
    ed Code)
    at javax.servlet.http.HttpServlet.service(Compiled Code)
    at com.putnaminvestments.bp.bpServletBase.service(Compiled
    Code)
    at javax.servlet.http.HttpServlet.service(Compiled Code)
    at
    com.netscape.server.servlet.servletrunner.ServletInfo.service(Compile
    d Code)
    at
    com.netscape.server.servlet.servletrunner.ServletRunner.execute(Compi
    led Code)
    at com.kivasoft.applogic.AppLogic.execute(Compiled Code)
    at com.kivasoft.applogic.AppLogic.execute(Compiled Code)
    at com.kivasoft.thread.ThreadBasic.run(Native Method)
    at com.kivasoft.thread.ThreadBasic.run(Native Method)
    at com.kivasoft.thread.ThreadBasic.run(Native Method)
    at com.kivasoft.thread.ThreadBasic.run(Native Method)
    at com.kivasoft.thread.ThreadBasic.run(Compiled Code)
    at java.lang.Thread.run(Compiled Code)
    --- In iPlanet-JATO@y..., "Todd Fast" <Todd.Fast@S...> wrote:
    Mark--
    Initially we tried to add the pageAttributes NVP as well, but that
    was
    causing an exception, so we stopped doing that.That's odd--what was the exception?
    Our problem now is that when the SessionTimes out it does not go
    to
    onSessionTimeout method as in processRequestMethod of the
    ApplicationServletBase it looks for pageAttributes. If it is notnull
    then only onSessionTimeOut method is called.This is sadly the only technique for determining if a session hastimed out
    and a new one been created, versus the initial creation of thesession.
    Is there any work around for this? Maybe you can suggest how topass
    the pageAttributes without causing the initial exception?Definitely--let me know what the exception was and I'll be able tosuggest
    something. However, it shouldn't really be any harder thanappending a
    "jato.pageAttributes=" empty NVP on the HREF.
    Todd
    Todd Fast
    Senior Engineer
    Sun/Netscape Alliance
    todd.fast@s...
    For more information about JATO, please visit:
    http://developer.iplanet.com/tech/appserver/framework/index.jsp

    OK, here's what I'm trying to do: We have, like you said, a menu
    page. The pages that it goes to and the number of links are all
    variable and read from the database. In NetD we were able to create
    URLs in the form
    pgXYZ?SPIDERSESSION=abcd
    so this is what I'm trying to replicate here. So the URL that works
    is
    pgContactUs?GXHC_GX_jst=fc7b7e61662d6164&GXHC_gx_session_id_=cc9c6dfa5
    601afa7
    which I interpreted to be the equivalent of the old Netd way. Our
    javascript also loads other frames of the page in the same manner.
    And I believe the URL-rewritten frame sources of a frameset look like
    this too.
    This all worked except for the timeout problem. In theory we could
    rewrite all URLs to go to a handler, but that would be...
    inconvenient.

  • JInternalFrame not opening in JAR file, but works when not in JAR

    I have a folder that contains multiple .class files. I make all the class files into one jar file with this command:
    jar cmf mainClass.txt myapplication.jar *.class
    The mainClass.txt contains the following:
    Main-Class: myapplication
    class-path: myapplication.jar
    The myapplication.class opens up a JDesktopPane inside a JFrame. It also contains a start menu, which again has elements that opens up misc JInternalFrames inside the JDesktopPane. The problem is this:
    When I run the application from a .bat file, everything works fine. However, after making the JAR Executable file, everything works except 1 JInternalFrame. Now, the code for this JInternalFrame is far too much to post, so I'll have to ask as follows;
    Are there any reason why a JInternalFrame would not work from inside a JAR Executable, but work when not in the JAR file? Especially when other JInternalFrames are working? What can make 1 JInternalFrame different from the others in this regard?

    Perhaps the problem lies somewhere else.
    Obviously if other JInternalFrames are working then there is a difference in the one missing internal frame that causes it not to show up.
    My guess is that perhaps you are missing one or two classes in your JAR that are used by that JInternalFrame and that an exception is being thrown causing it not to show.
    Double check the contents of your JAR and make sure that all the classes are present and that they are the right versions.

  • Should I turn off my Mac Pro when not in use or leave it running?

    I have been told I should never turn off my computer by some people, and others say that I should always turn it off when not in use!  I use my Mac Pro primarily for music recording/editing in my home studio or word processing.  Now that I have an iPad I use that for web browsing, email, FBing, etc. and I find myself on my Mac Pro a lot less.  I get the basis behind both trains of thought; those who leave it on feel always stopping and starting up puts unnecessary wear on the moving disks, and those who shut down think if the parts are always moving they are bound to wear out faster.  I am not as concerned with conserving power as I am with keeping my machine safe!  If you have any information on this topic I would love to hear it. Thanks!

    Providing you have a robust firewal and are not worried as a result about being hacked then leave it turned on and allow it to sleep. Make sure you allow the screen to sleep as well a that is the item that is more prone to damage by being left on all the time.
    I never turn my machine off, never have with any of my Macs ever since my first one back in 1979-ish and have never suffered any adverse affects. Today, the power drain is so small when allowed to sleep that I doubt they would offend even the ardent 'turn off everything and pull out the plug to save the planet' person.
    If you have an iPad or iPod synced with the Mac for email and iCal and address Book etc. then if you leave it on it should be up to date as soon as you return home, mine is anyway. With iCloud coming out very soon that may come into play even more so with all its advance pushing etc. Just a thought.
    One advantage in leaving the machine on (sleep) is that you can access it from anywhere in the world should the need arise with the appropriate settings, which you can't if you turn it off.
    Leave it on.

  • How do I turn off background ni file activity when not using Labview? files such as nimxs.exe, nipalsm.exe, nipalsm.exe, nisvcloc.exe, nicitdl5.exe

    How do I turn off background ni file activity when not using Labview? I use labview rarely, and I also use my computer for demanding multimedia applications, including multitrack digital audio recording. I need to reduce as much background activity as possible, and taking a look with task manager I see files such as nimxs.exe, nipalsm.exe, nipalsm.exe, nisvcloc.exe, and nicitdl5.exe running even when I haven't used Labview (8 I believe). These files run even after I right click the NI icon on the lower right and turn off the application. I would like the computer to boot up without these files, and for the necessary files to be activated only when I start the program.
    Can this be done or do I have to remove labview from the system to improve performance?
    Thanks

    Hello, those processes are part of running NI services that start when Windows boots.  These processes serve varied purposes and stopping them can have undefined and unknown consiquences for your NI products.  These products run at "normal" priority meaning that they should be preempted by any process running at a higher priority which I would expect your other application to be doing given their time sensitivity.  That being said, in Windows XP (I can't speak for other OSes), you can lower their priorities even greater through task manager (right click the process»set priority) to further remove them from contention for resources.  If you want to prevent them from running you can set the service startup type to "manual" in Control Panel»Administrative Tools»Services.  Right click the process go to Properties and Under the General tab choose Startup Type»Manual.  This will start up the processes only when something directly starts it up.  LabVIEW will start these processes up as it attempts to use them.  When you shut down LabVIEW you will need to manually shut down these processes through task manager.  Again, doing this can cause problems with your NI products on your system and it is not advised.
    Travis M
    LabVIEW R&D
    National Instruments

  • Get error message: "Element 'when' not found in 'xsl:choose'"

    Thank you in advance for your help.
    I got this error message:
    Caused by: oracle.xdo.parser.v2.XMLParseException: Element 'when' not found in 'xsl:choose'.
    When I put a form field with this help text:
    <?CHOOSE:?><?WHEN:ELMT_CATEGORY_CODE='SS'?>
    Did some research but cannot find why...
    -Bill

    Never mind, put the <?end choose?> in wrong position. Thanks

  • Why would my iPod show a full battery when connected to power but when not connected it will no longer turn on

    Why would my iPod show a full battery when connected to power but when not connected it will no longer turn on

    For both
    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try on another computer
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar       

  • I have downloaded all my music from the cloud to my new iPhone and created playlists so I can listen to it when not it wifi like when on a plane. If I turn on iTunes Match will I still have this music still downloaded?

    I have downloaded all my music from the cloud to my new iPhone and created playlists so I can listen to it when not it wifi like when on a plane. If I turn on iTunes Match will I still have this music still downloaded? The online information suggests all my music will be replaced. Will I have to download it again??

    What you have on your computer is your iTunes library, not an iTunes "account."  The account that is related to iTunes is your Apple ID, which you use to sign in to the iTunes Store and make purchases.  It is also used with iCloud.  iPods (that are not iPod touch) are associated with your iTunes library, not to your Apple ID.
    So, I think you probably just need to set up (or update) automatic syncing for the iPod.  If it's not set up to sync those new songs, iTunes still syncs the iPod, but it syncs nothing
    In iTunes, if the sidebar (along left side of iTunes window) is hidden, from the menu bar, under View, select Show Sidebar.  In the sidebar, the iPod appears under DEVICES, when it is connected.
    Select the iPod in iTunes.  There is a row of buttons, starting with Summary.  Click on Music next to Summary.  This is the iPod's Music screen, where you tell iTunes how to sync songs to the iPod.
    Check the box for Sync Music (if it's not already checked).  If your iTunes music library fits completely on the iPod, you can choose to sync Entire music library.  Otherwise, you can choose to sync Selected playlists, artists, albums, and genres.  On the lists below, checkmark the playlists, artists, albums, and/or genres that you want on the iPod.  When you click Apply, the songs from your selection sync to the iPod.
    One convenient way to set this up (if you can't sync the entire iTunes music library) is to create a new playlist in your iTunes library.  Name it "iPod Songs" (or whatever you want).  Put ALL songs that you want on the iPod on this playlist, including those new songs.  Back on the iPod's Music screen in iTunes, select this playlist under Playlists.  Going forward, to update songs on the iPod, just update that playlist in your iTunes library (add/remove songs).  The next time you connect the iPod (or click the Sync button), iTunes automatically syncs the same changes to the iPod.

  • How do I keep an application window hidden when not accessed?

    I have an application running constantly to control my FW audio interface outputs etc. I use system events applescripts to control it's UI with a USB controller (PowerMate) - and that by necessity brings the application window to the front every time accessed. That's fine.
    But I want to have a script that hides this application window when it's not used after 2 seconds. Maybe there is an "on idle" script that could run to check if that window is visible. I imagine something including lines like this:
    -- a routine that checks if the window is visible every 2 seconds or so.
    -- the window reference
    window "Studio Monitor Express" of application process "Studio Monitor Express"
    -- if it is, then hide it
    -- for hiding the window/app
    keystroke "h" using command down
    -- if it's not, then ignore
    I'm not sure whether to use system events or finder events etc. I have a bunch of other apps running obviously, but I just want this particular window to disappear when not needed.

    I solved it. I know. Easy:
    on idle
    tell application "System Events"
    set visible of process "Studio Monitor Express" to false
    end tell
    return 2
    end idle

  • Is there any way to turn off airport without removing the electrical plug and should I unplug it when not using it??

    I just got the 5G Airport Extreme base station. Set-up was a snap! Maybe 10-15 minutes compared to a friend who got another name brand for his pc and took a couple hours, even having to call customer support! Been working great so far, but am concerned about never turning it off, not only about the possibe harm that could be done to the unit, but also about having an active, open Internet connection 24/7. Before I got my Airport Extreme I was using Ethernet cable with a cable modem that could be placed on "standby" whenever I was not using my Mac for Internet, but since AE5G doesn't have a power switch on the unit, have left it turned on rather than unplugging it by the electrical cord. I did turn AirPort "off" in the menu bar when not using it wth my Mac, but AE is still apparently constantly active, showing a steady green light. Would there be any harm done by plugging it in only when I want to use Wi-Fi, then unplugging it?
    Thanks for the help!

    Would there be any harm done by plugging it in only when I want to use Wi-Fi, then unplugging it?
    That is a matter of debate, since there are two schools of thought regarding power status on a router.
    One school maintains that you can turn the device on and off as needed. Makes sense for some folks. The advantage of this is that it might save a bit of electricity, although the Extreme draws very little power most of the time.
    Another school believes that there is a reason why Apple did not even place an "Off" switch on the device. It's designed to run 24/7.
    Leaving the Extreme on will place far less stress on the electrical components in the device since they stay in an "idle" state most of the time, drawing very little current. Powering any electrical device up sends a sudden rush of current through the device, which places far more stress on a device than if it is simply left on.
    It depends on your priorities. If you want to save electricity, your decision is already made. If you intend to prolong the life of the router, then consider leaving it on, as Apple intended.
    A compromise position might be to leave the Extreme on most of the time and power if off for long weekends or vacation periods when you will be away. Remember that the Extreme must establish all new network connections every time that it powers back up....perhaps another reason to simply leave it on.

  • How to copy catalog from external hard drive to computer hard drive to use smart previews when not connected to external hard drive?

    I am very new to LR5. I have LR5 set up so that my catalog and photos are on an external hard drive. I found out that when not connected to the hard drive, LR5 cannot find my catalog, therefore, I cannot do any editing in smart previews unless connected to the external hard drive. How can I fix this issue so that I can edit photos without being connected to the external hard drive. Is there a way of copying the catalog off the hard drive on the computer hard drive or do I need to reestablish a new catalog using LR5? Does the catalog always need to be loaded on the hard drive? Thank you in advance.

    Yes that is correct. The LR catalog must be on the computers internal drive. Then when you have Smart Previews enabled you can edit image without having the drive they are on connected. Then when you connect that drive the images will be updated.
    Just COPY those 4 folders over to your internal drive to a folder called Lightroom Catalog that you create. Then Open LR and go to the File menu item and select Open Catalog. Browse to the folder you created called Lightroom Catalog and select the Lightroom 5 Catalog.lrcat file and click Open. Once Lightroom restarts open the preferences, Edit>Preferences, and on the General Tab in the Default Catalog section make sure "When starting up use this catalog:" area lists where you have copied those folders. Something like Macintosh HD/Wherever you created that folder/That folder name/Lightroom 5 catalog.lrcat.

Maybe you are looking for