XSD or RELAX-NG validation for check-in form

Hi,
I have a set of XML files that I want to check in to content server and also have validated against an
XSD schema (or RELAX-NG schema). If the validation of the XML file fails, the checkin should
fail. The XML files would need to be updated on a regular basis.
I am using 10gR3. I'm not so familiar with extending the content server to do
this, and would appreciate any general guidelines or pointers to relevant
documentation.
Thank you
Edited by: user4863684 on Nov 12, 2010 8:32 AM
Edited by: user4863684 on Nov 12, 2010 8:33 AM

XML converter (an add on to Inbound Refinery) could be used to display the contents with your XSLT choices but analyzing the file to prevent checkin would take data validation that would be custom. The CS does not care the file format or file type for checkin. Others have looked for analysis of file extension to stop checkin of certain extensions. This has been custom. I think there may be enhancement requests from customers for this kind of validation for the CS but it does not exist in the core yet.

Similar Messages

  • Create a validation for check double invoice

    Hi,
    I have read here on SDN for check double invoice on reference number. We want to create an warning message if same reference number is posted twice, not depending on invoice date. So if I, on 1st of October have posted an invoice with reference number 123 and then want to post with same reference number on 2nd of October I want to have an warning message. If I had understand right I need to make a validation for that. Is it true that I need to have a programmer to do that or how am I doing (one thread said that this was the solution, see; )?
    I suppose that my prerequisite will look as follows:
    BKPF-BLART = 'KR' OR BKPF-BLART = 'RE' (I want the check when entering both an invoice in FB60 and MIRO)
    How will my "check step" look like when I want to check if this reference has been entered before? Please describe in technical name.
    Is it possible to do a validation for getting a warning, or is it just possible with error message?
    I have also tried to change in IMG, in Material management > Logistics Invoice Verification > Incoming invoice > Set check for Duplicate invoices. Here we have all fields selected (check co. code, check reference, check inv. date). I changed to just select check reference, but this doesn´t solved my problem.
    Best regards Lisa

    Hello Lisa,
    Your first question,
    Yes system does not check MIRO invoice while posting FB60 invoice. Because when you post invoice with using FB60 transaction, system check BSIP table for duplication. But when you post MIRO invoice system doesn't fill BSIP table.
    So that your question answer is YES, you can register an invoice in MIRO with same reference without a warning.
    Your second question,
    BTE means Business Transaction Event. Those events are known as FI user-exit.
    So that when you posting an invoice with using FB60, system triggered on BTE 00001110 as i said on my previous message.
    I try to explain step by step how can you activate this BTE. But you need to ABAPer for giving warning message on this exit.
    Call FIBF transaction -> Settings -> Products -> ...of a customer
    Create a new line,
    Product : ZXX
    Text : BTE Products for FI Exit
    Product active : tick checkbox.
    Call SE37 for exit function and copy from FM SAMPLE_PROCESS_00001110 to ZFI_PROCESS_00001110. Then active your FM and go to FIBF transaction again.
    FIBF -> Settings -> Process Modules -> ...of a customer
    Define a new line.
    Process : 00001120
    Function Module : ZFI_PROCESS_00001110
    Product : ZFI
    And then you can some write ABAP code for validation and give warning message.
    In this FM, If you don't want to check duplicate invoice for your cases you can set export parameter e_nostd = 'X'.
    I hope it helps to you,
    Regards,
    Burak

  • DRM Validation for checking existence of nodes in a different Hierarchy as a property value

    Hello Gurus,
    I have two hierarchies named A & B respectively. I need to create a validation for nodes in hierarchy A which checks value of a property such that the node should have property value equal to any node name in Hierarchy B.
    Means the values for that particular property for nodes in hierarchy A should exist as a node in hierarchy B.
    It would be very grateful if some one can provide an idea to achieve this.

    Hi,
    Try this in a formula type validation-
    NodeInHier(PropValue(Custom.PropName),B)
    This would return false if the property value is not a node in Hierarchy B and True if it is.
    So you will get a validation message every time the property is loaded with a value which is not node in Hierarchy B.
    Thanks, Let me know
    Denzz

  • Visio 2010 Validation for Checking the number of a specific type of shape.

    I have written a rule for flowchart for checking the number of Start/End Shapes in a document.
    The FilterExpression is as follows:
    AGGCOUNT(FILTERSET(SHAPESONPAGE(), HASCATEGORY("Start/End"))) > 0
    The TestExpression is as follows:
    AGGCOUNT(FILTERSET(SHAPESONPAGE(),HASCATEGORY("Start/End"))) = 2
    (Since totally there are 2 shapes: 1 Start and 1 End Shape)
    However, it is not working. Can anybody tell me what is wrong in the expressions.

    Well, it worked for me, so I want to check that you modified the Start/End master to have the User.msvShapeCategories row with the value "Start/End", as I did?
    A Category is not a Master
    David J Parker MVP (Visio) http://blog.bvisual.net

  • Row level validation for Master-Detail form

    OA JDeveloper 9i (RUP5) 9.0.3.5 (Build 1453)
    I have a form which is based on a master detail relationship.
    - For each employees details (Advancetable) based on a EO (AbsenceInputsEO)
    - For each employee you can add one or more allowances records (AdvanceTable) VO (AbsenceInputsVO)
    Both the above VO and EO is based on the same table (XHR_BWCD_KRONOS_INTERFACE)
    How do stop a user from selecting (radio button) the next employee in an advance table (master level), it the the records they entered at the detail level for the previous employee is not valid?
    I used the the same validation method I used for the "APPLY" event to validate the records entered at detail level
    to the "EmployeeSelect" event, but the error message showed only after the new employee has been selected. Thus the error message that is displayed does not relate to the employee record selected at that stage.
    How do I prevent the user from selecting the next employee in the Master(Advancetable) if the records in the Detail(AdvanceTable) is not valid?

    Thanks for you help,
    Where able to reset the "SelectFlag" for the employee the error related to, but now I endup with two radio buttons being selected. One for the employee which the error relates to and one for the employee which triggered the validation when user navigated away from the current employee record.
    I need to be able to set the attribute "SelectFlag" for any other employee selected in the master record to "N", before the error is thrown. I do not seem to be able to access the newly selected employee record to set the "SelectFlag" to "N" as I only have access to the currentrow SelectFlag in the processFormData.
    It looks to be if I can only access the new selected employee in the processFormRequest(OAPageContext pageContext, OAWebBean webBean), but I never get to this method as the error message stop processing in the processFormData().
    I have the following code in the processFormData(OAPageContext pageContext, OAWebBean webBean)
    if ("EmployeeSelect".equals(event))
    if (!IsValid(pageContext,am,true,AsgJobName,EmpStartDate.toString()))
    // oracle.jbo.Row ValidationRow = vo.getFirstFilteredRow("SelectFlag", "Y");
    // Set flag for employee record with error
    Row [] rows = vo.getFilteredRows("SelectFlag", "Y");
    // getFilteredRows returns a zero-length array if it finds no matches.
    if ((rows != null) && (rows.length > 0))
    // Set the master row and get the unique identifier.
    Row masterRow = rows[0];
    am.findViewObject("EmployeeAbsenceDetailsVO1").getCurrentRow().setAttribute("SelectFlag","Y");
    vo.setCurrentRow(masterRow);
    // Unselect new Employee
    throw new OAException(ErrorMessage, OARowValException.ERROR);
    } // EmployeeSelect-Event
    Question:
    =======
    Can I access the newly selected employee rows from the processFormData to reset the "SelectFlag" to "N" before I through the error message? I would like to be able to do this in the section I have marked "// ?????", before I throw the error. How would I do this?

  • DTD and XSD Validation for xml file

    hi kindly reply to this mail guru'ssss
    i am facing a problem in parising a xml file against dtd and xsd.
    i have the dtd which contains only enitities that can be present in the xml file and the xsd file for validation against elements and attribute.
    when DTD is present then it is throwing errors like the elements should be declared.
    when i take out the doctype line and validate against schema its throwing the error that particular entity is not found or declared.
      public Vector validateSchema(String SchemaUrl, String XmlDocumentUrl)  
          SAXParser parser =new SAXParser();
         try{
             //parser.setNamespaceAware (true);     
             //parser.s
             parser.setFeature("http://xml.org/sax/features/validation",true);
             parser.setFeature("http://apache.org/xml/features/validation/schema",true);
             parser.setFeature("http://apache.org/xml/features/validation/schema-full-checking", true);
            // parser.setProperty("http://xml.org/sax/properties/declaration-handler", new DTDHandl());
             parser.setProperty("http://apache.org/xml/properties/schema/external-noNamespaceSchemaLocation",SchemaUrl);
            // parser.setFeature("http://xml.org/sax/features/namespace-prefixes", true);
            // System.out.println(parser.getDTDHandler());
            // UnparsedCache cache = new UnparsedCache();
           //  parser.setDTDHandler(cache);
             InputSource inputSource =new InputSource(new java.io.FileInputStream(new java.io.File(XmlDocumentUrl)));
           //  parser.setDTDHandler(new myDTDHandler());
             //parser.setEntityResolver(new CustomResolver());
         //  parser.setContentHandler(this);
             Validator handler=new Validator();
             parser.setErrorHandler(handler); 
             parser.parse(inputSource);
             if(handler.validationError==true)
               System.out.println("XML Document is not valid");
             else                  
               System.out.println("XML Document is valid");
             for(int i=0;i<ErrorLines.size();i++){
                 System.out.println(ErrorLines.elementAt(i));
       }catch(java.io.IOException ioe){  
         System.out.println("IOException"+ioe.getMessage());   
       }catch (SAXParseException e) {
         System.out.println("SAXParseException "+e.getMessage());   
      }catch (SAXException e) {
         System.out.println("SAXException"+e.getMessage());   
         return ErrorLines;
    what could be soln to this.

    Hi
    Venky_Ferrari.
    Based on your description, your case related to XMLXSD, SO I will move your thread to
    Data Platform Development > XML, System.Xml, MSXML and XmlLite      
    forum for better support.
    Best regards,
    Kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Validation for creating check in T-code FCH5

    Hi All,
    I have created payment docuemnt t-code F-48.
    Then for creating check in T-code FCH5, system allows me to assign different House Bank and Account ID.
    How can this be controlled through validation, kindly guide on creating validation for the same.
    Thanks

    Hi,
    In FS00 for bank gl accounts give house bank and account id. By giving this the problem will be solved.
    and also check
    In OBVCU for bank accounts check combination of house bank,payment method,currency,accoun id and bank subaccount.
    Hope it solve your problem
    Regards,
    Sankar

  • HT204053 Message Account not in this store. Your account is not valid for use in the US Store. You must switch to Australian store before purchasing. Checked Apple ID and country is set to Australia....Help!!!

    iPhone 5 Appstore Update Issue: Message Account not in this store.Your account is not valid for use in the US Store. You must switch to Australian store before purchasing.
    Checked Apple ID and country is set to Australia....never been to US....Help1111

    Alright, let's check with iTS to see if they can confirm the nationality, and perhaps anything else that may be problematic with that account.
    iTunes Store Support
    http://www.apple.com/emea/support/itunes/contact.html
    I am also curious on what you mean by this:
    My Id has made purchases and is synced with her phone..

  • Validation for text field: Null and contains no spaces

    Currently on APEX 3.2
    I want to check 1 text field and 2 text areas to ensure they are not null and blank (hitting the space bar in the field) before submitting the page. How do I do both validations for on each field?

    I created a validation with a type of 'Function Returning Boolean' and using the following code in the expression:
    IF( TRIM( :P1_Text_Field) IS NULL
    Or LTRIM( :P1_Text_Field ) != :P1_Text_Field )
    THEN
    RETURN false;
    ELSE
    RETURN true;
    END IF;
    Edited by: Jeremy_F on Apr 12, 2012 8:15 AM

  • Product is not valid for Sales org and distribution chain

    Hello friends,
    When i am saving the trade promotions , i am getting error message
    "Product XXXX is not valid for distribution chain XXXX, XXXX"
    I have maintained sales organization and distribution channel in commpr01 under sales and distribution tab.
    kindly help.
    Regards,
    Srinivas

    Hi Srinivas,
    the error is raised from the trade promotion CCA check - raised from method CL_CRM_MKTGS_PD_CCA_CHECK_HDLR~CHECK. There are the following checks performed:
    * There are several checks to do based on the distribtion chain
    * Execute the checks and identify which products fail which check
    1. *   Determine if the product passes the distribution chain check
    2. *   Determine if the product category 1 of the product assignment
       *   passes the product category check
    3. *   Determine if the product category 2 of the product assignment
       *   passes the product category check
    4. *   Determine if the product group of the product assignment
       *   passes the product group check
    5. *   Determine if the sales status of the product is set to blocked
    You may also need to check the sales and distribution data of the product category or product group of the mentioned product, if this is assigned to any.
    best regards,
    Johannes

  • ITunes / AppStore problem: I live in Colombia, my apple ID and iTunes account are set in Colombia, but each time I try to register my Colombian credit card it tells me my credit card is not valid for the store. How can I fix this?

    I live in Colombia, my apple ID and iTunes account are set in Colombia, but each time I try to register my Colombian credit card it tells me my credit card is not valid for the store. How can I fix this?

    credit card it tells me my credit card is not valid for the store.
    Hi Don ...
    "Although you can browse the iTunes Store in any country without being signed in, you can only purchase content from the iTunes Store for your own country. This is enforced via the billing address associated with your credit card or other payment method that you use with the iTunes Store, rather than your actual geographic location."
    From here >  The Complete Guide to Using the iTunes Store | iLounge Article
    The iTunes and Mac App Store are one in the same.
    And check out this support article here   >  iTunes Store: My credit card's security code or zip code does not match my bank's records

  • Office 2013 - Excel 2013 - "This action is only valid for products that are currently installed."

    I had Office 2010 starter and Outlook 2010 installed.  I recently purchased the Office 2013 click to run version (paid monthly subscription) and installed Office 2013.  After installing 2013 I noticed that when I opened up Excel files they would
    still open in Office 2010.  I uninstalled Office Starter 2010 and uninstalled Outlook 2010.
    I then manually fixed the file associations for Word, PowerPoint, Publisher and such, however I could not manually fix the Excel file association. 
    Excel documents show the correct icon however when I double click on them the following error appears "This action is only valid for products that are currently installed."
    I have used the Office 2013 repair process, I have uninstalled and reinstalled Office 2013, I have manually uninstalled office 2013 using KB 2739501 (
    http://support.microsoft.com/kb/2739501/en-us ) and I still can not open Excel documents. 
    Recently I found that I can not do mail merges either using Excel documents as the data source and I believe the two items are related.
    Any suggestions?

    Hi,
    Please try to turn off compatibility mode and then check the issue again. To do this, please follow:
    1. Open this folder location:
    For Windows 32-bit: C:\Program Files\Microsoft Office\Office15
    For Windows 64-bit: C:\Program Files (x86)\Microsoft Office\Office15
    2. Find Excel.exe, right-click it, and choose Properties.
    3. Click on the Compatibility tab and ensure that all of the boxes are
    un-checked.
    For more information, please refer to this:
    http://support.microsoft.com/kb/2674519/en-us
    Thanks,
    Steve Fan
    TechNet Community Support

  • App store and itunes store are stuck in Japanese store. Says: Account not in Store. Your account is not valid for use in the Japanese store. You must switch to the Philippines store before purchasing.

    My app store and itunes store are stuck in Japanese store. I already moved to the Philippines for about a year ago and my stores still won't change its location.
    I already changed the region/country in my apple id. I tried to sign out and sign in back to my account. Tried it in app store, in itunes store, in settings app, in itunes in my laptop, in the apple website. It shows that my apple id is already set to Philippines, no matter where I sign in my account.
    The problem is when I open my app store (or itunes store) in my iphone, it appears that it is in the Philippines store; however, when I sign in my account (and I tried to sign in everywhere), I cannot download any app from the Philippine store. When I try to download an app, it always says "Account not in this store. Your account is not valid for use in the Japanese store. You must switch to the Philippines store before purchasing." I have read everywhere and most of the answers say that it should automatically direct me to the correct store. It doesn't happen to me, apparently.
    I have the same problem in both my iPhones. Both are iPhone 3GS and in version 5.1.1. I don't want to upgrade to iOS6 so please don't tell me to do so. Thanks!

    try logging out of of store and then log in again
    and check this out
    http://support.apple.com/kb/HT1311

  • "This code is only Valid for customers of the USA Store.", "This code is only Valid for customers of the USA Store."

    I get this error message when redeeming an app from the apple "Aproved" website "Appexchanger" which is when you check out free apps and get credits to get paid apps, but i am in canada and everytime i go to redeem one i get "This code is only valid for customers of the USA Store." i think this is unfair because ive done what theve asked and theres nothing on the site that says "US ONLY" and the people who made it wont even contact me back! Please help i just want some apps!

    Just FYI, Appexchanger is not "approved" by Apple in any way that I can detect. Apple does not appear to have any connection of any sort with that company other than as a customer.
    This company looks to me to be nothing more than a way to harvest email addresses and other content information to sell to other companies, getting you onto all sorts of spam lists. I don't for one minute believe their claim that they won't sell your information (and if they don't, it's s good bet at least one if nor more of the developers will). But in any case, as Jay said, any problems or issues you may have with that company will have to be taken up with them. This is not an Apple issue.
    Regards.

  • Reporting Service Integration mode and Key not valid for use in specified state

    I had to uninstall SharePoint Foundation 2013 and reinstall it.
    What I have done:
    I uninstalled SharePoint and after that I removed all databases.
    I reinstalled SharePoint Foundation 2013 and it completed without errors.
    Everything else is working, except SSRS in Sharepoint Integrated Mode.
    If I check Central Administration - Manage services on server, I can found out that SQL Server Reporting Service Service is
    "Started". But if I try to create new service application (SQL Server Reporting Services Service Application), it gives me an error message:
    "Key not valid for use in specified state. (Exception from HRESULT: 0x8009000B)"
    I uninstalled SSRS in Sharepoint Integrated Mode and I reinstalled it but problems exists.
    It seems that "Encryption Keys" cause this problem.
    https://support.microsoft.com/kb/955757
    https://msdn.microsoft.com/en-us/library/ms156010%28v=sql.110%29.aspx
    I tried to Re-create Encryption Keys and Delete keys, but its not working either. It gives me only error message that:
    "Unable to locate the Reporting Server Windows service for instance MSSQLSERVER."
    I don't have any reporting server databases, because I removed all
    databases when I uninstalled SharePoint. Also I don't have Encryption
    Keys backups.
    I have found several similar question but no answer, example here:
    https://social.technet.microsoft.com/Forums/ie/en-US/df02dc05-5ce8-499d-9ba3-ab392a5fc3af/sharepoint-2013-ssrs-application-error-key-not-valid-for-use-in-specified-state-exception?forum=sharepointdevelopment
    Any ideas how I can fix this problem?

    Hi,
    From the Reporting Server Configuration Manager you have to restore the encryption key.
    Please try to delete databases(reportserver & reportservertempdb) and delete the reportserver and reports site on IIS. Then you have to start over the configuration again.
    If the issue still exists, Please check ULS log to see if anything unexpected occurred.
    For SharePoint 2013, by default, ULS log locates in
    "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\LOGS"
    More information about SQL Reporting services Installation with SharePoint 2013 for your reference:
    http://expertsharepoint.blogspot.de/2014/03/sql-reporting-services-installation.html
    Best Regards,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

Maybe you are looking for