Using catalog to resolve schema URI with schema distribution thrue jars

Hi,
I'm using commons resolver catalog to resolve schema locations for xml validation. In all documentation I've seen, the CatalogManager.properties must be unique in the classPath and it must be in the same jar as all the catalog files: the CatalogManager will search for catalog files on paths relative to the CatalogManager.properties...
My problem is, I want to distribute schemas on several jars. One schema may include other schema that is located in a diferent jar.
Possible solutions:
Distribute one or more catalog files and one CatalogManager.properties per jar and the CatalogManager manages all the CatalogManager.properties that finds in the classPath;
Distribute one or more catalog files per jar and have one CatalogManager per application that loads the catalogs as resources;
Any other that I'm not thinking off at the moment.
I'm sure that must allready exists something that fills my needs.
Does someone knows something?
Thanks in advance

You haven't said what parser is giving you these errors. Most XML parsers do not support XML Schema for validation: have you checked to make sure yours does?

Similar Messages

  • Using trusted_networks to Resolve a Problem with SpamAssassin

    Our Web site (www.prufrock.com) is hosted off-site. When a customer wants to subscribe to our mailing lists (btw, the lists are not managed by our OS X server), they do so using our Web site.
    When someone subscribes to a list or when someone posts a comment on our corporate blogs, the subscription request or "A comment has been posted to your blog!" notification e-mail is sent from an MTA at the Web hosting company (swiftweb ([192.168.10.9] or swiftweb2 [192.168.10.240]) to the hosting company's main mail server (smtp.powerwebbook.com [69.49.170.8]) and then to my mail server (mail.prufrock.com).
    The mail is reaching our mail server as if it were coming from the mailing list subscriber or blog comment poster (i.e., the mail is deliberately "spoofed"). For example, an e-mail from [email protected] will reach my server as if an email from @yahoo.com were being sent from my web site's MTA (see below).
    This creates a problem; particularly for emails from yahoo subscribers. SpamAssassin thinks someone is trying to spoof a yahoo address so it gives the emails a penalty of 1.849 (FORGEDYAHOORCVD=1.849). Depending on additional penalties that can be added by other rules, e-mails from some addresses get flagged as spam (my system only requires a score of 3.5 for e-mail to be flagged as spam).
    To solve the problem, I'm considering adding 192.168.10.9 and 192.168.10.240 to the networks SpamAssassin sees as "trusted" (that will assign a bonus score to the e-mails and off-set the "spoofing" penalty).
    Is this a reasonable approach, or can you guys suggest something better?
    **Example of a "Subscribe" Request From Our Web Site**
    Return-Path: <[email protected]>
    Received: from murder ([unix socket])
    by mail.prufrock.com (Cyrus v2.2.12-OS X 10.4.8) with LMTPA;
    Mon, 05 Feb 2007 11:26:19 -0600
    X-Sieve: CMU Sieve 2.2
    Received: from localhost (localhost [127.0.0.1])
    by mail.prufrock.com (Postfix) with ESMTP id 3D59AC8575
    for <[email protected]>; Mon, 5 Feb 2007 11:26:19 -0600 (CST)
    X-Spam-Score: 2.752
    X-Spam-Level: **
    X-Spam-Status: No, score=2.752 required=3.5 tests=[AWL=-0.898, BAYES_50=0.001,
    DNSFROM_RFCABUSE=0.2, DNSFROM_RFCPOST=0.5, DNSFROM_RFCWHOIS=0.5,
    FORGEDYAHOORCVD=1.849, NOREALNAME=0.6]
    Received: from mail.prufrock.com ([127.0.0.1])
    by localhost (mail.prufrock.com [127.0.0.1]) (amavisd-new, port 10024)
    with ESMTP id Lnhs8ZNJrI1u for <[email protected]>;
    Mon, 5 Feb 2007 11:26:17 -0600 (CST)
    Received: from smtp.powerwebbook.com (unknown [69.49.170.8])
    by mail.prufrock.com (Postfix) with ESMTP id 78C22C8565
    for <[email protected]>; Mon, 5 Feb 2007 11:26:17 -0600 (CST)
    Received: from swiftweb2 ([192.168.10.240]) by smtp.powerwebbook.com with Microsoft SMTPSVC(6.0.3790.1830);
    Mon, 5 Feb 2007 10:25:16 -0700
    Message-ID: <17482431.1170696317374.JavaMail.cfadmin@swiftweb2>
    Date: Mon, 5 Feb 2007 10:25:17 -0700 (MST)
    From: [email protected]
    To: [email protected]
    Subject: Subscribe
    Mime-Version: 1.0
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: 7bit
    X-Mailer: ColdFusion MX Application Server
    X-OriginalArrivalTime: 05 Feb 2007 17:25:16.0362 (UTC) FILETIME=[9A02A2A0:01C7494A]
    MTA-Interface: amavisd-new-2.4.2 (20060627) at prufrock.com
    X-Spam-Scanned: using SpamAssassin 3.1.7 (2006-10-05) at mail.prufrock.com
    X-Virus-Scanned: using ClamAV 0.88.7 (2007-01-19) at prufrock.com

    I got a lot of help off-list for this (thanks, Alex and Dale), so I thought I would take a bit of time to summarize the solution for this situation in case someone else finds it of value.
    (1) I can't have the my Web site's designers use my mail server, rather than theirs. They use a lot of third-party ColdFusion modules, and they would have had to do some digging into code that they didn't write to find how to route our mail differently than their other client's mail (they service a lot of independent publishers), and they just felt like it wasn't something they were going to do (unless I paid for the programming time). It was going to be a bit cost-prohibitive.
    (2) Based the off-list discussions I had, I've set trusted networks and internal networks as follows:
    # Trusted Networks
    trusted_networks 64.123.27.94/32 #Server's Public IP
    trusted_networks 192.168.0.0/24 #Local Austin TX Network
    trusted_networks 192.168.1.0/24 #Local Waco TX Network
    trusted_networks 127.0.0.1/32 #Local Host
    # Internal Networks
    internal_networks 64.123.27.94/32 #Server's Public IP
    internal_networks 192.168.0.0/24 #Local TX Austin Network
    internal_networks 192.168.1.0/24 #Local TX Waco Network
    internal_networks 127.0.0.1/32 #Local Host
    (3) However, I still needed to accept mail from 69.49.170.8 without having any mail from that mail server accidently caught by my content filter. This is a trusted mail server that will not relay spam. So, I set things up so that any mail from 69.49.170.8 bypasses amavisd and re-injects into postfix immediately. To achieve this ...
    a. I created a file called /etc/postfix/bypassspamcheck
    b. I put this line inside this file:
    69.49.170.8 FILTER smtp:[127.0.0.1]:10025
    c. I issued "sudo postmap /etc/postfix/bypassspamcheck"
    d. I add "checkclientaccess hash:/etc/postfix/bypassspamcheck" to
    smtpdclientrestrictions
    So now that entire line looks like:
    smtpdclientrestrictions = permitsaslauthenticated, permit_mynetworks, checkclientaccess hash:/etc/postfix/bypassspamcheck, rejectrblclient zen.spamhaus.org, permit
    5. I issued sudo postfix reload

  • How to use (to program) a Scheme in Xcode? (novice programer needs help!)

    How to use (to program) a Scheme in Xcode?
    i have been using Aquaemacs (GNU emacs) with Guile extensions. but i really would like to do all that in Xcode. is it possible? thanks.

    I believe that Scheme is not a language natively supported by Xcode. Maybe there is a way to write a plugin for it, but I don't really think so and in particular I haven't seen one for LISP or Scheme.

  • Using Oracle Paser for schema validation

    Hi,
    I am trying to use oracle parser for schema validation. I get hold of oracle parser using jaxp api. Below is the code snippet. When i set the attribute to turn the schema validation on, orale parser does not recognize this jaxp attribute . How can i do schema validation using oracle's xml parser implementaion that i get using jaxp?
    String JAXP_SCHEMA_LANGUAGE = "http://java.sun.com/xml/jaxp/properties/schemaLanguage";
    String W3C_XML_SCHEMA = "http://www.w3.org/2001/XMLSchema";
    javax.xml.parsers.DocumentBuilderFactory factory = javax.xml.parsers.DocumentBuilderFactory.newInstance();
    factory.setValidating(validate);
    factory.setNamespaceAware(true);
    factory.setAttribute (JAXP_SCHEMA_LANGUAGE,W3C_XML_SCHEMA);
    javax.xml.parsers.DocumentBuilder builder = factory.newDocumentBuilder();
    Thanks

    DOMParser domParser=new DOMParser();
    domParser.setValidationMode(XMLParser.SCHEMA_VALIDATION);
    domParser.setXMLSchema(SchemaUrl);
    DefaultHandler handler=new DefaultHandler();
    DOMParser.setErrorHandler(handler);
    Parse the XML document to validate with the XML schema.
    domParser.parse(XmlDocumentUrl);

  • Physical catalog and Physical schema

    Hi all,
    I want to know what is difference between physical catalog and physical schema in the physical layer of Repository.

    Hi,
    A physical catalog can contain one or more physical schema's. This can be useful when you are creating very large repositories. A physical schema references a database schema.
    Hope this helps.
    Cheers,
    Daan Bakboord
    http://www.obi-forumlive.nl/

  • Authorization Scheme using the APEX Authentication Scheme

    How would you build an authentication scheme that is using the APEX Authorization scheme. All users are belonging to a group which could be Oracle, External or Developer and I'd like to hide certain pages from the External users.
    I am not sure if I can grab the group name from some V('..') function and make something work?
    Cheers,
    Andy

    I'll give it a try again, sorry for not being able to describe the problem better!
    I am using the APEX built in authorization and authentication to make my life simple with regards to user mgmt. So all the users are managed using the Home>Administration>Manage Application Express Users. Every user belongs to an APEX group (Home>Administration>Manage Application Express Users>User Groups). For example:
    User A belongs to Group External
    User B belongs to Group Oracle
    User C belongs to Group Admin
    Now, there are certaing pages in my application that I want to restrict from the Group External (but the Group Admin and Group Oracle can see them).
    So my question is really how would I build such an Authorization Scheme to accomplish this? Not suer about which APEX API functions I should use to get this data and how to build the function.
    I hope this makes more sense?
    Andy

  • Using the Soap Encoding schema within an XSD

    Hi,
    I am trying to create some XSDs based on the types from the auto-generated WSDLs in JDeveloper. However, I find that while the Array type works fine in the WSDL, I cannot seem to get it validate correctly in my XML schemas, possibly due to some namespace error.
    The current code in the XSD is given as:
    <xsd:schema
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
    <xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
    <xsd:import namespace="http://schemas.xmlsoap.org/wsdl/"/>
    <xsd:complexType name="VesselQueryResult">
    <xsd:all>
    <xsd:element name="vesselNames" type="ArrayOfjava_lang_String"/>
    </xsd:all>
    </xsd:complexType>
    <xsd:complexType name="ArrayOfjava_lang_String">
    <xsd:complexContent>
    <xsd:restriction base="SOAP-ENC:Array">
    <xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="xsd:string[]"/>
    </xsd:restriction>
    </xsd:complexContent>
    </xsd:complexType>
    When I tried to add this XSD using as a user schema, however, below validation error is being displayed:
    Error: Line 0, Column 0: Invalid reference: 'http://schemas.xmlsoap.org/soap/encoding/:Array'
    I tried to qualify the SOAP-ENC namespace with the schemaLocation, but another error was displayed:
    <xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/"
    schemaLocation="http://schemas.xmlsoap.org/soap/encoding/"/>
    oracle.xml.parser.schema.XSDException: Server returned HTTP response code: 407 for URL: http://schemas.xmlsoap.org/soap/encoding/
    I am wondering how JDeveloper supports the SOAP-ENC schema for use in XSDs. Do I need to add the Soap Encoding schema as a user schema, or is there a way I might reference it similar to the way that auto-generated WSDLs seem to deal with it? Any information regarding this would be greatly appreciated.
    Thank you and regards.

    I deleted the two lines of coding below:
    utl_http.set_proxy('www-proxy', NULL);
    utl_http.set_persistent_conn_support(TRUE);
    and then I set the utl_http.set_persistent_conn_support() to False to get that error message. Seems like the website in question doesnt have the webservice anymore because the error has to do with the parsing of the WSDL file.... which probrably doesnt exist.
    Im just trying to get a working example of using a third party webservice to return a value to be displayed in the database.... know of any good examples? The ones im using seem to be pretty out dated... the barnes and nobles example just times out....

  • Can multiple APEX application use the same parsing schema?

    Hi,
    I have 4.2 APEX thru pl/sql Gatewat, 11gr2 DB and using theme 24.
    Due to the APEX limitation for version control I would be splitting 1 big ERP applications into 24 different APEX applications and each application would be considered as 1 unit for version control.
    I have about 800 tables and I would assume that all of these would need to be stored in 1 schema since a lot of these table are linked thru FK.
    Can I have multiple APEX APPS using the same parsing schema? or is there a better way to do this?
    Thanks in advance!

    Hi,
    Multiple applications can have same (one) parsing schema.
    You can test that on e.g. apex.oracle.com, where normally you have only one schema and you create multiple applications and all use that same schema.
    Regards,
    Jari
    My Blog: http://dbswh.webhop.net/htmldb/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai
    Edited by: jarola on Jan 28, 2013 7:15 PM

  • Is there a way to play video clips that use adobe flash and if not when are you going to resolve your problem with them ? I won't buy another apple product until you do and I Know I,m not the online.

    Is there a way to play video clips that use adobe flash and if not when are you going to resolve your problem with them ? I won't buy another apple product until you do and I Know I,m not the only one.

    Use the search feature and type in Flash and there are like thousands of posts on this.
    You seem to think you are addressing Apple with your post.  This is a user forum and we are all users just like you.

  • Can I use jstl1.0 uri with jstl 1.1.2 libraries

    The application has several wars some with 2.3 and some with 2.4 web.xml
    But all the apps consistently use the 1.1 uri ie., the one WITH "jsp" in it.
    So the two part question is: does the web.xml declared specification have any effect on which taglib it picks up ?
    and are the 1.1.2 tag libs compatible with both jstl 1.0 and jstl.1.1.2 uri s ?

    No..Ideally not.
    Due to backward compatibility most of the Application Servers including WebLogic provides us an option to use older web.xml which uses DTDs as well...
    But this is not a good practice ....to use Older DDs inside our application ..it has many loses So it is always better to convert those DDs according to the version of Server which we are using.
    It is more simpler with WebLogic because WebLogic provides a very useful tool "weblogic.DDConverter" to convert/upgrade these DDs in seconds according to the current version of WebLogic which u are using...For more details on this Please refer to : http://weblogic-wonders.com/weblogic/2010/08/26/weblogic-ddconverter-to-generate-latest-dds/
    Thanks
    Jay SenSharma
    http://weblogic-wonders.com/weblogic/miscellaneous/  (Middleware Wonders Are Here)

  • How can we take the incremental export using the datapump at schema level.

    Hi,
    How can we take the incremental export using the datapump at schema level. Example, today i had taken the full export of one schema.
    After 7 days from now , how can i take the export of change data , from the data of my full export.
    using the export datapump parameter - FLASHBACK_TIME ,can we mention the date range. Example sysdate - (sysdate -7)
    Please advice
    thanks
    Naveen.

    Think of the Data Pump Export/Import tools as taking a "picture" or "snapshot."
    When you use these utilities it exports the data as it appears (by default) while it's doing the export operation. There is no way to export a delta in comparison to a previous export.
    The FLASHBACK_TIME parameter allows you to get a consistent export as of a particular point in time.
    I recommend you go to http://tahiti.oracle.com. Click on your version and go to the Utilities Guide. This is where all the information on Data Pump is located and should answer a lot of your questions.

  • When will Apple resolve its issue with Adobe so iPad users can use flash?

    When will Apple resolve its issue with Adobe so iPad users can access flash?

    That isn't going to happen. Adobe has not only given up on iOS, they have given up on all mobile device now.
    Why do you think you need Flash?
    Allan

  • Invalid endpoint uri with a new protocol (custom protocol)

    Hi!
    I've deployed a web service in the OSB console which has an endpoint with http protocol...(f.e. "http://myhost:port/WebService"), importing a jar which contains this files: proxy service, business service, schema and wsdl...
    I added to the weblogic server a new custom protocol.The endpoint of this new protocol must be like this: "tcp://host:port"...
    I've tried to redeploy the web service with the new protocol in the business service file...but when i redeploy the web service, the osb says that the uri is incorrect, because it's still having the last web service's uri : "http://myhost:port/WebService" and it doesn't match the new protocol's endpoint ( "tcp://...")...
    when i do the same change in the business service...(change the business service's protocol)...the osb automatically removes the existing uri and it shows me a new endpoint uri with the new protocol to add...
    does exist any way to remove the existing business service's endpoint uri when i redeploy the web service's jar in the osb console????
    Thanks!!
    Ingrid.
    Edited by: user11144501 on 17-ene-2011 7:46

    Changing URI and transport protocol itself are two different things. If you want to change URI only then that is very much possible using Customization File in OSB -
    http://download.oracle.com/docs/cd/E14571_01/doc.1111/e15867/customization.htm#CACJCAGD
    You may execute customization files using WLST as well.
    But in your case you want to change the transport protocol itself which may require changes in Transport Protocol Parameters (and other dependent settings), so it may not be possible to do the same using script. I think for changing transport protocol, you have to manually update all the service's configurations on sbconsole or in OEPE.
    Regards,
    Anuj

  • The first time I connected my new My Passport portable hard drive to my Mac, the message asking if I want to use the drive to back up with Time Machine did not appear.  What is the next step?

    The first time I connected my new My Passport portable hard drive to my MacBook Pro, the message asking if I want to use the drive to back up with Time Machine did not appear.  I would like to set it up to do this.  What would my next step be?

    Drive Partition and Format
    1. Open Disk Utility in your Utilities folder.
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Click on the Options button, set the partition scheme to GUID then click on the OK button. Set the format type to Mac OS Extended (Journaled.) Click on the Apply button and wait until the process has completed.
    4. Select the volume you just created (this is the sub-entry under the drive entry) from the left side list. Click on the Erase tab in the DU main window.
    5. Set the format type to Mac OS Extended (Journaled.) Click on the Security button, check the button for Zero Data and click on OK to return to the Erase window.
    6. Click on the Erase button. The format process can take up to several hours depending upon the drive size.
    Open Time Machine preferences to select this drive for use as the backup drive. Turn on Time Machine.

  • Using journalized data in an interface with aggragate function

    Hi
    I am trying to use the journalized data of a source table in one of my interfaces in ODI. The trouble is that one of the mappings on the target columns involves a aggregate function(sum). When I run the interface i get an error saying "not a group by expression". I checked the code and found that the jrn_subscriber, jrn_flag and jrn_date columns are included in the select statement but not in the group by statement(the group by statement only contains the remiaining two columns of the target table).
    Is there a way around this? Do I have to manually modify the km? If so how would I go about doing it?
    Also I am using Oracle GoldenGate JKM (oracle to oracle OGG).
    Thanks and really aprreciate the help
    Ajay

    'ORA-00979' When Using The ODI CDC (Journalization) Feature With Knowledge Modules Including SQL Aggregate Functions [ID 424344.1]
         Modified 11-MAR-2009 Type PROBLEM Status MODERATED      
    In this Document
    Symptoms
    Cause
    Solution
    Alternatives :
    This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process, and therefore has not been subject to an independent technical review.
    Applies to:
    Oracle Data Integrator - Version: 3.2.03.01
    This problem can occur on any platform.
    Symptoms
    After having successfully tested an ODI Integration Interface using an aggregate function such as MIN, MAX, SUM, it is necessary to set up Changed Data Capture operations by using Journalized tables.
    However, during execution of the Integration Interface to retrieve only the Journalized records, problems arise at the Load Data step of the Loading Knowledge Module and the following message is displayed in ODI Log:
    ORA-00979: not a GROUP BY expression
    Cause
    Using both CDC - Journalization and aggregate functions gives rise to complex issues.
    Solution
    Technically there is a work around for this problem (see below).
    WARNING : Oracle engineers issue a severe warning that such a type of set up may give results that are not what may be expected. This is related to the way in which ODI Journalization is implemented as specific Journalization tables. In this case, the aggregate function will only operate on the subset which is stored (referenced) in the Journalization table and NOT over the entire Source table.
    We recommend to avoid such types of Integration Interface set ups.
    Alternatives :
    1.The problem is due to the missing JRN_* columns in the generated SQL "Group By" clause.
    The work around is to duplicate the Loading Knowledge Module (LKM), and in the clone, alter the "Load Data" step by editing the "Command on Source" tab and by replacing the following instruction:
    <%=odiRef.getGrpBy()%>
    with
    <%=odiRef.getGrpBy()%>
    <%if ((odiRef.getGrpBy().length() > 0) && (odiRef.getPop("HAS_JRN").equals("1"))) {%>
    ,JRN_FLAG,JRN_SUBSCRIBER,JRN_DATE
    <%}%>
    2. It is possible to develop two alternative solutions:
    (a) Develop two separate and distinct Integration Interfaces:
    * The first Integration Interface loads data into a temporary Table and specify the aggregate functions to be used in this initial Integration Interface.
    * The second Integration Interfaces uses the temporary Table as a Source. Note that if you create the Table in the Interface, it is necessary to drag and drop the Integration Interface into the Source panel.
    (b) Define two connections to the Database so that the Integration Interface references two distinct and separate Data Server Sources (one for the Journal, one for the other Tables). In this case, the aggregate function will be executed on the Source Schema.
    Show Related Information Related
    Products
    * Middleware > Business Intelligence > Oracle Data Integrator (ODI) > Oracle Data Integrator
    Keywords
    ODI; AGGREGATE; ORACLE DATA INTEGRATOR; KNOWLEDGE MODULES; CDC; SUNOPSIS
    Errors
    ORA-979
    Please find above the content from OTN.
    It should show you this if you search this ID in the Search Knowledge Base
    Cheers
    Sachin

Maybe you are looking for

  • Unable to open PDF's

    Using Reader, I am unable to open PDF's that have been downloaded from the web.  I get he following error message: This is a new problem.  I can open other PDF's.  I am using Reader 11.0.06 on a MacBook Pro with Mountain Lion.

  • How to handle session-timeout in producer-consumer(wsrp) environment.

    Hi We are using weblogic portal 9.2 in federated environment (wsrp) . We have one consumer Ear and some producer Ear . we want if session is time out ,then user should direct to some default page . For that we are firing event in Base Exception handl

  • How to access external drive attacked to AirPort Extreme from ipad

    Have attached external drive to AirPort Extreme via USB, how can I access those files from iPad / iPhone?

  • Queue  does not exist Error while saving TO

    We enabled RF Queue determination Queues are getting determined correctly in Transfer orders as per the logic mentioned in 'Assign Areas and Activities to Queues' We dont want queue determination for few TO's if logic is not there and ststem should n

  • TS1559 Wifi is off (grey) reloaded software but still say off.  Pls help???

    It seems after loading the lastest software OS on my IPAD3 the Wifi will not work.   It has stayed GREY OFF and can't sync to wifi.   My wifes IPAD2 does but not my IPAD3 since I did the update (it seems).    Any help please, this thing is driving me