Xpath 2.0 Exceptions

We recently upgraded from WebLogic 8.1 SP6 to 9.2. All of our Xpath code is no longer working. I've tried both with and without the forceXqrl2002forXpathXquery options. I've tried starting from scratch with basic example code and am having fits.
The XML document looks like:
<?xml version="1.0" encoding="UTF-8">
<RuleSet ...>
<Rules>
<Rule name='ROAD' .../>
<Rule name='RIVER' .../>
</Rules>
</RuleSet>
The query string:
"declare namespace xq='http://rules.ggma.geoscout.nga.mil'
$this/xq:RuleSet/xq:Rules/xq:Rule"
works fine and returns the list of rules. When I change the query to return a rule with a particular attribute value (that works fine in 8.1):
"declare namespace xq='http://rules.ggma.geoscout.nga.mil'
$this/xq:RuleSet/xq:Rules/xq:Rule[@name='ROAD']"
I get a Runtime Exception. I stepped through the low level code (org.apache.xmlbeans.impl.store.Path) and it was raising an XPathCompileException with the message of "Unexpected char '['".
I've also tried this using the Saxonb8.1, and Saxonb8.6 jars.
I get this same error when running all the examples I can find. What is the proper syntax for selecting by attributes for Xpath 2.0?

I've looked at all the sites and everything indicates that .../node-name[@[i]attribute='value'] is the correct syntax. Even XMLSpy recognizes it as valid.
After more stepping through the bean code, the XMLChar.isNCName(char) does not recognize '[', '@', or ']' as valid.

Similar Messages

  • How to invoke the XPath Building Assistant except  "Ctrl + spacebar"

    Hi,everyone
    I want to invoke the XPath Building Assistant ,but the Keyboard Shortcuts(Ctrl + spacebar) is disabled.How do I ?
    The version of my Jdeveloper is 10.1.3.3.0.4157

    问题的原因是:输入法已经占用了快捷键“Ctrl+spacebar”。
    解决方法是:变更输入法的快捷键!

  • Is there better way to do this?  (Xml Pretty Print | node removing)

    Hi all, I have been working at home on a small project to help my Java Jedi training. :-)
    My app saves quotes from authors in an xml file.
    I have a class [XmlRepository extends Thread] that holds control of an xml file to handle requests for Nodes.
    When I remove a node I get a Line Space above the node that was removed, or better put my node gets replaced by a empty line.
    Pretty print or correct Node removing.
    part of my xml is like this (I have resumed it for readability):
        <entities forUser="ffffffff-ffff-ffff-ffff-ffffffffffff">
            <quotes/>
            <authors>
                <author id="f156c570-c676-4d69-9b15-ae7d859ff771" languageCode="en" regenerateAs="com.fdt.cognoscere.entities.sources.Author">
                    <lastNames>Poe</lastNames>
                    <firstNames>Edgar Allan</firstNames>
                </author>
                <author id="35dc0c5a-3813-4a10-af49-8d4ea1c2cee0" languageCode="en" regenerateAs="com.fdt.cognoscere.entities.sources.Author">
                    <lastNames>Wilde</lastNames>
                    <firstNames>Oscar</firstNames>
                </author>
                <author id="317f72ea-add6-4bd2-8c63-d8b373a830ab" languageCode="en" regenerateAs="com.fdt.cognoscere.entities.sources.Author">
                    <lastNames>Christie</lastNames>
                    <firstNames>Agatha</firstNames>
                </author>
                <author id="28047c89-b647-4c40-b6c7-677feaf2dfda" languageCode="en" regenerateAs="com.fdt.cognoscere.entities.sources.Author">
                    <lastNames>Shakespeare</lastNames>
                    <firstNames>William</firstNames>
                </author>
            </authors>
        </entities>If I remove A Node ( Edgar Allan Poe (1st in this case)) the resulting Xml when saved is like this (I have added the space indentation just as it is outputted by my code):
        <entities forUser="ffffffff-ffff-ffff-ffff-ffffffffffff">
            <quotes/>
                <author id="35dc0c5a-3813-4a10-af49-8d4ea1c2cee0" languageCode="en" regenerateAs="com.fdt.cognoscere.entities.sources.Author">
                    <lastNames>Wilde</lastNames>
                    <firstNames>Oscar</firstNames>
                </author>
                <author id="317f72ea-add6-4bd2-8c63-d8b373a830ab" languageCode="en" regenerateAs="com.fdt.cognoscere.entities.sources.Author">
                    <lastNames>Christie</lastNames>
                    <firstNames>Agatha</firstNames>
                </author>
                <author id="28047c89-b647-4c40-b6c7-677feaf2dfda" languageCode="en" regenerateAs="com.fdt.cognoscere.entities.sources.Author">
                    <lastNames>Shakespeare</lastNames>
                    <firstNames>William</firstNames>
                </author>
            </authors>
        </entities>this is how I initialize the XML DOM Handlers, and the method for removing a Node:
         * Initializes factory instances and member variables.
        private void initialize() {
            //obtain an instance of a documentFactory create a document documentBuilder
            this.documentFactory = DocumentBuilderFactory.newInstance();
            //Configure the documentFactory to be name-space aware and validate trough an xsd file
            this.documentFactory.setNamespaceAware(true);
            this.documentFactory.setValidating(true);
            this.documentFactory.setAttribute(JAXP_SCHEMA_LANGUAGE, W3C_XML_SCHEMA);
            try {
                //obtain an instance of an XPathFactory
                this.xpathFactory = XPathFactory.newInstance(XPathFactory.DEFAULT_OBJECT_MODEL_URI);
                //obtain an instance of the xpath evaluator object
                this.xpathEvaluator = this.xpathFactory.newXPath();
                //set namespace mapping configurations
                NamespaceContextMap namespaceMappings = new NamespaceContextMap();
                namespaceMappings.put("xml", "http://www.w3.org/XML/1998/namespace");
                namespaceMappings.put("xmlns", "http://www.w3.org/2000/xmlns/");
                namespaceMappings.put("xsd", "http://www.w3.org/2001/XMLSchema");
                namespaceMappings.put("xsi", "http://www.w3.org/2001/XMLSchema-instance");
                namespaceMappings.put(this.schemaNamespaceMapping, this.schemaNamespace);
                //add mappings
                this.xpathEvaluator.setNamespaceContext(namespaceMappings);
            } catch (XPathFactoryConfigurationException ex) {
                Logger.getLogger(XmlRepository.class.getName()).log(Level.SEVERE, null, ex);
            try {
                //obtain a trasformer factory to save the file
                this.transformerFactory = TransformerFactory.newInstance();
                this.transformerFactory.setAttribute("indent-number", 4);
                //obtain the transforme
                this.transformer = this.transformerFactory.newTransformer();
                //setup transformer
                this.transformer.setOutputProperty(OutputKeys.METHOD, "xml");
                this.transformer.setOutputProperty(OutputKeys.INDENT, "yes");
                this.transformer.setOutputProperty(OutputKeys.MEDIA_TYPE, "text");
                this.transformer.setOutputProperty("{http://xml.apache.org/xslt}indent-amount", "4");
            } catch (TransformerConfigurationException tcex) {
                Logger.getLogger(XmlRepository.class.getName()).log(Level.SEVERE, null, tcex);
         * Removes a node by evaluating the XPATH expression.
         * @param xpath A String instance with the XPATH expression representing the element to remove.
         * @throws com.fdt.cognoscere.storage.exceptions.UnableToRemoveException When an exception occurs that prevents the repository to execute the remove statement.
        public void removeNode(final String xpath) throws UnableToRemoveException {
            Node nodeToRemove = null;
            Node parentNode = null;
            //verify xpath
            if (xpath == null)
                throw new IllegalArgumentException("The xpath argument cannot be null.");
            //verify that the repository is loaded
            if (!this.loaded)
                throw new IllegalStateException("The XmlRepository faild to load properly and it is in an invalid state. It cannot perfom any operation.");
            try {
                //get the node to remove out of the xpath expression
                nodeToRemove = this.getNode(xpath);
                //throw an exception if no node was found to remove
                if (nodeToRemove == null)
                    throw new UnableToFindException("The node element trying to be remove does not exist.");
                //obtain the parent node to remove its child
                parentNode = nodeToRemove.getParentNode();
                //remove the node from the parent node
                nodeToRemove = parentNode.removeChild(nodeToRemove);
            } catch.......removed to save space{
            } finally {
                //normalize document
                this.document.normalize();
        }Please tell me if I could do this better,
    thanks,
    f(t)

    franciscodiaztrepat wrote:
    When I remove a node I get a Line Space above the node that was removed, or better put my node gets replaced by a empty line.Replaced? No, there's already a new-line character after the node that was removed. And there was one before that node too. You didn't remove either of those, so after the removal there are two consecutive new-line characters. As you can see.
    And no, trying to pretty-print the XML document won't remove any of those. It might add whitespace to make the document nicely indented, but it won't ever remove whitespace. If you want whitespace removed then you'll have to do it yourself.
    For example, after you remove a node, also remove the node following it if it's a whitespace text node. Or something like that.

  • Unable to use X Query function in  the conditional branch of Proxy Service

    Hi all,
    I need to check the string length of a node then depending on that have to call two different business services. i have added a conditional branch inside
    the proxy service. Now when I use the below expression in the I get an error
    fn:string-length(./braz:BrazilianPropertyAddress/braz:postcode)
    in variable i have given body
    I am getting the following error
    X path expression invalid not a selection declare namespace jca ="" ......................
    If I give the expression without any stringlength function there is no problem
    Kindly help

    Hi Anuj,
    Tried with text() its still throwing the same error
    [BranchNode1] Conditional branch node specifies an invalid xpath: An error was reported compiling the XPath expression: XQuery exception: line 32, column 18: {err}XP0008 [{bea-err}XP0008a]: Variable "$body" used but not declared for expression: declare namespace jca = 'http://www.bea.com/wli/sb/transports/jca';
    declare namespace wsp = 'http://schemas.xmlsoap.org/ws/2004/09/policy';
    declare namespace jms = 'http://www.bea.com/wli/sb/transports/jms';
    declare namespace tp = 'http://www.bea.com/wli/sb/transports';
    declare namespace xs = 'http://www.w3.org/2001/XMLSchema';
    declare namespace sftp = 'http://www.bea.com/wli/sb/transports/sftp';
    declare namespace flow = 'http://www.bea.com/alsb/flow/transport';
    declare namespace jpd = 'http://www.bea.com/wli/sb/transports/jpd';
    declare namespace soap-env = 'http://schemas.xmlsoap.org/soap/envelope/';
    declare namespace wsu = 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd';
    declare namespace dsp = 'http://www.bea.com/dsp/transport/sb';
    declare namespace ejb = 'http://www.bea.com/wli/sb/transports/ejb';
    declare namespace wsa = 'http://schemas.xmlsoap.org/ws/2004/08/addressing';
    declare namespace bpel-10g = 'http://www.bea.com/wli/sb/transports/bpel10g';
    declare namespace tuxedo = 'http://www.bea.com/wli/sb/transports/tuxedo';
    declare namespace file = 'http://www.bea.com/wli/sb/transports/file';
    declare namespace ctx = 'http://www.bea.com/wli/sb/context';
    declare namespace fn = 'http://www.w3.org/2004/07/xpath-functions';
    declare namespace soap12-enc = 'http://www.w3.org/2003/05/soap-encoding';
    declare namespace soap12-env = 'http://www.w3.org/2003/05/soap-envelope';
    declare namespace fn-bea = 'http://www.bea.com/xquery/xquery-functions';
    declare namespace ws = 'http://www.bea.com/wli/sb/transports/ws';
    declare namespace http = 'http://www.bea.com/wli/sb/transports/http';
    declare namespace email = 'http://www.bea.com/wli/sb/transports/email';
    declare namespace ftp = 'http://www.bea.com/wli/sb/transports/ftp';
    declare namespace sb = 'http://www.bea.com/wli/sb/transports/sb';
    declare namespace xsd = 'http://www.w3.org/2001/XMLSchema';
    declare namespace soap-enc = 'http://schemas.xmlsoap.org/soap/encoding/';
    declare namespace xsi = 'http://www.w3.org/2001/XMLSchema-instance';
    declare namespace b = 'http://xmlns.oracle.com/B';
    declare namespace add = 'http://schemas.xmlsoap.org/ws/2003/03/addressing';
    fn:string-length($body/b:BProcessRequest/b:b/text())..

  • Content based routing on anyxml payload

    Hi guys,
    I try to do the next.
    I have a anyxml type proxyserver which polls on a queue.
    From the queue i can receive different types of xml messages.
    <message1>some info</message1>next messsage
    <message2>some info</message2>They both have different handlers so i try to do the next thing.
    added Conditional Branch.
    selected path : ./*[position()=1]/name() (this gives me the name of the first element (so in this case message1 and message2))
    and this string i want to use to branch to the different handlers.
    but the selected path expects a node-value and no string-value.
    An error was reported compiling the XPath expression: XQuery exception: line 25, column 19: {err}XP0004 [{bea-err}XP0004b]: Found type mismtach in expression. Only empty sequence satisfies type checking rules. Expected type: node*. Actual type: {http://www.w3.org/2001/XMLSchema}string* for expression: declare namespace ws = 'http://www.bea.com/wli/sb/transports/ws';when i add './*[position()=1]' it validates
    any idea how to be able to route based on the text-value of an element instead of browse through the payload itself ?
    Thanks!
    Eric

    Are you using dynamic route, documented at
    http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/userguide/modelingmessageflow.html#wp1081507 . ?

  • XPath Exception on Bursting Control File Template Filter Expression

    I am getting the following exception for this bursting control file in EBS 11.5.10.2 on the template filter expression:
    oracle.xml.parser.v2.XPathException: Unknown expression at EOF: (./XXCUS_DIST_CODE='P')[1].
    <?xml version="1.0" encoding="UTF-8"?>
    <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi">
         <xapi:request select="/XXCUS_RAXINV/LIST_G_DIST/G_DIST">
              <xapi:delivery>
                   <xapi:email server="${XXCUS_EMAIL_SERVER}" port="${XXCUS_EMAIL_PORT}" from="[email protected]">
                        <xapi:message id="einv" to="[email protected]" bcc="[email protected]" content-type="text/html" attachment="true" subject="Invoice ${LIST_G_INVOICE/G_INVOICE/TRX_NUMBER}">
    <![CDATA[
    <html>
    <body>
    Message
    </body>
    </html>
    ]]>
                        </xapi:message>
                   </xapi:email>
              </xapi:delivery>
              <xapi:document output="Invoice_${LIST_G_INVOICE/G_INVOICE/CUSTOMER_NUMBER}_${LIST_G_INVOICE/G_INVOICE/TRX_NUMBER}" output-type="pdf" delivery="einv">
                   <xapi:template type="xsl-fo" location="xdo://XXCUS.XXCUS_COMMON_RAXINV.en.US/?getSource=true" filter="./XXCUS_DIST_CODE='E'" />
              </xapi:document>
         </xapi:request>
         <xapi:request select="/XXCUS_RAXINV/LIST_G_DIST/G_DIST">
              <xapi:delivery>
                   <xapi:print id="print" printer="${XXCUS_PRINTER_NAME}" />
              </xapi:delivery>
              <xapi:document output-type="pdf" delivery="print">
                   <xapi:template type="xsl-fo" location="xdo://XXCUS.XXCUS_COMMON_RAXINV.en.US/?getSource=true" filter="./XXCUS_DIST_CODE='P'" />
              </xapi:document>
         </xapi:request>
    </xapi:requestset>According to the docs, you can use any valid XPath expression. Any idea on what might be wrong here? I am trying to exclusively print or email based on the data. Currently, it prints AND emails all documents regardless of the value of XXCUS_DIST_CODE.
    Thanks,
    Kurz

    Error lies on this line --- filter="./XXCUS_DIST_CODE='P'"
    you need to use it like this --
    Suppose you want condition on name in following XML Struction
    <STUDENT>
    <Name> Jatin </NAME>
    </STUDENT>
    the it should be ...
    filter=".//<STUDENT>[NAME = 'Jatin']"
    Not in your case ui suppose it should be filter=".//XXCUS_RAXINV/LIST_G_DIST/G_DIST[XXCUS_DIST_CODE='P']".
    Hope it solves the problem.

  • Incorrect XPath:,Exception in thread "main" java.lang.OutOfMemoryError:

    Hi All,
    We are having a Java Concurrent Program with Output as "Text" format.
    We are encountered with the below error.
    Can anyone help me on this..
    Incorrect XPath: (((not(CF_SO_LINK!=''))or CF_ITEM_TYPE='SATO' or(CF_ITEM_TYPE='ATO' and CF_ITM_TP_CD!='CONFIG')or (not(CF_ATO_LINE_ID!='')and CF_TOP_MDL_ID!='' and(CSHIP='Y' or CINV='Y'))or CF_ITEM_TYPE='EXT_WRT')an d CF_FLOW_ST_CD!='CANCELLED')or SALES_LINE_ID='' Exception in thread "main" java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOfRange(Arrays.java:3209) at java.lang.String.<init>(String.java:216) at java.lang.StringBuffer.toString(StringBuffer.java:585) at oracle.apps.xdo.batch.BurstingProcessorEngine.applyGroupBreak(BurstingProcessorEngine.java:2315) at oracle.apps.xdo.batch.BurstingProcessorEngine.globalDataEndElement(BurstingProcessorEngine.java:1983) at oracle.apps.xdo.batch.BurstingProcessorEngine.endElement(BurstingProcessorEngine.java:1135) at oracle.xml.parser.v2.XMLContentHandler.endElement(XMLContentHandler.java:196) at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1212) at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:301) at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:268) at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:201) at oracle.apps.xdo.batch.BurstingProcessorEngine.burstingRequest(BurstingProcessorEngine.java:2177) at oracle.apps.xdo.batch.BurstingProcessorEngine.burstingEndElement(BurstingProcessorEngine.java:1809) at oracle.apps.xdo.batch.BurstingProcessorEngine.endElement(BurstingProcessorEngine.java:1138) at oracle.xml.parser.v2.XMLContentHandler.endElement(XMLContentHandler.java:196) at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1212) at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:301) at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:268) at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:201) at oracle.apps.xdo.batch.BurstingProcessorEngine.burstingConfigParser(BurstingProcessorEngine.java:979) at oracle.apps.xdo.batch.BurstingProcessorEngine.process(BurstingProcessorEngine.java:913) at oracle.apps.xdo.batch.DocumentProcessor.process(DocumentProcessor.java:214) at
    Thanks
    gt1982

    i m getting Exception in thread "main"
    java.lang.OutOfMemoryError,
    please help meHow?
    You are leaking memory or attempting to use to much. There is a bug in your code.

  • XPath - Exception Namespace Manager or XsltContext needed.

    Hi, 
    Here is my input xml file where I need to get the text which is in CDATA
    <ns0:Item xmlns:ns0="http://Services.Foundation.Schemas.CRM_WorkQueue">
      <ContactId>fca45979-5821-e311-a249-00155d016fdf</ContactId>
      <MasterQueueId>9a2e9aa1-66ed-e311-9820-00155d1e1f2e</MasterQueueId>
      <EntityId>  </EntityId>
      <WorkType>ccx_consolidatedCDA</WorkType>
      <DateLimit>  </DateLimit>
      <RequestResultsXML><![CDATA[<CDAQuery fromDate= '06/06/2014' toDate= '06/06/2014' xmlns:ns0='http://Ccx.Bts.Foundation.Schemas.MU/2014/04'><ns0:Patient><ns0:FirstName>Mike</ns0:FirstName><ns0:LastName>Brady</ns0:LastName><ns0:Sex>Male</ns0:Sex><ns0:DOB>12/15/1963</ns0:DOB><ns0:LaboratoryValues><ns0:Result>Test
    Result</ns0:Result><ns0:Value>Test Result</ns0:Value><ns0:AbnormalFlags>None Test</ns0:AbnormalFlags><ns0:Units>Unit Test</ns0:Units></ns0:LaboratoryValues></ns0:Patient></CDAQuery>]]></RequestResultsXML>
    </ns0:Item>
    XPATH in expression shape: cdaQueryValue is a Syatem.xml.xmldocument variable.
    cdaQueryValue = xpath(WorkQCDAItem.parameters, "/ns0:Item[@xmlns:ns0='http://Services.Foundation.Schemas.CRM_WorkQueue']/RequestResultsXML/text()");
    Exception Details:
    Inner exception: Namespace Manager or XsltContext needed. This query has a prefix, variable, or user-defined function.
    Exception type: XPathException
    Source: System.Xml
    Target Site: System.Object Evaluate(System.Xml.XPath.XPathExpression, System.Xml.XPath.XPathNodeIterator)
    The following is a stack trace that identifies the location where the exception occured
       at System.Xml.XPath.XPathNavigator.Evaluate(XPathExpression expr, XPathNodeIterator context)
       at Microsoft.XLANGs.Core.Part.XPathLoad(Part sourcePart, String xpath, Type dstType)
       at Ccx.Bts.Foundation.Orchestrations.Transform_CDA.segment1(StopConditions stopOn)
       at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s, StopConditions stopCond, Exception& exp)
    Regards,
    Lakshmi

    XPATH in expression shape: cdaQueryValue is a Syatem.xml.xmldocument variable.
    cdaQueryValue = xpath(WorkQCDAItem.parameters, "/ns0:Item[@xmlns:ns0='http://Services.Foundation.Schemas.CRM_WorkQueue']/RequestResultsXML/text()");
    That for sure won't work because the Orchestration xpath() function will always return a string.
    So, you'd have to take that string result, then load an XmlDocument from it.

  • Exception raised while extract the xpath by reading the xmlschema

    Hi All,
    I am getting the exception when I am trying extract the xpaths by reading the following xmlschema :
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="urn:http.service.announcements.portlet.liferay.com" xmlns:intf="urn:http.service.announcements.portlet.liferay.com" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns1="http://model.announcements.portlet.liferay.com" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="http://model.announcements.portlet.liferay.com">
        <xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
        <xsd:complexType name="AnnouncementsFlagSoap">
            <xsd:sequence>
                <xsd:element name="createDate" nillable="true" type="dateTime"/>
                <xsd:element name="entryId" type="long"/>
                <xsd:element name="flagId" type="long"/>
                <xsd:element name="primaryKey" type="long"/>
                <xsd:element name="userId" type="long"/>
                <xsd:element name="value" type="int"/>
            </xsd:sequence>
        </xsd:complexType>
    </xsd:schema>
    Exception Raised ....Unable to resolve Schema corresponding to namespace 'http://schemas.xmlsoap.org/soap/encoding/'.
    org.exolab.castor.xml.schema.SchemaException: Unable to resolve Schema corresponding to namespace 'http://schemas.xmlsoap.org/soap/encoding/'.
         at org.exolab.castor.xml.schema.reader.ImportUnmarshaller.<init>(ImportUnmarshaller.java:125)
         at org.exolab.castor.xml.schema.reader.SchemaUnmarshaller.startElement(SchemaUnmarshaller.java:604)
         at org.exolab.castor.xml.schema.reader.Sax2ComponentReader.startElement(Sax2ComponentReader.java:255)
         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source)
         at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
         at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
         at org.exolab.castor.xml.schema.reader.SchemaReader.read(SchemaReader.java:301)
         at XmlSchemaReader.main(XmlSchemaReader.java:131)

    Issue identified. The datatypes of the stream order id and the one from the tables differ.
    The Long could not be casted to the bigint format of CQL.
    On changing the datatype of ORDER_ID in the CorpInterfaceEvent to int, the join is successful.

  • XPath and dom4j xs:date() conversion exception

    Hey all Java folks
    I'm having a hard time deadling with XPath and date datatype using dom4J and seeking for guidance :)
    Let say I have the following XML header:
    <site:Blog xmlns:site="http://xml.netbeans.org/schema/blog" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:schemaLocation="http://xml.netbeans.org/schema/blog blog.xsd">and this expression :
    site:Blog//site:Entry[@date=xs:date('2007-09-07')]In XMLSpy I do get correct results but in my java code all I get is this exception:
    org.dom4j.XPathException: Exception occurred evaluting XPath: /site:Blog//site:Entry[@date=xs:date("2007-09-07")] Exception: No Such Function xs:date
    at org.dom4j.xpath.DefaultXPath.handleJaxenException(DefaultXPath.java:374)
    at org.dom4j.xpath.DefaultXPath.selectNodes(DefaultXPath.java:134)
    at org.dom4j.tree.AbstractNode.selectNodes(AbstractNode.java:166)
    at com.mor.blogengine.util.xpath.SearchEngine.getEntriesforDate(SearchEngine.java:142)
    at com.mor.blogengine.util.xpath.SearchEngineTest.testGetEntriesforDate(SearchEngineTest.java:120)Does anyone has a clue of why it works perfectly outside of JAVA but not within my code ?
    Any enlightenment is welcome! :)
    Laurent

    String xPathExpr= "/documentFiles/documentFile[xs:date(documentDateXML) > xs:date(\"2005-05-21\")]";should of course be
    String xPathExpr= "/documentFiles/documentFile[xs:date(documentDate) > xs:date(\"2005-05-21\")]";

  • Bpel Server Does Not Catch Exceptions Thrown By Custom Xpath Functions

    Hi.
    I am using some custom xpath functions in a bpel process and whenever they fail I get an XPathExecutionError with summary:
    XPath expression failed to execute.
    Error while processing xpath expression, the expression is "<my function>", the reason is FOTY0001: type error.
    Please verify the xpath query.
    I am forcing my function to fail by giving a wrong input, which should result in an XPathFunctionException("Input does not respect format").
    There is a note on Metalink with ID 458434.1 on this subject which says that patch 5926809 should fix my problem.
    Patch 5926809 fixes Bug 5926809 - ORA:PARSEESCAPEDXML XPATH EXPRESSION FAILED TO EXECUTE FOTY0001: TYPE ERROR.
    I am using it, but it does not work :(
    I am using version 10.1.3.3.0 of App Server with various patch sets, including fix for bug 5926809.
    Has anyone suggestions on how to overcome this problem?
    Thanks

    Hello,
    I am trying to add a custom xpath function to the BPEL server, and I see that you made it work. I am using Oracle SOA Suite 10.1.3.3 and jDeveloper 10.1.3.4. I am using this function inside an xsl mapping file, although I am able to compile and deploy the Bpel Process to the server, it stops mapping where I placed the function and I have not seen any meaningful message from the domain/log/ files.
    Can you tell me how you did it?
    I think you will tell me faster than Oracle support, I already placed an SR but they just give me superficial advice.
    I appretiate your time and advice,
    Guillermo

  • OEPE exception with the latest plugin version.

    Hi,
    I updated my OEPE eclipe plugin to the latest version and I got this exception:
    !ENTRY org.eclipse.core.resources 4 75 2012-01-30 13:38:39.578
    !MESSAGE Errors occurred during the build.
    !SUBENTRY 1 org.eclipse.wst.common.project.facet.core 4 75 2012-01-30 13:38:39.578
    !MESSAGE Errors running builder 'Faceted Project Validation Builder' on project 'NTCSCacheCore'.
    !STACK 0
    java.lang.ExceptionInInitializerError
    at oracle.eclipse.tools.weblogic.WlsRuntimeUtil.getWlsRuntimeComponent(WlsRuntimeUtil.java:92)
    at oracle.eclipse.tools.weblogic.internal.validation.WlsRuntimeValidator.validate(WlsRuntimeValidator.java:45)
    at org.eclipse.wst.common.project.facet.core.internal.FacetedProjectValidationBuilder.build(FacetedProjectValidationBuilder.java:132)
    at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:728)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:239)
    at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:292)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:295)
    at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:351)
    at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:374)
    at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:143)
    at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:241)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    Caused by: java.lang.IllegalArgumentException: Version 10.0 of runtime component type com.bea.weblogic has not been defined.
    at org.eclipse.wst.common.project.facet.core.util.internal.Versionable.getVersion(Versionable.java:80)
    at org.eclipse.wst.common.project.facet.core.runtime.internal.RuntimeComponentType.getVersion(RuntimeComponentType.java:1)
    at oracle.eclipse.tools.weblogic.server.WebLogicServerRuntimeComponentType.<clinit>(WebLogicServerRuntimeComponentType.java:19)
    ... 15 more
    Any idea why this is happening when I updated the plugin.
    === Eclipse configuration ===
    *** Date: Monday, January 30, 2012 2:03:58 PM Western European Time
    *** Platform Details:
    *** System properties:
    awt.toolkit=sun.awt.X11.XToolkit
    eclipse.application=org.eclipse.ui.ide.workbench
    eclipse.buildId=M20110909-1335
    eclipse.commands=-os
    linux
    -ws
    gtk
    -arch
    x86
    -showsplash
    /home/guerra/devel/ide/indigo/eclipse//plugins/org.eclipse.platform_3.7.1.v201109091335/splash.bmp
    -launcher
    /home/guerra/devel/ide/indigo/eclipse/eclipse
    -name
    Eclipse
    --launcher.library
    /home/guerra/devel/ide/indigo/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.100.v20110505/eclipse_1407.so
    -startup
    /home/guerra/devel/ide/indigo/eclipse//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
    --launcher.overrideVmargs
    -product
    org.eclipse.epp.package.jee.product
    -vm
    /usr/local/java/jdk1.7.0/bin/../jre/lib/i386/client/libjvm.so
    eclipse.home.location=file:/home/guerra/devel/ide/indigo/eclipse/
    eclipse.launcher=/home/guerra/devel/ide/indigo/eclipse/eclipse
    eclipse.launcher.name=Eclipse
    [email protected]/../p2/
    eclipse.p2.profile=epp.package.jee
    eclipse.product=org.eclipse.epp.package.jee.product
    eclipse.startTime=1327931411385
    eclipse.vm=/usr/local/java/jdk1.7.0/bin/../jre/lib/i386/client/libjvm.so
    eclipse.vmargs=-Djava.library.path=/usr/lib/jni
    -Dosgi.requiredJavaVersion=1.5
    -XX:MaxPermSize=256m
    -Xms40m
    -Xmx512m
    -Djava.class.path=/home/guerra/devel/ide/indigo/eclipse//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
    equinox.use.ds=true
    file.encoding=UTF-8
    file.encoding.pkg=sun.io
    file.separator=/
    java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
    java.awt.printerjob=sun.print.PSPrinterJob
    java.class.path=/home/guerra/devel/ide/indigo/eclipse//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
    java.class.version=51.0
    java.endorsed.dirs=/usr/local/java/jdk1.7.0/jre/lib/endorsed
    java.ext.dirs=/usr/local/java/jdk1.7.0/jre/lib/ext:/usr/java/packages/lib/ext
    java.home=/usr/local/java/jdk1.7.0/jre
    java.io.tmpdir=/tmp
    java.library.path=/usr/lib/jni
    java.runtime.name=Java(TM) SE Runtime Environment
    java.runtime.version=1.7.0-b147
    java.specification.name=Java Platform API Specification
    java.specification.vendor=Oracle Corporation
    java.specification.version=1.7
    java.vendor=Oracle Corporation
    java.vendor.url=http://java.oracle.com/
    java.vendor.url.bug=http://bugreport.sun.com/bugreport/
    java.version=1.7.0
    java.vm.info=mixed mode
    java.vm.name=Java HotSpot(TM) Client VM
    java.vm.specification.name=Java Virtual Machine Specification
    java.vm.specification.vendor=Oracle Corporation
    java.vm.specification.version=1.7
    java.vm.vendor=Oracle Corporation
    java.vm.version=21.0-b17
    line.separator=
    org.apache.commons.logging.Log=org.apache.commons.logging.impl.NoOpLog
    org.eclipse.equinox.launcher.splash.location=/home/guerra/devel/ide/indigo/eclipse//plugins/org.eclipse.platform_3.7.1.v201109091335/splash.bmp
    org.eclipse.equinox.simpleconfigurator.configUrl=file:org.eclipse.equinox.simpleconfigurator/bundles.info
    org.eclipse.update.reconcile=false
    org.osgi.framework.executionenvironment=OSGi/Minimum-1.0,OSGi/Minimum-1.1,OSGi/Minimum-1.2,JRE-1.1,J2SE-1.2,J2SE-1.3,J2SE-1.4,J2SE-1.5,JavaSE-1.6,JavaSE-1.7
    org.osgi.framework.language=en
    org.osgi.framework.os.name=Linux
    org.osgi.framework.os.version=2.6.35
    org.osgi.framework.processor=x86
    org.osgi.framework.system.capabilities=osgi.ee; osgi.ee="OSGi/Minimum"; version:List<Version>="1.0, 1.1, 1.2",osgi.ee; osgi.ee="JavaSE"; version:List<Version>="1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7"
    org.osgi.framework.system.packages=javax.accessibility,javax.activation,javax.activity,javax.annotation,javax.annotation.processing,javax.crypto,javax.crypto.interfaces,javax.crypto.spec,javax.imageio,javax.imageio.event,javax.imageio.metadata,javax.imageio.plugins.bmp,javax.imageio.plugins.jpeg,javax.imageio.spi,javax.imageio.stream,javax.jws,javax.jws.soap,javax.lang.model,javax.lang.model.element,javax.lang.model.type,javax.lang.model.util,javax.management,javax.management.event,javax.management.loading,javax.management.modelmbean,javax.management.monitor,javax.management.namespace,javax.management.openmbean,javax.management.relation,javax.management.remote,javax.management.remote.rmi,javax.management.timer,javax.naming,javax.naming.directory,javax.naming.event,javax.naming.ldap,javax.naming.spi,javax.net,javax.net.ssl,javax.print,javax.print.attribute,javax.print.attribute.standard,javax.print.event,javax.rmi,javax.rmi.CORBA,javax.rmi.ssl,javax.script,javax.security.auth,javax.security.auth.callback,javax.security.auth.kerberos,javax.security.auth.login,javax.security.auth.spi,javax.security.auth.x500,javax.security.cert,javax.security.sasl,javax.sound.midi,javax.sound.midi.spi,javax.sound.sampled,javax.sound.sampled.spi,javax.sql,javax.sql.rowset,javax.sql.rowset.serial,javax.sql.rowset.spi,javax.swing,javax.swing.border,javax.swing.colorchooser,javax.swing.event,javax.swing.filechooser,javax.swing.plaf,javax.swing.plaf.basic,javax.swing.plaf.metal,javax.swing.plaf.multi,javax.swing.plaf.nimbus,javax.swing.plaf.synth,javax.swing.table,javax.swing.text,javax.swing.text.html,javax.swing.text.html.parser,javax.swing.text.rtf,javax.swing.tree,javax.swing.undo,javax.tools,javax.transaction,javax.transaction.xa,javax.xml,javax.xml.bind,javax.xml.bind.annotation,javax.xml.bind.annotation.adapters,javax.xml.bind.attachment,javax.xml.bind.helpers,javax.xml.bind.util,javax.xml.crypto,javax.xml.crypto.dom,javax.xml.crypto.dsig,javax.xml.crypto.dsig.dom,javax.xml.crypto.dsig.keyinfo,javax.xml.crypto.dsig.spec,javax.xml.datatype,javax.xml.namespace,javax.xml.parsers,javax.xml.soap,javax.xml.stream,javax.xml.stream.events,javax.xml.stream.util,javax.xml.transform,javax.xml.transform.dom,javax.xml.transform.sax,javax.xml.transform.stax,javax.xml.transform.stream,javax.xml.validation,javax.xml.ws,javax.xml.ws.handler,javax.xml.ws.handler.soap,javax.xml.ws.http,javax.xml.ws.soap,javax.xml.ws.spi,javax.xml.ws.spi.http,javax.xml.ws.wsaddressing,javax.xml.xpath,org.ietf.jgss,org.omg.CORBA,org.omg.CORBA_2_3,org.omg.CORBA_2_3.portable,org.omg.CORBA.DynAnyPackage,org.omg.CORBA.ORBPackage,org.omg.CORBA.portable,org.omg.CORBA.TypeCodePackage,org.omg.CosNaming,org.omg.CosNaming.NamingContextExtPackage,org.omg.CosNaming.NamingContextPackage,org.omg.Dynamic,org.omg.DynamicAny,org.omg.DynamicAny.DynAnyFactoryPackage,org.omg.DynamicAny.DynAnyPackage,org.omg.IOP,org.omg.IOP.CodecFactoryPackage,org.omg.IOP.CodecPackage,org.omg.Messaging,org.omg.PortableInterceptor,org.omg.PortableInterceptor.ORBInitInfoPackage,org.omg.PortableServer,org.omg.PortableServer.CurrentPackage,org.omg.PortableServer.POAManagerPackage,org.omg.PortableServer.POAPackage,org.omg.PortableServer.portable,org.omg.PortableServer.ServantLocatorPackage,org.omg.SendingContext,org.omg.stub.java.rmi,org.w3c.dom,org.w3c.dom.bootstrap,org.w3c.dom.css,org.w3c.dom.events,org.w3c.dom.html,org.w3c.dom.ls,org.w3c.dom.ranges,org.w3c.dom.stylesheets,org.w3c.dom.traversal,org.w3c.dom.views,org.w3c.dom.xpath,org.xml.sax,org.xml.sax.ext,org.xml.sax.helpers
    org.osgi.framework.uuid=d0405f54-494b-0011-168c-a1c3104915a9
    org.osgi.framework.vendor=Eclipse
    org.osgi.framework.version=1.6.0
    org.osgi.supports.framework.extension=true
    org.osgi.supports.framework.fragment=true
    org.osgi.supports.framework.requirebundle=true
    os.arch=i386
    os.name=Linux
    os.version=2.6.35-32-generic
    osgi.arch=x86
    osgi.bundles=reference:file:javax.transaction_1.1.1.v201105210645.jar,reference:file:org.eclipse.equinox.simpleconfigurator_1.0.200.v20110502-1955.jar@1:start
    osgi.bundles.defaultStartLevel=4
    osgi.bundlestore=/home/guerra/devel/ide/indigo/eclipse/configuration/org.eclipse.osgi/bundles
    osgi.configuration.area=file:/home/guerra/devel/ide/indigo/eclipse/configuration/
    osgi.framework=file:/home/guerra/devel/ide/indigo/eclipse/plugins/org.eclipse.osgi_3.7.1.R37x_v20110808-1106.jar
    osgi.framework.extensions=reference:file:javax.transaction_1.1.1.v201105210645.jar
    osgi.framework.shape=jar
    osgi.framework.version=3.7.1.R37x_v20110808-1106
    osgi.frameworkClassPath=., file:/home/guerra/devel/ide/indigo/eclipse/plugins/javax.transaction_1.1.1.v201105210645.jar
    osgi.install.area=file:/home/guerra/devel/ide/indigo/eclipse/
    osgi.instance.area=file:/home/guerra/workspace/
    osgi.instance.area.default=file:/home/guerra/workspace/
    osgi.logfile=/home/guerra/workspace/.metadata/.log
    osgi.manifest.cache=/home/guerra/devel/ide/indigo/eclipse/configuration/org.eclipse.osgi/manifests
    osgi.nl=en_US
    osgi.os=linux
    osgi.requiredJavaVersion=1.5
    osgi.splashLocation=/home/guerra/devel/ide/indigo/eclipse//plugins/org.eclipse.platform_3.7.1.v201109091335/splash.bmp
    osgi.splashPath=platform:/base/plugins/org.eclipse.platform
    osgi.syspath=/home/guerra/devel/ide/indigo/eclipse/plugins
    osgi.tracefile=/home/guerra/workspace/.metadata/trace.log
    osgi.ws=gtk
    path.separator=:
    sun.arch.data.model=32
    sun.boot.class.path=/usr/local/java/jdk1.7.0/jre/lib/resources.jar:/usr/local/java/jdk1.7.0/jre/lib/rt.jar:/usr/local/java/jdk1.7.0/jre/lib/sunrsasign.jar:/usr/local/java/jdk1.7.0/jre/lib/jsse.jar:/usr/local/java/jdk1.7.0/jre/lib/jce.jar:/usr/local/java/jdk1.7.0/jre/lib/charsets.jar:/usr/local/java/jdk1.7.0/jre/classes
    sun.boot.library.path=/usr/local/java/jdk1.7.0/jre/lib/i386
    sun.cpu.endian=little
    sun.cpu.isalist=
    sun.desktop=gnome
    sun.io.unicode.encoding=UnicodeLittle
    sun.jnu.encoding=UTF-8
    sun.management.compiler=HotSpot Client Compiler
    sun.os.patch.level=unknown
    user.country=US
    user.dir=/home/guerra
    user.home=/home/guerra
    user.language=en
    user.name=guerra
    user.timezone=Atlantic/Canary
    *** Features:
    com.collabnet.subversion.merge.feature (2.2.4) "CollabNet Subversion Merge Client"
    oracle.eclipse.tools.indigo.common (2.0.0.201112072225) "Oracle Common Tools"
    oracle.eclipse.tools.indigo.doc.javaee6 (1.0.0.201111040904) "Java EE 6 Documentation"
    oracle.eclipse.tools.indigo.glassfish (2.0.0.201111040904) "Oracle GlassFish Server Tools"
    oracle.eclipse.tools.indigo.webtier (2.0.0.201112072225) "Oracle Web Tier Tools"
    org.eclipse.cvs (1.3.100.v20110520-0800-7B78FHk8sF7BB7VAH5AYC5) "Eclipse CVS Client"
    org.eclipse.datatools.common.doc.user (1.9.1.v201108301820-26-311A16321A3557) "Data Tools Platform User Documentation"
    org.eclipse.datatools.connectivity.doc.user (1.9.1.v201108301820-37D-7733L3D753L7BBF) "Data Tools Platform Connectivity User Documentation"
    org.eclipse.datatools.connectivity.feature (1.9.1.v201108301820-7C7e8mEt1_wmuQjYnXQ6Zj5dM17) "Data Tools Platform Connectivity Plug-in"
    org.eclipse.datatools.connectivity.oda.designer.core.feature (1.9.1.v201108301820-7B7C7DCcNBGNChHSFaYT) "DTP ODA Designer UI Framework Plug-in"
    org.eclipse.datatools.connectivity.oda.designer.feature (1.9.1.v201108301820-4117w312219371456) "DTP ODA Designer UI Framework Plug-in"
    org.eclipse.datatools.connectivity.oda.feature (1.9.1.v201108301820-7H7C7ICcNBHHBnJWDjSd) "DTP Open Data Access"
    org.eclipse.datatools.doc.user (1.9.1.v201108301820-47C08w95ENAK6AFDFK7) "Data Tool Platform User Documentation"
    org.eclipse.datatools.enablement.apache.derby.feature (1.9.1.v201108301820-77788gBmKDOGMhKwJ4Rn7QBR) "High-level Sybase Enablement Plug-in"
    org.eclipse.datatools.enablement.feature (1.9.1.v201108301820-7J9B7FBWwVN7-2z-kZU_tJy1aR1t) "Eclipse Data Tools Platform Enablement"
    org.eclipse.datatools.enablement.hsqldb.feature (1.9.1.v201108301820-67D1AqGBKNKdIlGz0GU7QBR) "Eclipse Data Tools Platform Enablement"
    org.eclipse.datatools.enablement.ibm.feature (1.9.1.v201108301820-7F47SFC7sRbvSkkxaPvW) "Eclipse Data Tools Platform Enablement"
    org.eclipse.datatools.enablement.ingres.feature (1.9.1.v201108301820-540AkF78Z7UCRAQDB) "Eclipse Data Tools Platform Enablement"
    org.eclipse.datatools.enablement.jdbc.feature (1.9.1.v201108301820-4-29oB56N5N7L6PAQ) "High-level Sybase Enablement Plug-in"
    org.eclipse.datatools.enablement.jdt.feature (1.9.1.v201108301820-2-07w31211518181A) "Data Tools Platform Connectivity JDT Extension Plug-in"
    org.eclipse.datatools.enablement.msft.feature (1.9.1.v201108301820-542AkF79P7QCP9SDB) "Eclipse Data Tools Platform Enablement"
    org.eclipse.datatools.enablement.mysql.feature (1.9.1.v201108301820-546AkF78Z7Y9NBZ9A) "Eclipse Data Tools Platform Enablement"
    org.eclipse.datatools.enablement.oda.designer.feature (1.9.1.v201108301820-3328s73553C655B63) "Eclipse Data Tools Platform XML ODA Designer"
    org.eclipse.datatools.enablement.oda.feature (1.9.1.v201108301820-7A7T78DZRDKGEeHnGlLP) "Eclipse Data Tools Platform XML ODA Runtime Driver"
    org.eclipse.datatools.enablement.oracle.feature (1.9.1.v201108301820-548dAkF79Q7RAN9UFJ) "Eclipse Data Tools Platform Enablement"
    org.eclipse.datatools.enablement.postgresql.feature (1.9.1.v201108301820-542AkF77g7V9N9e77) "Eclipse Data Tools Platform Enablement"
    org.eclipse.datatools.enablement.sap.feature (1.9.1.v201108301820-540AkF77g7V9N9e77) "Eclipse Data Tools Platform Enablement"
    org.eclipse.datatools.enablement.sqlite.feature (1.9.1.v201108301820-541AkF79P7N8NAQ77) "Eclipse Data Tools Platform Enablement"
    org.eclipse.datatools.enablement.sybase.feature (1.9.1.v201108301820-7E45F9NiNZVR6a1PMVn) "High-level Sybase Enablement Plug-in"
    org.eclipse.datatools.intro (1.9.1.v201108301820-26-7w312116392911) "Eclipse Data Tools Platform Intro Plug-in"
    org.eclipse.datatools.modelbase.feature (1.9.1.v201108301820-77078CcNBHCBYKYEbNV) "Eclipse Data Tools Platform SQLModel Plug-in"
    org.eclipse.datatools.sqldevtools.ddlgen.feature (1.9.1.v201108301820-7A-3F7RZHLz-Hz-OlPz0Qf) "Eclipse Data Tools Platform FE UI Plug-in"
    org.eclipse.datatools.sqldevtools.feature (1.9.1.v201108301820-7N847CFDsn0VdrPUJvPUshDWIPJ0) "Eclipse Data Tools Platform SQL Tools Common UI Plug-in"
    org.eclipse.datatools.sqldevtools.parsers.feature (1.9.1.v201108301820-622BgJ9CR9XFcEWLP) "Eclipse Data Tools Platform SQL Parser Plugin"
    org.eclipse.datatools.sqltools.doc.user (1.9.1.v201108301820-37D-7733L3D753L7BBF) "Data Tools Platform SQL Tools User Documentation"
    org.eclipse.draw2d (3.7.1.v20110830-1143-4607w3122194102254) "Graphical Editing Framework Draw2d"
    org.eclipse.emf (2.7.1.v20110913-1526) "EMF - Eclipse Modeling Framework Runtime and Tools"
    org.eclipse.emf.codegen (2.7.0.v20110913-1156) "EMF Code Generation"
    org.eclipse.emf.codegen.ecore (2.7.0.v20110913-1156) "EMF Ecore Code Generator"
    org.eclipse.emf.codegen.ecore.ui (2.7.0.v20110913-1156) "EMF Ecore Code Generator UI"
    org.eclipse.emf.codegen.ui (2.7.0.v20110913-1156) "EMF Code Generation UI"
    org.eclipse.emf.common (2.7.0.v20110912-0920) "EMF Common"
    org.eclipse.emf.common.ui (2.7.0.v20110913-1156) "EMF Common UI"
    org.eclipse.emf.converter (2.7.0.v20110913-1156) "EMF Model Converter"
    org.eclipse.emf.databinding (1.2.0.v20110913-1156) "EMF Data Binding"
    org.eclipse.emf.databinding.edit (1.2.0.v20110913-1156) "EMF Edit Data Binding"
    org.eclipse.emf.ecore (2.7.1.v20110912-0920) "EMF Ecore"
    org.eclipse.emf.ecore.edit (2.7.0.v20110913-1156) "EMF Ecore Edit"
    org.eclipse.emf.ecore.editor (2.7.0.v20110913-1156) "EMF Sample Ecore Editor"
    org.eclipse.emf.edit (2.7.1.v20110913-1526) "EMF Edit"
    org.eclipse.emf.edit.ui (2.7.0.v20110913-1156) "EMF Edit UI"
    org.eclipse.emf.mapping (2.7.0.v20110913-1156) "EMF Mapping"
    org.eclipse.emf.mapping.ecore (2.7.0.v20110913-1156) "EMF Ecore Mapping"
    org.eclipse.emf.mapping.ecore.editor (2.7.0.v20110913-1156) "EMF Ecore Mapping Editor"
    org.eclipse.emf.mapping.ui (2.7.0.v20110913-1156) "EMF Mapping UI"
    org.eclipse.epp.mpc (1.1.1.I20110907-0947) "Marketplace Client"
    org.eclipse.epp.package.jee.feature (1.4.1.20110909-1818) "Java EE IDE"
    org.eclipse.gef (3.7.1.v20110830-1143-777D181B3Bz06C853D8863365) "Graphical Editing Framework GEF"
    org.eclipse.help (1.3.0.v20110327-7i7uFFkFFp7gNobOpNgKo0) "Help System Base"
    org.eclipse.jdt (3.7.1.r371_v20110810-0800-7z8gFcoFMLfTabvKsR5Qm9rBGEBK) "Eclipse Java Development Tools"
    org.eclipse.jpt.common.eclipselink.feature (1.0.1.v201108080010-3-08s73553F3G3343) "Dali Java Persistence Tools - EclipseLink Common"
    org.eclipse.jpt.common.feature (1.0.1.v201108080010-6-0AkF7BB7S9N7788) "Dali Java Persistence Tools - Common"
    org.eclipse.jpt.dbws.eclipselink.feature (1.0.1.v201108303011-797B3CcNBHGCfDZAwHJ375) "Dali Java Persistence Tools - EclipseLink DBWS Support"
    org.eclipse.jpt.jaxb.eclipselink.feature (1.0.1.v201108303011-7740BgJ9EE9ZC_8z0A9132) "Dali Java Persistence Tools - EclipseLink MOXy (JAXB) Support"
    org.eclipse.jpt.jaxb.feature (1.0.1.v201108080010-508aAkF7BB7U8Q779A) "Dali Java Persistence Tools - JAXB Support"
    org.eclipse.jpt.jpa.eclipselink.feature (3.0.1.v201108303011-7J7F78F7RZHQPJBNCKbSR7FB) "Dali Java Persistence Tools - EclipseLink JPA Support"
    org.eclipse.jpt.jpa.feature (3.0.1.v201108163011-7R7F7CFC7sRdiShWvWQYU375) "Dali Java Persistence Tools - JPA Support"
    org.eclipse.jst.common.fproj.enablement.jdt (3.3.0.v201102200555-377DF8s73543E5I5768) "Eclipse Faceted Project Framework JDT Enablement"
    org.eclipse.jst.enterprise_ui.feature (3.3.1.v201107072200-7b7II1PFSK2WIlPwJBmNz-VWwVsTn) "Eclipse Java EE Developer Tools"
    org.eclipse.jst.ws.axis2tools.feature (1.1.200.v201103022333-78-FF0DZRDKDDePSKwHj) "Axis2 Tools"
    org.eclipse.jst.ws.cxf.feature (1.0.100.v201105171845-7H77DRFAKlZgjHCaHg65uE6I6I) "CXF Web Services Core"
    org.eclipse.jst.ws.jaxws.feature (1.1.0.v201105171845-7E78BsF8NcJSWKvN1Rjcv) "JAX-WS Tools Core"
    org.eclipse.mylyn_feature (3.6.4.v20111118-0100) "Mylyn"
    org.eclipse.mylyn.bugzilla_feature (3.6.2.v20110908-0706) "Mylyn"
    org.eclipse.mylyn.context_feature (3.6.2.v20110908-0706) "Mylyn"
    org.eclipse.mylyn.ide_feature (3.6.2.v20110908-0706) "Mylyn"
    org.eclipse.mylyn.java_feature (3.6.2.v20110908-0706) "Mylyn"
    org.eclipse.mylyn.team_feature (3.6.2.v20110908-0706) "Mylyn"
    org.eclipse.mylyn.trac_feature (3.6.4.v20111118-0100) "Mylyn"
    org.eclipse.mylyn.wikitext_feature (1.5.2.v20110908-0706) "Mylyn"
    org.eclipse.pde (3.7.1.r37x_v20110810-0800-7b7qFVtFEx2XnmZ4jlM5mjM) "PDE"
    org.eclipse.platform (3.7.1.r37x_v20110729-9gF7UHOxFtniV7mI3T556iZN9AU8bEZ1lHMcVK) "Eclipse Platform"
    org.eclipse.rcp (3.7.1.r37x_v20110729-9DB5FmNFnFLSFCtLxnRfMqt15A4A) "Eclipse RCP"
    org.eclipse.rse (3.3.1.R33x_v201109141647-7L7CFGG8wqio8rz0qYtkPgn8qWd4) "Remote System Explorer End-User Runtime"
    org.eclipse.rse.core (3.3.1.R33x_v201109141647-7a7JFZ3F8Fz0vz03_qRujbr0z0Nu) "RSE Core"
    org.eclipse.rse.dstore (3.3.1.R33x_v201109141647-7L78FRAD2YR70wUHbQUplQ8LFC) "RSE DStore Services"
    org.eclipse.rse.ftp (3.0.301.R33x_v201109141647-782F8O9KC92gz097E9EKF23225) "RSE FTP Service"
    org.eclipse.rse.local (2.1.300.v201103142315-7B4FKsBgJ9EE9ICQIFYT) "RSE Local Services"
    org.eclipse.rse.ssh (3.0.301.R33x_v201109141647-7A3F9xAGGB5k0C7KEATN92641) "RSE SSH Services"
    org.eclipse.rse.telnet (2.2.200.v201106011538-775F8NAkF7BB7B9NEIPP) "RSE Telnet Service"
    org.eclipse.rse.terminals (1.1.1.R33x_v201109141647-771Bh9uD7HbBF3u7DNO3293A3752) "RSE Terminals UI"
    org.eclipse.rse.useractions (1.1.300.v201103142315-31F8N8s7355353B75DD) "Remote System Explorer User Actions"
    org.eclipse.sapphire (0.4.0.201112010656) "Sapphire (Incubation)"
    org.eclipse.sapphire.java (0.4.0.201112010656) "Sapphire Java Support (Incubation)"
    org.eclipse.sapphire.java.jdt (0.4.0.201112010656) "Sapphire Java Developer Tools Support (Incubation)"
    org.eclipse.sapphire.modeling.xml (0.4.0.201112010656) "Sapphire XML Support (Incubation)"
    org.eclipse.sapphire.osgi (0.4.0.201112010656) "Sapphire OSGi Support (Incubation)"
    org.eclipse.sapphire.platform (0.4.0.201112010656) "Sapphire Eclipse Platform Support (Incubation)"
    org.eclipse.sapphire.ui (0.4.0.201112010656) "Sapphire User Interface (Incubation)"
    org.eclipse.sapphire.ui.swt.graphiti (0.4.0.201112010656) "Sapphire Graphiti Renderer (Incubation)"
    org.eclipse.sapphire.ui.swt.xml.editor (0.4.0.201112010656) "Sapphire XML Editor Support (Incubation)"
    org.eclipse.tm.terminal (3.1.1.R33x_v201106281309-4007S44yaw312218292641) "Target Management Terminal Widget"
    org.eclipse.tm.terminal.ssh (2.1.0.v201103142315-30-7w312212153266) "Target Management Terminal SSH Connector"
    org.eclipse.tm.terminal.telnet (2.1.0.v201103142315-30-7w312213121A22) "Target Management Terminal Telnet Connector"
    org.eclipse.tm.terminal.view (2.2.0.v201103142315-31-7w312214253426) "Target Management Terminal View"
    org.eclipse.wst.common.fproj (3.3.0.v201102150115-377DF8s7355397B4B9B) "Eclipse Faceted Project Framework"
    org.eclipse.wst.jsdt.feature (1.3.1.v201108102009-7F78FXRFBBoPbXRPcHfz-uy) "Eclipse JavaScript Development Tools"
    org.eclipse.wst.web_ui.feature (3.3.1.v201107072200-7O7IFhREMiB5vNoYqf01XHTvUndyz-yx-9kUyXXL) "Eclipse Web Developer Tools"
    org.eclipse.wst.xml_ui.feature (3.3.1.v201108102009-7H7EFZ3DxumTlaI6nheRdHo2p1KaDIL1Uz-S3PL) "Eclipse XML Editors and Tools"
    org.eclipse.wst.xml.xpath2.processor.feature (2.0.0.v201103310043-7A7J-CcNBGOCUIWFYMf) "Eclipse XPath 2 Developers Tools"
    org.eclipse.wst.xsl.feature (1.3.1.v201109012200-7T7YFRTFIqUoIrvbEtBlSIJXGZNg) "Eclipse XSL Developer Tools"
    org.tigris.subversion.clientadapter.feature (1.6.12) "Subversion Client Adapter"
    org.tigris.subversion.clientadapter.javahl.feature (1.6.17) "Subversion JavaHL"
    org.tigris.subversion.subclipse (1.6.18) "SVN Team Provider Core"
    org.tigris.subversion.subclipse.graph.feature (1.0.9) "Subversion Revision Graph"
    org.tigris.subversion.subclipse.mylyn (3.0.0) "Subclipse Integration for Mylyn 3.x"
    *** Plug-in Registry:
    com.collabnet.subversion.merge (2.2.4) "CollabNet Subversion Merge Client" [Active]
    com.ibm.icu (4.4.2.v20110208) "International Components for Unicode for Java (ICU4J)" [Active]
    com.jcraft.jsch (0.1.41.v201101211617) "JSch" [Resolved]
    com.springsource.javax.jms (1.1.0) "Java Messaging System API" [Resolved]
    com.sun.syndication (0.9.0.v200803061811) "Rss and atOM utilitiEs (ROME)" [Resolved]
    java_cup.runtime (0.10.0.v201005080400) "Java Cup" [Resolved]
    javax.activation (1.1.0.v201105071233) "Apache Geronimo Activation Plug-in" [Resolved]
    javax.jws (2.0.0.v201005080400) "Web Services Metadata" [Resolved]
    javax.mail (1.4.0.v201005080615) "Javax Mail Plug-in" [Resolved]
    javax.persistence (2.0.3.v201010191057) "Java Persistence API 2.0" [Resolved]
    javax.servlet (2.5.0.v201103041518) "Servlet API Bundle" [Resolved]
    javax.servlet.jsp (2.0.0.v201101211617) "Java Server Pages API Bundle" [Resolved]
    javax.transaction (1.1.1.v201105210645) "geronimo Javax Transaction API 1.1.1 spec" [Resolved]
    javax.wsdl (1.5.1.v201012040544) "WSDL4J" [Resolved]
    javax.wsdl (1.6.2.v201012040545) "WSDL4J" [Resolved]
    javax.xml (1.3.4.v201005080400) "JAXP XML" [Resolved]
    javax.xml.bind (2.1.9.v201005080401) "XML Binding for Java" [Resolved]
    javax.xml.rpc (1.1.0.v201005080400) "JAX-RPC" [Resolved]
    javax.xml.soap (1.2.0.v201005080501) "SAAJ" [Resolved]
    javax.xml.stream (1.0.1.v201004272200) "Java XML Streaming API" [Resolved]
    javax.xml.ws (2.1.0.v200902101523) "Java API for XML Web Services (JAX-WS)" [Resolved]
    net.sourceforge.lpg.lpgjavaruntime (1.1.0.v201004271650) "SourceForge LPG" [Resolved]
    oracle.eclipse.tools.application.common.services (4.2.0.201112072225) "Oracle Application Tools Common Services" [Active]
    oracle.eclipse.tools.common (4.2.0.201112072225) "Oracle Common Tools" [Active]
    oracle.eclipse.tools.common.doc (4.2.0.201112072225) "Oracle Enterprise Tools for Eclipse Documentation" [Active]
    oracle.eclipse.tools.common.services (4.2.0.201112072225) "Oracle Common Services" [Active]
    oracle.eclipse.tools.common.services.ui (4.2.0.201112072225) "Oracle Common Services UI" [Active]
    oracle.eclipse.tools.common.templating (4.2.0.201112072225) "File Templates Plugin" [Starting]
    oracle.eclipse.tools.common.ui (4.2.0.201112072225) "Oracle Common Tools UI" [Active]
    oracle.eclipse.tools.common.upgrade (4.2.0.201112072225) "Oracle Upgrade Framework" [Active]
    oracle.eclipse.tools.doc.javaee5 (1.0.0.201111040904) "Java EE 5 Documentation" [Starting]
    oracle.eclipse.tools.doc.javaee6 (1.0.0.201111040904) "Java EE 6 Documentation" [Starting]
    oracle.eclipse.tools.envcheck (4.2.0.201112072225) "Oracle Eclipse Tools Environment Checker" [Active]
    oracle.eclipse.tools.glassfish (4.2.0.201111040904) "Oracle GlassFish Server Tools" [Active]
    oracle.eclipse.tools.sapphire.modeling.legacy (4.2.0.201112072225) "Oracle Sapphire Modeling Framework (Legacy)" [Starting]
    oracle.eclipse.tools.sapphire.ui.legacy (4.2.0.201112072225) "Oracle Sapphire Framework UI (Legacy)" [Starting]
    oracle.eclipse.tools.weblogic (4.2.0.201112072225) "Oracle WebLogic Server Tools" [Active]
    oracle.eclipse.tools.webtier (4.2.0.201112072225) "Oracle Web Tier Tools" [Starting]
    oracle.eclipse.tools.webtier.common.services (4.2.0.201112072225) "Oracle Web Tier Tools Common Services" [Active]
    oracle.eclipse.tools.webtier.doc (4.2.0.201112072225) "Oracle Web Tier Tools Documentation" [Starting]
    oracle.eclipse.tools.webtier.html (4.2.0.201112072225) "Oracle Web Tier Tools HTML" [Starting]
    oracle.eclipse.tools.webtier.html.ui (4.2.0.201112072225) "Oracle Web Tier Tools HTML UI" [Starting]
    oracle.eclipse.tools.webtier.javawebapp (4.2.0.201112072225) "Oracle Web Tier Tools Java Web App" [Active]
    oracle.eclipse.tools.webtier.jsf (4.2.0.201112072225) "Oracle Web Tier Tools JSF" [Active]
    oracle.eclipse.tools.webtier.jsf.ui (4.2.0.201112072225) "Oracle Web Tier Tools JSF UI" [Active]
    oracle.eclipse.tools.webtier.jsp (4.2.0.201112072225) "Oracle Web Tier Tools JSP" [Active]
    oracle.eclipse.tools.webtier.jsp.ui (4.2.0.201112072225) "Oracle Web Tier Tools JSP UI" [Active]
    oracle.eclipse.tools.webtier.jstl (4.2.0.201112072225) "Oracle Web Tier Tools JSTL" [Active]
    oracle.eclipse.tools.webtier.jstl.ui (4.2.0.201112072225) "Oracle Web Tier Tools JSTL UI" [Starting]
    oracle.eclipse.tools.webtier.struts (4.2.0.201112072225) "Oracle Web Tier Tools Apache Struts" [Starting]
    oracle.eclipse.tools.webtier.struts.ui (4.2.0.201112072225) "Oracle Web Tier Tools Apache Struts UI" [Starting]
    oracle.eclipse.tools.webtier.trinidad (4.2.0.201112072225) "Oracle Web Tier Tools Apache Trinidad" [Starting]
    oracle.eclipse.tools.webtier.trinidad.ui (4.2.0.201112072225) "Oracle Web Tier Tools Apache Trinidad UI" [Starting]
    oracle.eclipse.tools.webtier.ui (4.2.0.201112072225) "Oracle Web Tier Tools UI" [Active]
    oracle.eclipse.tools.xml.edit.ui (4.2.0.201112072225) "Oracle XML Editing" [Starting]
    oracle.eclipse.tools.xml.model (4.2.0.201112072225) "Oracle XML TLEI Model" [Active]
    oracle.eclipse.tools.xmlbeans.library.v21 (4.2.0.201112072225) "Apache XMLBeans v2.1" [Starting]
    oracle.eclipse.tools.xmlbeans.library.v22 (4.2.0.201112072225) "Apache XMLBeans v2.2" [Starting]
    oracle.eclipse.tools.xmlbeans.library.v23 (4.2.0.201112072225) "Apache XMLBeans v2.3" [Starting]
    org.apache.ant (1.8.2.v20110505-1300) "Apache Ant" [Resolved]
    org.apache.axis (1.4.0.v201005080400) "Apache Web Services" [Resolved]
    org.apache.bcel (5.2.0.v201005080400) "Apache BCEL" [Resolved]
    org.apache.commons.codec (1.3.0.v201101211617) "Apache Commons Codec Plug-in" [Resolved]
    org.apache.commons.collections (3.2.0.v201005080500) "Apache Commons Collections" [Resolved]
    org.apache.commons.discovery (0.2.0.v201004190315) "Jakarta-Commons Discovery" [Resolved]
    org.apache.commons.el (1.0.0.v201101211617) "Apache Commons JSP 2.0 Expression Language Interpreter" [Resolved]
    org.apache.commons.httpclient (3.1.0.v201012070820) "Apache Commons Httpclient" [Resolved]
    org.apache.commons.lang (2.1.0.v201005080500) "Apache Jakarta Commons L

    Hi,
    could you let us know what version of OEPE you were running prior to the upgrade along with the Eclipse version ? Also was the previous installation a full OEPE install or was it installed via the update site ?
    thanks
    Raj

  • XPath expression failed to execute.

    Hi Everybody ,
    I am working  AIA PIP 3.1 for JDE E1.I am facing some errors so that i can't proceed.
    See the log errors as below:
    javax.xml.ws.soap.SOAPFaultException: XPath expression failed to execute. An error occurs while processing the XPath expression; the expression is ora:processXSLT('xsl/Xform_BillOfMaterialsListABM_to_BillOfMaterialsListAXML.xsl',bpws:getVariableData('InitialLoadBillOfMaterialsListReqMsg','InitialLoadBillOfMaterialsList'),bpws:getVariableData('Parameters')). The XPath expression failed to execute; the reason was: oracle.fabric.common.xml.xpath.XPathFunctionException: javax.xml.transform.TransformerException: oramds:/deployed-composites/default/InitialLoadBillOfMaterialsListJDEE1toAgileImpl_rev1.0/xsl/Xform_BillOfMaterialsListABM_to_BillOfMaterialsListAXML.xsl<Line 18, Column 271>: XML-22044: (Error) Extension function error: Error invoking 'lookupXRef':'oracle.tip.xref.exception.RepositoryException: lookup could not find values in column name "AGILE_01" for table name "oramds:/apps/AIAMetaData/xref/ITEM_ITEMID.xref" using reference column name "JDEE1_01" and reference value "731882::M30" Please ensure lookup criteria has a match.'. Check the detailed root cause described in the exception message text and verify that the XPath query is correct.
    Please reply me ASAP,
    Waiting for your response.....
    Regards
    Jyoti Nayak

    Hi,
    Ya i checked the data for same table,but i didn't get any XREF related information in xref_data table.
    Did you mean that, data should already present under AIAFPINST_XREF.Probably xref is meant for storing dynamic value.
    Please check the above error and reply me soon.
    With Regards
    Jyoti Nayak

  • Follow up on XPATH HashMap problem

    Hi,
    I got some great help before on this & am hoping for a little direction. I have a class that calculates the tax from an xml like below:
    <Taxes>
         <Tax TaxCode='code1' Amount='101.00'/>
         <Tax TaxCode='code2' Amount='102.00'/>
         <Tax TaxCode='code3' Amount='103.00'/>
         <Tax TaxCode='code4' Amount='104.00'/>
         <Tax TaxCode='code5' Amount='105.00'/>
    </Taxes>Now, my method below, gets the last 3 values and sums them and applies the code "XT" to it & returns a HashMap that looks like:
    {code1 = 101.00, code = 102. 00, XT = 312.00}.
    public static HashMap getTaxAmounts(String xml) throws Exception {
              HashMap taxes = new HashMap();
              DocumentBuilderFactory domFactory = DocumentBuilderFactory.newInstance();
            domFactory.setNamespaceAware(true); // never forget this!
            DocumentBuilder builder = domFactory.newDocumentBuilder();
            Document doc = builder.parse(xml);
            XPathFactory factory = XPathFactory.newInstance();
            XPath xpath = factory.newXPath();
            XPathExpression expr = xpath.compile("//Tax/@TaxCode");
            Object result = expr.evaluate(doc, XPathConstants.NODESET);
            NodeList nodes = (NodeList) result;
            XPathExpression expr1 = xpath.compile("//Tax/@Amount");
            Object result1 = expr1.evaluate(doc, XPathConstants.NODESET);
            NodeList nodes1 = (NodeList) result1;
            for ( int i = 0; i < nodes1.getLength() && (i<2); i++) {
                   taxes.put( nodes.item(i).getNodeValue(), nodes1.item(i).getNodeValue());
                    if( nodes1.getLength() >= 3){
                        float total = 0.00f;
                        for ( int i = 2; i < nodes1.getLength(); i++) {
                                total += Float.parseFloat(nodes1.item(i).getNodeValue());
                        String xt = nodes.item(2).getNodeValue();
                        xt = "XT";
                        taxes.put( xt, total);
           return taxes;     
    /code]
    all that's fine - but now I have to replace the tags in the original XML file so that they look like:<Taxes>
    <Tax TaxCode='code1' Amount='101.00'/>
    <Tax TaxCode='code2' Amount='102.00'/>
    <Tax TaxCode='XT' Amount='312.00'/>
    </Taxes>
    any odeas how I would this???

    Hi, John. I can address one of your questions here.
    However, the picture was slightly cropped at the top and it also had 2 very small borders on the left and right, being printed in landscape.
    A standard digital camera image is proportioned 4:3 (1.33:1). That doesn't match the 6:4 ratio of your paper's dimensions (1.5:1), so unless you opt either to distort the image or crop it, it can't be an exact fit on the paper.
    In the toolbar at the top of iPhoto's Edit view is a pull-down menu above the word "Constrain". You use that menu to specify standard proportions for printing the image. Select "4x6 (Postcard)", and you will see superimposed on the picture a rectangle that has those proportions. What's inside the rectangle looks normal, signifying that it will be printed; what's outside the rectangle is pale and muted, because it will be cropped away when you print. Place your cursor anywhere inside the rectangle, hold the mouse button down and drag, to move the rectangle and change what's included within the print boundary.
    The fact that your printed picture was both cropped and slightly reduced in size (creating the small left and right borders) suggests to me that your printer may not be capable of borderless printing, or that there is a setting for borderless prints you're overlooking somewhere. Since the contents of both the Print and Page Setup dialog boxes are governed by the printer's own driver software, and there's no "borderless" setting anywhere within iPhoto, I think you'll need to review the printer's documentation and/or online help files carefully to see whether you're overlooking something in one of those dialog boxes.

  • Is it possible to throw a BPELFault from a custom xpath function?

    I'm probably revealing my lack of java chops here, but I'd like to know if there's a way to throw a BPELFault from the "call" method within a custom xpath function.
    The interface for IXPathFunction seems to dictate that "call" throws only an XPathFunctionException and the bpel server doesn't handle this exception properly. It records the exception in the logs but then the process just dies.
    Right now I have this (simplified code):
    public Object call(IXPathContext context,
    List args) throws XPathFunctionException
    if (args.size() == 1)
    // do some stuff and return a value
    throw new XPathFunctionException( "hexToInt() requires one string argument." );
    What I want to have is something like this:
    public Object call(IXPathContext context,
    List args) throws BPELFault
    if (args.size() == 1)
    // do some stuff and return a value
    BPELFault fault = new BPELFault(
    new javax.xml.namespace.QName("http://schemas.xmlsoap.org/ws/2003/03/business-process/",
    "selectionFailure"));
    fault.setPart("code", "intToHex");
    fault.setPart("summary", "hexToInt() requires one string argument.");
    throw fault;
    If I do this, the compiler rejects it saying that "call" must throw XPathFunctionException. Is there a way to extend the IXPathFunction interface to allow it to throw a useful fault?
    Thanks!
    Sean

    Yeah, I'm using that patch (otherwise the process just crashes and you don't have a chance to catch the fault, even in a catchAll). Within the catchAll you can get the details from the error with something like this:
    <copy>
    <from expression="concat(ora:getFaultName(),'')"/>
    <to variable="processFault" part="payload" query="/ns4:summary"/>
    </copy>
    <copy>
    <from expression="concat(ora:getFaultAsString(),'')"/>
    <to variable="processFault" part="payload" query="/ns4:detail"/>
    </copy>

Maybe you are looking for

  • "Cannot draw document with negative rows to credit note"

    Hi Experts, A General query : I create an AR invoice with two items one with qty 1 and the other with qty (-ve 1)  on posting this invoice the second item / row with negative qty gets closed automatically. Now, I require to post a AR Credit note to t

  • [8i] Way to add a specific nbr of rows based on a column value? (Follow-up)

    I'm dealing with an old database that's being phased out, and here's the version info (yes, it's really old): Oracle8i Enterprise Edition Release 8.1.7.2.0 - Production PL/SQL Release 8.1.7.2.0 - Production CORE 8.1.7.0.0 Production TNS for HPUX: Ver

  • Office 2013 Suppress Default File Type Popup

    Hello, during evaluation for Office 2013 we get this popup at the first start. We have configured the default file types for word, excel and powerpoint to .doc-File Format via GPO. Can we disable this Popup via GPO or the OCT-Wizard? I have found som

  • Ts update progam doesn''t work.

    my ts update progam doesn''t work. it seems be be missing. The messsage I get is that the program doesn't exist after I get an alert saying the TS Update isn't working.  Where do i donwload the program? Its an HP TouchSmart 600, windows 7 64bit

  • Itunes 10 won't install

    hello everyone! happy holidays!:) i am still havin trouble with the installation of the new itunes ten...the problem below:( ok..during installation. 1) Could not open key: unknown\Components\DA42BC89BF25F5BD0AF18C3B9B1A1EE8\DD7906EE4F50871479913D71B