JDOMParseException - Wanted to avoid validation

I am using org.jdom.input.SAXBuilder to parse an XML String. XML is having reference to a DTD file. Its giving an error.
How can I avoid validation against the DTD?
Error message:
Error on line 1: Relative URI "RAPRequest.dtd"; can not be resolved without a base URI.
org.jdom.input.JDOMParseException: Error on line 1: Relative URI "RAPRequest.dtd"; can not be resolved without a base URI.
     at org.jdom.input.SAXBuilder.build(SAXBuilder.java:468)
     at org.jdom.input.SAXBuilder.build(SAXBuilder.java:851)
     at util.XmlParser.parseString(XmlParser.java:38)
     at util.XmlParser.main(XmlParser.java:26)

try using postback to avoid validation again...
        Boolean l_postBackValue = (Boolean)JSFUtils.resolveExpression("#{adfFacesContext.postback}");
        Boolean l_defaultBooleanValue = new Boolean("false");
        if (l_postBackValue.equals(l_defaultBooleanValue)) {
        }

Similar Messages

  • Want to Avoid Loop for all entries with select query !!

    Hi Guru's  !
    This is my following code . I want to avoid loop  to improve the performance of program.
    data: lt_cuhd type HASHED TABLE OF /sapsll/cuhd WITH UNIQUE key guid_cuhd,
          ls_cuhd type /sapsll/cuhd.
    data: lt_comments type STANDARD TABLE OF zss_comments,
          ls_comments type zss_comments.
    data: lv_objkey type string.
    select * from /sapsll/cuhd into table lt_cuhd.
    loop at lt_cuhd  into ls_cuhd.
      CONCATENATE ls_cuhd-corder '%' into lv_objkey. " Example 'Mum%'
      select * from zss_comments into table lt_comments
                where objkey like lv_objkey
                 AND guid_cuhd = ls_cuhd-guid_cuhd
                  AND event_id <> ''.
    endloop.
    I want
    New code should be...using all entries no loop required.
      *select * from zss_comments into table lt_comments
                where objkey like lv_objkey
                 AND guid_cuhd = ls_cuhd-guid_cuhd
                  AND event_id <> ''.*

    why dont you add the object key also to  lt_cuhd and once you fetch the data to lt_cuhd loop it and add the '%'
    when looping use field symbols so that you dont have to use  modify.
    then use for all entries using lt_cuhd
    i don't you can find a better way to add the % mark apart from looping but by this way only one select query will be done for
    zss_comments
    Thanks
    Nafran

  • How to avoid validation while navigating to the next train station..11g u2

    Hi,
    I have a case where I use the same view object across the train stations while entering the data.
    My problem is, when I click the Next button it gives an error saying that I am missing some of the mandatory fields that are exposed in the coming screens.
    To make it more clear..
    Say that I have an employee vo having (*id , name, surname, department, salary ..)
    I create a train taskflow and create two page fragments one for entering id, name, surname and the second one is for department and salary.
    When I try to navigate to the next train station after entering fields in the first one I get an error saying that "salary is missing" .
    What should I do to postpone the model validation until I commit something?
    Thanks

    try using postback to avoid validation again...
            Boolean l_postBackValue = (Boolean)JSFUtils.resolveExpression("#{adfFacesContext.postback}");
            Boolean l_defaultBooleanValue = new Boolean("false");
            if (l_postBackValue.equals(l_defaultBooleanValue)) {
            }

  • I want to avoid or reject mapping import from AD to UPA in sharePoint 2010

    I don't want the Title from AD to go to UPA I n Sharepoint 2010
    Like I don't want any updates from AD to UPA regarding the Attribute title in AD In UPA the property is TITLE
    but I have removed mapping I feel their is Hidden mapping between the AD and UPA for the TITLE property.

    Hello,
    As per my R&D, it does not seems to possible to remove standard properties. AD Title property by default map with SPS-jobtitle, which is the standard way. May i know why you want to avoid this?
    Here i have found one similar thread:
    http://sharepoint.stackexchange.com/questions/35525/user-profile-synchronization-how-to-delete-overwrite-job-title-property
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • I have been an Adobe customer since 1991 on an old IICi.  Awhile ago I purchased Creative suite 4.  I have Adobe Acrobat 4, ver. 9.5.5.  Are there any updates I can apply?  What is involved in updating if I want to avoid the cloud?  I have a satellite con

    How do I upgrade Acrobat Pro 9.5.5?
    I have been an Adobe customer since 1991 on an old IICi.  A while ago I purchased Creative suite 4.  I have Adobe Acrobat 4, ver. 9.5.5.  Are there any updates I can apply?  What is involved in updating if I want to avoid the cloud?  I have a satellite connection that charges for bandwidth usage.  I have a 27" iMac, using 10.10.3.

    Hi Kenneth ,
    We are sorry but you would not be able to update from Creative Suite 4 .The reason being there are no updates available for Acrobat version 9 .It is quite an older version so you are unfortunately not eligible for any updates or upgrade .
    The best option for you would be to opt for Acrobat DC .
    You could either for Acrobat DC subscription or perpetual version .Here is the link to download the same .
    https://helpx.adobe.com/acrobat/kb/acrobat-dc-downloads.html
    https://helpx.adobe.com/acrobat/kb/acrobat-downloads.html
    You could also opt for Acrobat DC Creative Cloud subscription
      https://creative.adobe.com/products/acrobat
    Regards
    Sukrit Dhingra

  • Raw material available in stock. Want to avoid Pur Req for sales ord stock

    Dear Experts,
    After MRP Run, we want to avoid creation of purchase requisitions (procurement) for for project stock/sales order stock for raw materials whoose unrestricted-use stock is available. Later on we will do transfer posting of available stock to project/sales order stock.
    Kindly suggest.
    Shiva

    Shiva,
    I dont think you would have got new PR's created after changing the Individual collective indicator in the material master - MRP4 view of the raw material.
    I would suggest you to run MRP in "3"- Delete and Recreate Mode or Delete the already created PR's and then try running MRP.
    Regards,
    Prasobh

  • Newbie wants to avoid disaster!

    Hi everyone,
    My missus is getting a new iPod today to compliment the shuffle she is lovin'!!
    She & I want to avoid any possible disasters when setting it up and avoid erazing music losing settings etc.
    Can anyone help us with 4 questions please?
    Thank you
    Flobbyblob
    Question 1
    She has a collection of bought music which has been downloaded to her Library on her computer using iTunes.
    She has created a list of 53 tunes in DEVICES. (I'm not sure what you call this list)
    Does this mean that when the new 80GB iPod is connected it will also appear as a DEVICE and can have its own list of music, or will it erase her existing library?
    QUESTION 2
    Having purchased the tracks from iTunes, can she put them on both devices, and is it legal? (UK)
    QUESTION 3
    We like what we've bought, and plan to get 'Shuffles' for each of the kids.
    Can they also plug into her computer and load tracks on their Shuffles?
    QUESTION 4
    I will be getting an iPod in October.
    At the moment I have a crap mp3 player with my own collection of MP3's I have transferred from old LP's, plus Mp3's made from my 100 odd CD's.
    Can I then set up my computer to have my Library shared by all our family? i.e. 4 devices
    (I am confused whether if there are two PC's with two different libraries on them, the 2 iPods and 2 shuffles connect to either or both of these two pc's (2 libraries) to put their own selections of music on them - and is it legal?)
    PC   Windows XP Pro  

    "Does this mean that when the new 80GB iPod is connected it will also appear as a DEVICE and can have its own list of music, or will it erase her existing library?"
    You can use multiple iPods with a single library, the library will not be erased: How to use multiple iPods with one computer
    "Having purchased the tracks from iTunes, can she put them on both devices, and is it legal? (UK
    Yes she can put them on as many iPods as she likes
    We like what we've bought, and plan to get 'Shuffles' for each of the kids.
    Can they also plug into her computer and load tracks on their Shuffles?
    Yes they can: Loading songs onto iPod shuffle - Windows
    "Can I then set up my computer to have my Library shared by all our family? i.e. 4 devices"
    Yes you can, see the first link on using multiple iPods with a single computer
    "if there are two PC's with two different libraries on them, the 2 iPods and 2 shuffles connect to either or both of these two pc's (2 libraries) to put their own selections of music on them - and is it legal?)
    First of all yes it's legal (don't know why you think it's not). However:
    1) iPod shuffles can only update from a single iTunes library ( a technical issue, not a legal one, it's the way they are designed).
    2) To use an iPod ( other than a shuffle) on multiple computers you have to set it to manual update:
    Using iPod with Multiple computers
    Managing content manually on iPod

  • Moving & want to avoid engineer charge

    I will be moving at the end of the month. I would like to transfer my line to my new place but I want to avoid having to pay £130 for an engineer to come out to connect the line. I know that the line there is still connected so I don't see why I should have to. I also don't want to be tied into another or extend my contract. 
    I don't really know how to approach the situation though. Can you help at all?

    There is no need to pay the £130 if the line is actually connected.  By that I mean that if you pick up the phone you get a dial tone, and if you dial 17070 you get a recorded message giving you your phone number.
    Make sure when you go through the ordering process (either by phone or on-line) that you say that the line is already connected.
    As for the minimum contract, it's a standard clause in BT's T&Cs that a home move means a new 12 month minumum contract.  I can't see any way round it.

  • Iphone 4 wont sync to itunes anymore. Itunes opens then a message comes up saying I need to restore it. I want to avoid doing this as I've noticed some of my purchases since updating itunes are missing from computer but they are on my phone.

    I have reset my phone, put the latest updates on itunes and iphone and thought it might work then, but no luck. I am trying to avoid restoring it as I dont want to loose the data I have purchased that is missing off my itunes since I updated that. I'm not sure how to contact itunes to get my data put back on my itunes on computer. All my purcahsed data from itunes still comes up on my phone as it hasnt been able to sync to the update. DOes anyone know how to contact itunes to have bought data re-put back on. It comes up in my itunes acocount with the date and purchase number but these items are missing from my itunes purcahsed items. Weird?
    I am on an imac. Is there anyway I can get around the issue of syncing again or should I just restore once I have contacted itunes about them deleting my paid for items! I feel very ripped off, its like buyoing something from target and having the manager come to your house and retrieve it! lol

    Plawexki wrote:
    ...  do you know if the contacts, photos, messages etc will be wiped?
    Yes... Everything will be Wiped and Replaced with what is currently on Your Mac.
    SYNCING with iTunes
    See here  >  http://support.apple.com/kb/HT1386
    From Here  >  http://www.apple.com/support/iphone/syncing/
    You may find this information of interest...
    Have a read here...
    https://discussions.apple.com/message/18409815?ac_cid=ha
    And See Here...
    How to Use Multiple iDevices with One Computer

  • Want help in validation

    i'm bulding a project with ADF Fusion web application (ADF BC) with Jdeveloper 11g
    i want to make some kind of validation
    the problem is that
    I have a table contains Employee Id , Employee Salary Deduction
    I want that
    The total Salary Deductions For any employee Per Month can't exceed the emplyee Salary
    For Example
    Alex Salary is 2000$
    and this is the deductions
    Employee || Salary Deduction
    Alex ||100$
    Alex ||50$
    Alex ||200$
    Alex || 100$
    The total deductions her is 450$
    i don't want the total deductions to exceed the employee Salary
    but i don't know how to achieve this with ADF

    Grant,
    product selling price must be greater than product min price, but what happens if someone else is changing the product min price in a different transactionActually, there is no issue whatsoever there - the problem comes from multi-row validation. In your example, a simple check constraint solves the problem. Let's assume that user 1 updates the selling price while at the same time, user 2 updates the minimum price. When user 1 commits, he doesn't see user 2's changes, so his change saves successfully. When user 2 commits, his change will violate the check constraint and thus not save. Furthermore, with the default ADF behaviour, user 2 will not even be able to commit, because he will receive the "another user has updated this row" error first. If you instead implement the rule in ADF BC, the "another user has updated this row" error will prevent the issue as well.
    However, in the OP's scenario, there are multiple rows involved, so unless you have some type of concurrency control built-in (either via explicit locks manually coded or by using the materialized view trick), you are exposed to multi-user problems.
    John

  • Module Pool Screen:Want to do Validation on listbox selection w/o Hitting Enter

    Dear Team,
    I want to write some code(Check & validation) at the time of listbox selection(any value) without Hitting enter.As when i am trying to put '/H' It's not taking me inside the program (but after listbox selection & enter hit i could go into program).
    Plz suggest me how can i go inside the program once i select value from list box without hitting enter.
    Thanks in advance.
    Santosh

    Dear Arun,
    Perfact!!!
    It's working
    Thanks a lot...
    Santosh

  • How to avoid validation of input items within af table and javascript

    Hi all,
    I developed a form which includes table and commandButton. Some input items are required. I want them to validate while just button pressed.
    And everything was ok, this scenario was working well. But when table presents only one row, selecting row does not work. See alsa plz: Table row selection --> might be 9th post
    I applied to my jsff the solution which is told in above link. It works previous issue but this time, javascript caused another problem that is inconsistent validation. As i understood java script overrides af table immediate="true" property. plz see : http://www4.picturepush.com/photo/a/11897217/640/11897217.png
    How can i resolve that? Any suggestion?
    Plz help me
    Thanks in advance
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:trh="http://myfaces.apache.org/trinidad/html"
    xmlns:f="http://java.sun.com/jsf/core">
    <trh:script>
    function tableLoad(event)
    AdfCustomEvent.queue(event.getSource(), "refreshTables",
    true);
    event.cancel();
    </trh:script>
    <af:table var="row" rowBandingInterval="1" id="entityT"
    value="#{pageFlowScope.incomingPaperworkBean.baseRowCollection}"
    partialTriggers="::cb_incPaperDef_commit ::cb_incPaperDef_filter"
    rowSelection="single" columnBandingInterval="0"
    disableColumnReordering="true" columnStretching="column:c3"
    styleClass="AFStretchWidth" autoHeightRows="20"
    contentDelivery="immediate" immediate="true"
    binding="#{pageFlowScope.incomingPaperworkBean.richTable}">
    <af:clientListener method="tableLoad" type="click"/>
    <af:serverListener type="refreshTables"
    method="#{pageFlowScope.incomingPaperworkBean.refreshTables}"/>
    <af:column id="c5" width="105">
    <af:inputText id="registrationText"
    value="#{row.baseEntity.registrationNumber.registrationNumber}"
    required="true" readOnly="true" autoSubmit="true"
    disabled="true"/>
    <f:facet name="header">
    <af:panelGroupLayout id="panelGroupLayout1" layout="vertical">
    <af:inputText id="filterRegistrationNumber"
    value="#{pageFlowScope.incomingPaperworkBean.filterTemplate.incomingPaperwork.registrationNumber.registrationNumber}"
    simple="true" autoSubmit="true"/>
    <af:spacer width="10" height="10" id="spacer1"/>
    <af:outputText value="Kayit Numarasi" id="outputText6"/>
    </af:panelGroupLayout>
    </f:facet>
    </af:column>
    Edited by: webyildirim on 07.Oca.2013 06:08

    I guess you want the table header skin selector listing. [http://download.oracle.com/docs/cd/E15523_01/apirefs.1111/e15862/toc.htm|http://download.oracle.com/docs/cd/E15523_01/apirefs.1111/e15862/toc.htm]
    search on af:table
    I only see one mention of a table header though, so maybe this is the problem.
    Have you looked at the html that is output (with Firebug) perhaps and seen what sort of style classes are associated with your table component? in 11g it seems that there are more human-readable style classes that you can guess at by looking at the html source.
    Good luck

  • JSF: how to avoid validation but still submit data to the "business layer"

    Greetings
    The scenario is common and sounds like this:
    1) We have 2 forms, each with some fields marked with required = "true"
    2) Navigation between these two should be unlimited and data should be submitted to the (stateful) business layer every time we move from one to another, without validation,
    thus all of my h:commandButton tags are marked with type="submit"
    3) On final "save" command data should be validated and sent to DB
    Now,
    - if i avoid required attributes on fields, everything works fine except validation ofcourse
    - if i add immediate="true" where needed, data gets lost when i navigate from one page to another
    thanks a lot in advance

    Use an EL expression for the value of the required attribute. Note that the important thing is its value during the subsequent request. If you have other types of validations you may have to use custom validators.

  • HT1807 I want to avoid all charges while travelling

    I've gone to Settings --> Carrier and turned 'automatic' off, but when I return to the main settings screen, my iPhone has selected a carrier.  It keeps doing this ... there doesn't seem to be a way for it to ignore cellular carriers in the area.  I don't want any charges to my bill while I'm travelling.  How do I get it to stop?  (B.t.w. I have Data Roaming off, Wi-Fi off, Bluetooth off and Personal Hotspot off.)
    Any help would be much appreciated!
    Thanks!
    Scott

    It would probably best for you if you turned airplane mode on, and that would stop your phone from trying to connect to other carriers and put you in roaming. If you turn airplane mode on while traveling, avoid using your cellular connect because its going to use data while roaming and your phone bill will go high up xD . Use wifi when needed. Hope I helped mate. Cheers

  • Invoice is getting blocked automatically, want to avoid this

    Gurus,
    While processing a GR based PO after posting Goods Receipt and then while processing Invoice Receipt, the invoice is being automatically blocked for verification. But I want this not to happen (I want invoice to be free for payment), I did check the T-code OMR6 (Set Tolerance Limits), Activation Item Amount Check and Stochastic Block. But nothing is working, am I missing any other config check from FI side or am I missing any check box while posting an Invoice or Goods receipt.
    Thanks
    Shilpa

    Hi Shilpa
    Go to IMG >Financial A/c>AR/AP>Business Transaction>Outgoint Payments>Outgoing Payment Global Setting>Payment Block Reason-->Define Payment Block Reason
    Untick the Mannual Payment block and Not Changeable for Blocking reason "R"
    Hope it will help you.
    Rgds
    Aman

Maybe you are looking for