XmlBean to plain xml without namespaces

I want to call a service wich takes a string as input
But the string must contain plain xml like :
"<quote><address>12 Springs</address></quote>"
I did write a xsd file, and generated a xmlBeans, but
how to get the plain xml in a string without the namespaces from the xmlBean
Regards,
reimer

"David Baer" <[email protected]> wrote:
>
"RajeshRao" <[email protected]> wrote:
Even I am trying but no luck,
can somebody help !!
ThanksThis works in my testing so far. Feedback on any malfunctions appreciated.
This
does not attempt to "namespace-unqualify" attribute names, only element
names,
but that's easily added.
import com.bea.xml.XmlCursor;
import com.bea.xml.XmlObject;
import javax.xml.namespace.QName;
private void localizeXmlFragment(XmlObject x)
String s;
XmlCursor c = x.newCursor();
c.toNextToken();
while (c.hasNextToken())
if (c.isNamespace())
c.removeXml();
else
if (c.isStart())
s = c.getName().getLocalPart();
c.setName(new QName(s));
c.toNextToken();
c.dispose();
Don't know why the line breaks disappeared with the previous reply. Let's try
it one more time.
import com.bea.xml.XmlCursor;
import com.bea.xml.XmlObject;
import javax.xml.namespace.QName;
private void localizeXmlFragment(XmlObject x)
String s;
XmlCursor c = x.newCursor();
c.toNextToken();
while (c.hasNextToken())
if (c.isNamespace())
c.removeXml();
else
if (c.isStart())
s = c.getName().getLocalPart();
c.setName(new QName(s));
c.toNextToken();
c.dispose();

Similar Messages

  • JMS Adapter getting xml without namespace

    Hello,
    We're using BPEL 10.1.3.4 and we need to integrate a legacy system with a new one. The legacy system writes in a JMS queue a simple xml message without namespaces (following although a specific schema). When in BPEL I try to get this xml I cannot access its elements and I'm getting errors like the following:
    variable/ expression is empty
    Which seems normal as bpel tries to access the element using namespaces.
    I found this thread which seems to be the same issue Re: writing XML without namespace? but I cannot actually understand the approach.
    Any help will be really usefull!
    Thank you!

    Hi,
    Did the solution mentioned in the other thread worked for you? I am having the exact problem.
    Thanks.

  • XML without namespace and prefix, modified package-info.java, JAX-WS option

    Hello
    I have created a consumer business service which will be called from JDEdwards EOne, pulls data from database and send it to Fusion Middleware.
    SO, I have created proxy using JAX-WS option. And suggested in oracle doc, I created proxy outside OMW and then copied it to my project. XML payload is getting generated without namespace and prefix. After some research, I modified package-info.java. Now, I am able to send the payload and if test it locally from Jdeveloper and take xml output using marshaller I can see it has namespace and prefix as well. BUt, when I run this from server it does not have namespace and prefix.
    Please help.
    Thanks
    TK

    Just to clerify,
    The common complex types are StatusInfo, IdcProperty and IdcPropertyList. I ahve 3 more WSDL's with the exact same entires for those 3.

  • Writing XML without namespace?

    Hi,
    I have a "strange" xml schema in a system I need to export data to. It lacks any forms of namespace (possibly a converted DTD) and it seemd the FTP adapter (from BPEL) cant handle XML-types without namespaces.
    Is there a way to do this without using an opaque adapter and writing the data as "text"?
    The schema the file uses can be found here: http://services.agresso.com/schema/ABWSupplierCustomer/2004/07/02/ABWSupplierCustomer542.xsd
    // Michael Medin

    This works for both BPEL & ESB:
    1. Build an XSD for the source system adapter/process with no XSD.
    2. Build another XSD which acts like wrapper of original XSD.
    3. In the Wrapper XSD include the actual xsd.This one is sample xsd which has the piece of code
          <?xml version="1.0" encoding="windows-1252" ?>
           <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.example.org" targetNamespace="http://xmlns.oracle.com/BPELProcess2"
          xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd" nxsd:version="DTD"
          elementFormDefault="qualified">
          <include schemaLocation="actual.xsd"/>
          </xsd:schema>The Target Namespace can be of any URL and this could be of anything.While polling the file or any JMS queue the adapter should include the wrapper xsd instead of actual xsd.This would read the file or any queue even if there is no namespace and the values can be transformed or assigned inside the process.
    Peace,
    G.

  • Splitting XML Files without namespaces

    Hello,
    I have a file that looks similar to this:
    <?xml version="1.0" encoding="UTF-8"?>
    <File>
     <Header>
      <Location>Phoenix</Location>
      <Date>052214</Date>  
     </Header>  
     <Bill></Bill>
     <Trailer>
      <Total>1076</Total>
     </Trailer>
    </File>
    What I would like to do is split the file (<Bill> is repeating) and I understand I should be able to do this with an envelope schema. I've done some research and every example I'm coming across happens to have a namespace in the sample schema.
    How can I accomplish the same thing without the namespace?
    Do I need to add the namespace using the ESB Toolkit, and if so, am I supposed to add a namespace to the repeating element? I looked into that solution and couldn't understand how to add a namespace to the Bill element, only the root. Unfortunately I trashed
    that approach and went with an orchestration. While that is working, it just doesn't seem right if I can accomplish this task in the receive stage.
    Any help/encouragement would be appreciated.

    The problem is that if you split the message on an element that has no namespace, you will need a Schema without namespace (in your case with a root element of "Bill" and no namespace).
    Having Schemas without namespaces in BizTalk is bad practice and should, in general and if possible, be avoided.
    So what I would do is create a custom Pipeline Component that (either using XDocument, XMLDocument or Regular Expression) appends a namespace to all "Bill" elements and also a namespace to the Root. 
    Apply the Component in the Decode Stage on your Receive Pipeline so that it is applied BEFORE the disassemble stage, and then create your "Bill" Schema with the newly appended Namespace, and also Apply the Batch namespace to your Envelope Schema.
    An Example:
    <?xml version="1.0" encoding="UTF-8"?>
    <b:File xmlns:b="http://Batch">
    <Header>
    <Location>Phoenix</Location>
    <Date>052214</Date>
    </Header>
    <c:Bill xmlns:c="http://namespace"></c:Bill>
    <c:Bill xmlns:c="http://namespace"></c:Bill>
    <c:Bill xmlns:c="http://namespace"></c:Bill>
    <c:Bill xmlns:c="http://namespace"></c:Bill>
    <Trailer>
    <Total>1076</Total>
    </Trailer>
    </b:File>
    Morten la Cour

  • Message Mapping Issue with data without namespace

    Hi,
    I have a common xsd imported which has its own target namespace into my SWC namespace. Based on this xsd I have generated a Message Interface and webservice and given the wsdl to third party system for invoking my webservice.
    The problem is I have done the message mapping based on xsd which has namespace but whereas the third party system which is consuming my webservice is sending the xml data without any namespace and because of which my mapping is failing (target structure is not getting generated as expected). I have tested the mapping with namespace and without namespace from IR already. I have explained this below with example.
    I cannot change the xsd as it is a common and even cannot ask the end system to change the data format they are sending as they are sending the same data to some other systems also, which are not complaining.
    How to resolve this issue in XI?
    Actual xml data generated from my imported xsd (with namespace)
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Root xmlns:ns0="http://employee/types">
       <ns0:EmployeeDetails>
          <ns0:EmployeeId>12</ns0:EmployeeId>
            <ns0:EmployeeName>XYZ</ns0:EmployeeName>
    </ns0:EmployeeDetails>
    </ns0:Root>
    Actual Data coming from third party system (without namespace)
    <?xml version="1.0" encoding="UTF-8"?>
    <Root>
       <EmployeeDetails>
          <EmployeeId>12</EmployeeId>
            <EmployeeName>XYZ</EmployeeName>
    </EmployeeDetails>
    </Root>
    Thanks
    Amit

    Just  wild guess:)
    I am not 100% sure but i guess XSLT mapping does not checks the incoming payload against the sender message type.Within XSLT mapping you can add/remove namespace as you would like,use this XSLT mapping before your actual message mapping in interface mapping.
    I am saying this coz recently i was able to generate XSLT mapping(in altova Map Transform) without even specifying any sender or receiver Message type and it worked just fine.
    Thanx
    Aamir

  • NWDS adding prefix without namespace

    Hi,
    I'm facing an issue with a prefix without namespace.
    I'm calling a webservice defined on XI from EP through a Service built in NWDS.
    <?xml version="1.0" encoding="utf-8"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wn3="http://www.w3.org/1999/XMLSchema" xmlns:wn2="http://www.w3.org/2000/10/XMLSchema" xmlns:wn1="http://www.w3.org/2001/XMLSchema" x ... "http://www.w3.org/2001/XMLSchema-instance" xmlns:wn4="http://iwaysoftware.com/iwaf/XI/System" xmlns:tns="http://iwaysoftware.com/iwaf/XI/System">
    <SOAP-ENV:Body>
    <wn4:EPSiebelActionMT>
    <prt0:select/>
    </wn4:EPSiebelActionMT>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    Prefix 'prt0' is not mapped to a namespace but is added to the <select> node.
    The call to XI leads to an error since XI seems to dislike undefined prefix.
    What should be done ?
    Thx,
    mejj

    Hello,
    I have the same problem.
    Does someone know how to solve the problem?
    Thanks.

  • Unable to locate Spring NamespaceHandler for XML schema namespace

    I am not sure if this is the best practice approach but this is the problem I am ruining into. Below, I explain what I am doing:
    1) What I am doing:
    =============
    Based on the oracle incubator example (http://coherence.oracle.com/display/INCUBATOR/Processing+Pattern+Examples); I am running a server and submitting tasks through a proxy application that submits them to ProcessingPatternConfigurator; let's call my task processReport.
    a) my processReport is using spring and ibatis together, I created a utility static class to obtain a spring context and retrieves beans using the following lines ( see exhibit "A1 and A2" below).
    b) when my task calls the context and that spring loads, it is failing with the error show in exhibit "B".
    I suspect I am missing a lib? I googled the error and searched you site but could find a meaningful discussion on it. I guess my question is if this is not the best approach, how do I integrated with spring initializing beans and setting up ibatis framwork, providing beans and database access through Ibatis for each task ruining on the grid (processReport).
    thanks
    A1) processReport (submitted in the grid) uses this line
    AbstractXmlApplicationContext ctx = (AbstractXmlApplicationContext) AmrContextUtil.getInstance();
              System.out.println("Classpath loaded. Executing Report...");
              ReportProcessor repProcessor = (ReportProcessor) ctx.getBean("reportProcessor");
    A2) Here is the AmrContextUtil:
    import org.springframework.context.support.AbstractApplicationContext;
    import org.springframework.context.support.ClassPathXmlApplicationContext;
    public final class AmrContextUtil {
         private static AbstractApplicationContext ctx = null;
         public AmrContextUtil() {
              super();
         public final static synchronized AbstractApplicationContext getInstance(){
              if (ctx == null){
                   ctx = new ClassPathXmlApplicationContext("classpath:config/applicationContext.xml");
                   setCtx(ctx);
              return ctx;
         public final static synchronized AbstractApplicationContext getCtx() {
              return ctx;
         public final static synchronized void setCtx(AbstractApplicationContext ctx) {
              AmrContextUtil.ctx = ctx;
    B) Here is the error reported by the server:
    2010-02-10 15:42:28.312/57.986 Oracle Coherence GE 3.5.2/463 <Warning> (thread=GridExecutor:Thread-2
    , member=1): TaskRunner - Failed to process 0x00000126B99E5524AC1F007AAB1587BBCFEC5E6637E1DED6CCB984
    03D6AADF4D due to:org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Failed to import bean definitions from URL location [classpath:config/reports-application.xml] Offending resource: class path resource [config/applicationContext.xml]; nested exception is org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unexpected failure during bean definition parsing
    Offending resource: class path resource [config/reports-application.xml] Bean 'reportSqlMapConfig'; nested exception is org.springframework.beans.factory.parsing.BeanDefinitionParsingException: *Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/schema/util]*
    *Offending resource: class path resource [config/reports-application.xml] Bean 'reportSqlMapConfig'*
    -> Property 'resourceMap'
    c)Here is my application-context.xml offending line:
    <bean id="reportSqlMapConfig"
    class="com.xx.report.generator.ReportSqlMapConfig">
    <property name="resourceMap">
    <map>
    <entry>
    <key>
    <util:constant static-field="com.xx.report.domain.ReportType.FPA"/>
    </key>
    <value>classpath:config/diehardReportSqlMapConfig.xml</value>
    </entry>
    <entry>
    <key>
    <util:constant static-field="com.xx.report.domain.ReportType.FCN"/>
    </key>
    <value>classpath:config/falconReportSqlMapConfig.xml</value>
    </entry>
    <entry>
    <key>
    <util:constant static-field="com.xx.report.domain.ReportType.ODS"/>
    </key>
    <value>classpath:config/odsReportSqlMapConfig.xml</value>
    </entry>
    </map>
    </property>
    </bean>

    My guess is that something is broken in the configuration of the cacheServer and its not finding
    all of the dependencies that your process pattern application needs. Probably the best way
    to debug this stuff is to define a static main in your runnable task which will make the call
    to the run() method and invoke it as the main class using the identical settings (classpath,
    run directory) that you are using to launch the Coherence cache server.
    Regards,
    Bob

  • Transform XML without validating

    Hi, I use Xalan to transform an XML file.
    I use Tranformer.class, I just want to tranform the XML without validating the file.
    In the parser class, you can use setValidate to avoid or not the validating action.
    Do you know how to do the same with Transformer.class
    Thanks C�dric

    This one piqued my interest, and as no one had responded
    yet I thought I'd poke around and see what's up.
    I looked at the Transfermer class, and the javadoc pointed
    me to the OutputKeys class, the only thing that looked
    remotely interesting was the "STANDALONE" feature. I wonder
    if you can set it to "true" and avoid the validation (as I
    think Standalone implies, no DTD to validate against?)
    Eric

  • Conversion of idoc into xml without  XI

    Hi everyone
    i am working on EDI i want to know procedure to convert our idoc into XML without using XI. is it possible, if yes then plz reply me with procedure.
    Thanks & Regards
    Vimarsh

    Hi Nicolai
    Thanks for ur suggestion, i have one more doubt regarding this, i got this program to convert my records in XML but whatever output i m getting that comes in form of excell sheet, i am sending you that program which not working,
    report zexternalfile .
    tables : zzpublisher,
    sscrfields.
    data: it_publisher like standard table of zzpublisher,
    wa_publisher like zzpublisher.
    select * from zzpublisher into table it_publisher.
    call function 'GUI_DOWNLOAD'
    exporting
    BIN_FILESIZE =
    filename = 'C:\externalfiles\kamal.XLS'
    FILETYPE = 'ASC'
    APPEND = ' '
    write_field_separator = 'X'
    HEADER = '00'
    TRUNC_TRAILING_BLANKS = ' '
    WRITE_LF = 'X'
    COL_SELECT = ' '
    COL_SELECT_MASK = ' '
    DAT_MODE = ' '
    IMPORTING
    FILELENGTH =
    tables
    data_tab = it_publisher
    EXCEPTIONS
    FILE_WRITE_ERROR = 1
    NO_BATCH = 2
    GUI_REFUSE_FILETRANSFER = 3
    INVALID_TYPE = 4
    NO_AUTHORITY = 5
    UNKNOWN_ERROR = 6
    HEADER_NOT_ALLOWED = 7
    SEPARATOR_NOT_ALLOWED = 8
    FILESIZE_NOT_ALLOWED = 9
    HEADER_TOO_LONG = 10
    DP_ERROR_CREATE = 11
    DP_ERROR_SEND = 12
    DP_ERROR_WRITE = 13
    UNKNOWN_DP_ERROR = 14
    ACCESS_DENIED = 15
    DP_OUT_OF_MEMORY = 16
    DISK_FULL = 17
    DP_TIMEOUT = 18
    FILE_NOT_FOUND = 19
    DATAPROVIDER_EXCEPTION = 20
    CONTROL_FLUSH_ERROR = 21
    OTHERS = 22
    if sy-subrc 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    IF YOU HAVE ANY OTHER OPTION THEN PLEASE SEND ME, I WILL BE VERY THANKFUL FOR YOU.
    PLEASE SEND ME WHOLE PROCEDURE IF YOU CAN.
    THANKS & REGARDS
    VIMARSH

  • Axis Web Service SOAP Response without namespace

    Hi folks,
    I use the Axis Framework and eclipse to create a Webservice. I wrote a Method which returns a List of customers(complex Element). When I execute the method I get the following result:
    <soapenv:Body>
    <getAllCustomersResponse>
    <ns1:getAllCustomersReturn>
    <ns1:email>[email protected]</ns1:email>
    <ns1:id>5</ns1:id>
    <ns1:name>Hendrik</ns1:name>
    </ns1:getAllCustomersReturn>
    <ns2:getAllCustomersReturn>
    <ns2:email>[email protected]</ns1:email>
    <ns2:id>6</ns1:id>
    <ns2:name>Masen</ns1:name>
    </ns2:getAllCustomersReturn>
    </getAllCustomersResponse>
    </soapenv:Body>
    How can I configure Axis that I get the result without namespace  like this: ?
    <soapenv:Body>
    <getAllCustomersResponse>
    <getAllCustomersReturn>
    <email>[email protected]</ns1:email>
    <id>5</ns1:id>
    <name>Hendrik</ns1:name>
    </getAllCustomersReturn>
    <getAllCustomersReturn>
    <email>[email protected]</ns1:email>
    <id>6</ns1:id>
    <name>Masen</ns1:name>
    </getAllCustomersReturn>
    </getAllCustomersResponse>
    </soapenv:Body>
    Thanks for your help
    Edited by: Heno on Apr 27, 2009 1:28 AM

    I just had the same problem and solved it like this: I modified the WSDL slightly by removing the prefix from the reference to the element of the response message, as well as the "targetNamespace" in the xsd:schema segment of the WSDL. Like this, SAP is able to parse the response.
    Philippe

  • Copy Signed XML without altering it

    Hi everyone,
    I have a windows 2003 svr with JRE 1.6.0_18, and xmlsec v1.2.97 jar imported.
    I'm building a new module of an existing application, which creates xml for invoices, signs them, and sends them to another company. This signed XMLs are stored on the filesystem.
    I need to copy one of such xml files, lets call it A.xml (with valid signature, I checked using DOM's security validation tools) into another xml, lets say B.xml, without altering the contents of A.xml ( therefore voiding the signature ).
    Then I have to sign B.xml
    I have tried the following so far:
    1. using Filereader to copy byte by byte to B.xml.
    2. using inputstreamreaders (with apropriate encoding parameter) and copy line by line.
    3. using DOM to add new node, and Transformer API to generate B.xml (proper enconding parameters are being set)
    when I run a signature validation on B.xml, the signature has become invalid.
    One intresting thing though, is that if I use method 1 to copy A.xml to another xml having only A's tree, this new XML has a valid signature.
    Has anyone gone through something similar?
    I'm I missing something?
    or is it that whenever I insert an XML into another, it's signature will become void?
    Thank you in advance for your help and time!
    Regards,
    Reynod

    Well, #1 should work. Although I didn't understand what you said about "A's tree". Either you copy the file byte for byte (in which case you don't break the signature) or you produce something different (in which case you break the signature).
    Anything which changes the contents of the XML should generate a document whose signature is invalid. That's the main point of signing a document.

  • Basic Question: plain XML over HTTP

    I would be getting messages in plain XML over HTTP. What should I use to receive those messages. Server is not SOAP based, so client cannot be SOAP based. Should I use JAX-RPC, but when I looked at the documentation, it is giving info regarding SOAP and plain xml over http. Can anyone help me?
    Thanks

    From my understanding, you would be getting a plain xml string by connecting to a server over http.
    You can is DOM or SAX apis to parse this xml input stream.
    For eg: if you are using DOM apis, then you can pass the input stream of the HttpURLConnection as follow...
         DocumentBuilderFactory buildFactory = DocumentBuilderFactory.newInstance();
         buildFactory.setIgnoringElementContentWhitespace(false);
         buildFactory.setValidating(false);
         DocumentBuilder docBuilder = buildFactory.newDocumentBuilder();
         URL url=new URL("http://someserver.com/abc.jsp");
         HttpURLConnection conn= (HttpURLConnection)url.openConnection();
         InputStream in= conn.getInputStream();
         Document doc = docBuilder.parse(in);
         ..Hope this helps...

  • How do I convert multiple PDFs to XML without having to open each file individually?

    How do I convert multiple PDFs to XML without having to open each file individually?

    XML for what?   XML is just a way to structure data - it's nothing in and of itself.
    However, you have to open the file (even if it's not user visible) in order to perform any operation on it - otherwise how would the data be read??
    Are you looking to do this on a desktop or server machine?  What OS platform(s)?  What programming environment?

  • JAXP, XML without SchemaLocation against Schema

    I have problems with JAXP
    I have been checking samples JAXP in next URL:
    http://xml.apache.org/~edwingo/jaxp-ri-1.2.0-fcs/docs/samples.html
    I have
    - request.xml (on bottom)
    - http://www.oasis-open.org/committees/security/docs/cs-sstc-schema-protocol-01.xsd
    My XML validation don't use xsi:hints in instance document
    my cmd> java DOMEcho -xsdss http://www.oasis-open.org/committees/security/docs/cs-sstc-schema-protocol-01.xsd request.xml
    ERROR:
    java.lang.StackOverflowError
         at org.apache.xerces.impl.xs.XMLSchemaLoader.processJAXPSchemaSource(XMLSchemaLoader.java:575)
         at org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema(XMLSchemaLoader.java:489)
         at org.apache.xerces.impl.xs.XMLSchemaLoader.processJAXPSchemaSource(XMLSchemaLoader.java:588)
         at org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema(XMLSchemaLoader.java:489)
         at org.apache.xerces.impl.xs.XMLSchemaLoader.processJAXPSchemaSource(XMLSchemaLoader.java:588)
    Can anybody send me one document xml without xsi:hints and its XML Schema for check this examples???
    request.xml
    <samlp:Request IssueInstant="2002-07-09T13:56:41Z" MajorVersion="1" MinorVersion="0" RequestID="62.36.95.97.1026223001110" xmlns:samlp="urn:oasis:names:tc:SAML:1.0:protocol">
    <samlp:AssertionArtifact>AAEQg2E01sLUvoGL7jo0gkrf3lw3lQAAAAAAAAAAAAAAANUDN5LCBWe5</samlp:AssertionArtifact>
    </samlp:Request>

    Has anyone solved this problem?
    I'm facing exact same one!
    Please, help!
    Vadim.

Maybe you are looking for

  • Operation discription & vendor name in J1IFR.

    Dear Sap Friends, How can I get operation discription & vendor name in J1IFR. I use check box of Display Annex.IV. Or, any other similar report available in system which fulfill these requirement? Please reply. Regards, Chandra

  • Record rejected using SQL*Loader

    I'm not too sure why I'm getting the following error message: Record 1: Rejected - Error on table LOAD_DATA, column CLIENT_NUMBER. ORA-01401: inserted value too large for column Here is my info: Table def: SQL> describe load_data Name Null? Type CLIE

  • When the device tree node(dev_info_t) is built for a pseudo device?

    Hi Expert, I am a new driver writer. I am writing a pseudo driver. As my understanding, the a device node (dev_info_t) must exist before the attach routine is called. int attach(dev_info_t *dip, ddi_attach_cmd_t cmd); For the hardware device, the nod

  • Help needed with denied claim

    Hello, I am in the US and used PayPal to purchase some shipping materials (box, packing tape, bubble wrap) from an online UK retailer to be shipped to a UK address. After two weeks of emails asking for a delivery confirmation and then a refund becaus

  • Whippet (formerly Ease): application launcher and xdg-open replacement

    Whippet is a Bash script which opens files and urls with applications associated by name and/or MIME-type. Applications and associations may be customized within an SQLite database, and can be weighted according to the importance you assign to them.