OSB Validate action problem with xs:short datatype

Hi,
In the XSD, intPayment is defined as xs:short.
We have the validate action in OSB proxy.
If we pass below, everything is fine : (correct)
<intPayment>96</intPayment>
If we pass below, OSB is throwing a validate error indicating fractional digits after decimal point. (correct)
<intPayment>96.01</intPayment>
But if we pass below, OSB validate action is not catching :
<intPayment>96.00</intPayment>
I am assuming that OSB validate action should throw an error that 96.00 is not a valid value. (xs:short restricts any fractional digits after decimal point).
Can you pl help me?
Thanks,
S
Edited by: user13058197 on Jan 13, 2011 10:29 AM
Edited by: user13058197 on Jan 13, 2011 12:16 PM

I am assuming that OSB validate action should throw an error that 96.00 is not a valid value. (xs:short restricts any fractional digits after decimal point). Your assumption is incorrect and OSB is working as designed (actually as per XML standard). Actually short datatype is derived from int, int is derived from long, long is derived from integer and integer is derived from decimal.
Definition of Integer (http://www.w3.org/TR/xmlschema-2/#integer) says -
[Definition:] integer is ·derived· from decimal by fixing the value of ·fractionDigits· to be 0and disallowing the trailing decimal point. This results in the standard mathematical concept of the integer numbers. The ·value space· of integer is the infinite set {...,-2,-1,0,1,2,...}. The ·base type· of integer is decimal. And hence xs:short accepts 96.00 but does not accept 96.01
Regards,
Anuj

Similar Messages

  • OSB Validate action failed validation

    Hi All,
    I'm trying to convert non-xml to xml by using XqueryTransformation source as an HL7 and target as an CCD schema.When validating the against the schema I got the following exception.
    Please provide any suggestions.
    <con:fault xmlns:con="http://www.bea.com/wli/sb/context">
    <con:errorCode>BEA-382505</con:errorCode>
    <con:reason>OSB Validate action failed validation</con:reason>
    <con:details>
    <con1:ValidationFailureDetail xmlns:con1="http://www.bea.com/wli/sb/stages/transform/config">
    <con1:message>
    string value '' does not match pattern for cs in namespace urn:hl7-org:v3
    </con1:message>
    <con1:xmlLocation>
    <ns0:title xmlns:ns0="urn:hl7-org:v3">XXX</ns0:title>
    </con1:xmlLocation>
    <con1:message>
    Element 'title@urn:hl7-org:v3' with empty content type cannot have text or element content.
    </con1:message>
    <con1:xmlLocation>
    <ns0:title xmlns:ns0="urn:hl7-org:v3">XXX</ns0:title>
    </con1:xmlLocation>
    <con1:message>
    Element 'title@urn:hl7-org:v3' with empty content type cannot have text or element content.
    </con1:message>
    <con1:xmlLocation>
    <ns0:title xmlns:ns0="urn:hl7-org:v3">XXX</ns0:title>
    </con1:xmlLocation>
    <con1:message>
    Element 'title@urn:hl7-org:v3' with empty content type cannot have text or element content.
    </con1:message>
    <con1:xmlLocation>
    <ns0:title xmlns:ns0="urn:hl7-org:v3">XXX</ns0:title>
    </con1:xmlLocation>
    <con1:message>
    Element 'title@urn:hl7-org:v3' with empty content type cannot have text or element content.
    </con1:message>
    <con1:xmlLocation>
    <ns0:title xmlns:ns0="urn:hl7-org:v3">XXX</ns0:title>
    </con1:xmlLocation>
    <con1:message>
    Element 'title@urn:hl7-org:v3' with empty content type cannot have text or element content.
    </con1:message>
    <con1:xmlLocation>
    <ns0:title xmlns:ns0="urn:hl7-org:v3">XXX</ns0:title>
    </con1:xmlLocation>
    <con1:message>
    Element 'title@urn:hl7-org:v3' with empty content type cannot have text or element content.
    </con1:message>
    <con1:xmlLocation>
    <ns0:title xmlns:ns0="urn:hl7-org:v3">XXX</ns0:title>
    </con1:xmlLocation>
    <con1:message>
    Element 'title@urn:hl7-org:v3' with empty content type cannot have text or element content.
    </con1:message>
    <con1:xmlLocation>
    <ns0:title xmlns:ns0="urn:hl7-org:v3">XXX</ns0:title>
    </con1:xmlLocation>
    <con1:message>
    Element 'title@urn:hl7-org:v3' with empty content type cannot have text or element content.
    </con1:message>
    <con1:xmlLocation>
    <ns0:title xmlns:ns0="urn:hl7-org:v3">XXX</ns0:title>
    </con1:xmlLocation>
    </con1:ValidationFailureDetail>
    </con:details>
    Thanks
    Mani

    Hi Anuj,
    I tried doing that but in Response, it is echoing back the request after the statement:
    The invocation resulted in an error: .
    And now it shows:
    Stage Error Handler
    $fault: <con:fault xmlns:con="http://www.bea.com/wli/sb/context">
    <con:errorCode>BEA-382505</con:errorCode>
    <con:reason>OSB Validate action failed validation</con:reason>
    <con:details>
    <con1:ValidationFailureDetail xmlns:con1="http://www.bea.com/wli/sb/stages/transform/config">
    <con1:message>
    string value '2' is not a valid enumeration value for VersionType in namespace http://www.example.org/abcd_Request_Schema
    </con1:message>
    <con1:xmlLocation>
    <abcd:Version xmlns:abcd="http://www.example.org/abcd_Request_Schema">2</abcd:Version>
    </con1:xmlLocation>
    </con1:ValidationFailureDetail>
    </con:details>
    <con:location>
    <con:node>PipelinePairNode1</con:node>
    <con:pipeline>PipelinePairNode1_request</con:pipeline>
    <con:stage>request xml validation</con:stage>
    <con:path>request-pipeline</con:path>
    </con:location>
    </con:fault>
    System Error Handler
    $fault: <con:fault xmlns:con="http://www.bea.com/wli/sb/context">
    <con:errorCode>402</con:errorCode>
    <con:reason>
    Validation Failed. Please enter proper values.
    </con:reason>
    <con:details>
    <con1:ValidationFailureDetail xmlns:con1="http://www.bea.com/wli/sb/stages/transform/config">
    <con1:message>
    string value '2' is not a valid enumeration value for VersionType in namespace http://www.example.org/abcd_Request_Schema
    </con1:message>
    <con1:xmlLocation>
    <abcd:Version xmlns:abcd="http://www.example.org/abcd_Request_Schema">2</abcd:Version>
    </con1:xmlLocation>
    </con1:ValidationFailureDetail>
    </con:details>
    <con:location>
    <con:node>PipelinePairNode1</con:node>
    <con:pipeline>PipelinePairNode1_request</con:pipeline>
    <con:stage>request xml validation</con:stage>
    <con:path>request-pipeline</con:path>
    </con:location>
    </con:fault>
    Is there any way by which only the customized error can be seen & not the OSB errors?

  • OSB Validate action

    As I have just started working in OSB, so my query is whether I can get a proper error message from OSB validate action against the particular attribute in an XML which is having the wrong input.
    Example : Suppose in my XSD i have defined student's id as integer but in below XML it is coming with a string. So can I get the exact error message stating like attribute 'id' is having a wrong value and so validation failed.
    <Class>
    <student id="123"/>
    </Class>
    Please help.

    The attribute level validation was done through java call out. Had to use sax parser for this..
    here is the code :
    public class XMLValidator {
    static boolean success = true;
    static private String errorMsg = "";
    static String msg = "";
    * @param xsdPath
    * @param payload
    * @return
    public static String XMLValidator(String xsdPath, String payload) {
    String status = "";
    try {
    System.out.println("XSD Path: " + xsdPath);
    System.out.println("Payload: " + payload);
    status = ValidateXML(new URL(xsdPath), payload);
    } catch (MalformedURLException e) {
    return (e.getMessage());
    return (status);
    public static String ValidateXML(URL xsdUrl, String xmlFile) {
    success = true;
    errorMsg = "";
    SAXParser saxParser = new SAXParser();
    saxParser.setValidationMode(XMLParser.SCHEMA_VALIDATION);
    String xmlFilePayload = xmlFile;
    XSDBuilder builder;
    try {
    builder = new XSDBuilder();
    URL url = xsdUrl;
    //System.out.println(url.getPath());
    XMLSchema schemadoc = (XMLSchema)builder.build(url);
    saxParser.setXMLSchema(schemadoc);
    Validator handler = new Validator();
    saxParser.setErrorHandler(handler);
    // saxParser.parse(new FileInputStream(new File(xmlFilePayload)));
    InputStream inputStream =
    new ByteArrayInputStream(xmlFilePayload.getBytes("UTF-8"));
    saxParser.parse(inputStream);
    if (success) {
    msg = "Successfully Validated";
    } else {
    /* writeLogFile(logFileName,
    "[" + counter + "]. " + xmlFileName + "\n" +
    "------------------------------------------------------------------------------------------------------\n" +
    errorMsg + "\n\n\n", true);*/
    msg = errorMsg;
    } catch (XSDException f) {
    System.out.println("XSDException : " + f.getMessage());
    //System.out.println("XSDException : " + f.getMessage());
    } catch (FileNotFoundException f) {
    System.out.println("FileNotFoundException : " + f.getMessage());
    } catch (SAXException f) {
    System.out.println("SAXException : " + f.getMessage());
    } catch (IOException f) {
    System.out.println("IOException : " + f.getMessage());
    catch (Exception f) {
    System.out.println("IOException : " + f.getMessage());
    return (msg);
    public static class Validator implements ErrorHandler {
    public void error(SAXParseException exception) {
    success = false;
    int separator = exception.getMessage().indexOf(")");
    System.out.println("index "+separator);
    String st = exception.getMessage().substring(separator+1);
    errorMsg = errorMsg + "Error : " + st + "\n";
    //System.out.println("error: " + exception.getMessage());
    public void fatalError(SAXParseException exception) {
    success = false;
    errorMsg =
    errorMsg + "Fatal Error : " + exception.getMessage() + "\n";
    // System.out.println("fatalError: " + exception.getMessage());
    public void warning(SAXParseException exception) {
    success = false;
    errorMsg = errorMsg + "Warning : " + exception.getMessage() + "\n";
    //System.out.println("warning: " + exception.getMessage());
    }

  • OSB Validate action fails even an element is nillable="true"

    Hi,
    I have declared two elements in my inline schema nillable="true":
    <xsd:element name="Skip_CreditChk" nillable="true" type="xsd:boolean" minOccurs="0" maxOccurs="1"/>
    <xsd:element name="Observation_End_Date" nillable="true" type="xsd:date" minOccurs="0" maxOccurs="1"/>
    In my OSB message flow, my first action is a Validate action.
    When I test the proxy service in the OSB Console and input the following elements I encounter an OSB validate action failed error even when those fields below are declared as nillable in the schema. Anyone got an idea regarding this issue?
    <Skip_CreditChk/>
    <Observation_End_Date/>

    Please check W3C recommendation -
    http://www.w3.org/TR/xmlschema-0/ (section 2.9 Nil Values)
    Your input should be like -
    <Skip_CreditChk xsi:nil="true"></Skip_CreditChk>
    <Observation_End_Date xsi:nil="true"></Observation_End_Date>
    Regards,
    Anuj

  • OSB project deployment problem with MFL file

    Hi,
    I have created a OSB project to transform a xml message into a text file. For this I have created a mfl and the necessary proxy/business service. I can generate the sbconfig.jar from OEPE tool. But while trying to deploy the sbconfig.jar (generated from OEPE toll) in the OSB server the following error is coming:
    <Sep 30, 2013 3:19:06 PM CEST> <Error> <ALSB Console> <BEA-494002> <Internal error occured in OSBConsole : com/bea/nonxml/util/NonXMLSchemaGenerator.genXsdFromMfl(Ljava/lang/String;Ljava/io/Reader;)Ljava/lang/String;
    java.lang.Exception: com/bea/nonxml/util/NonXMLSchemaGenerator.genXsdFromMfl(Ljava/lang/String;Ljava/io/Reader;)Ljava/lang/String;
            at jsp_servlet._jsp._main.__errorpage._jspService(__errorpage.java:134)
            at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
            at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
            at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
            at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
            Truncated. see log file for complete stacktrace
    Caused By: java.lang.NoSuchMethodError: com/bea/nonxml/util/NonXMLSchemaGenerator.genXsdFromMfl(Ljava/lang/String;Ljava/io/Reader;)Ljava/lang/String;
            at com.bea.wli.common.mfl.MflExecutor.create(MflExecutor.java:76)
            at com.bea.wli.sb.resources.mfl.MflExecutor.create(MflExecutor.java:72)
            at com.bea.wli.sb.resources.mfl.MflEntryHelper.validate(MflEntryHelper.java:90)
            at com.bea.wli.sb.resources.mfl.MflTypeDef.validate(MflTypeDef.java:54)
            at com.bea.wli.config.validation.ResourceValidator.validateContents(ResourceValidator.java:118)
            Truncated. see log file for complete stacktrace
    >
    [INFO ][alloc  ][Mon Sep 30 15:19:11 2013][00464] [YC#33320] Pending requests
    Can someone please help me out regarding this problem and let me know the reason.
    I am using 11.1.1.5.0 version of OSB.
    Please let me know if you need any further details.
    Thanks.
    Rahul

    Hi Ahul,
         It may cause because of the following problem,
    1) Make Sure that your MFL is working perfectly
    2) Make sure that your OSB Server is Running with out any error..
    Let me know still your facing the problem
    Regards,
    Kiran

  • ALSB 2.5 Validate action problem

    My problem is that when I issue a "Validate" step in my ALSB Console using a given schema, and I post a test message (using the ALSB console) I receive a "Failed to perform validation" error.
    The problem is not with the test message nor with the schema.I performed a "Schema Validation" on XML Spy and both the test message and XML Schema validated successfully.
    Is there a logged problem with ALSB25 regarding the use of the "Validate" action?
    Below is a snapshot of the error message I receive when I post the test message
    &lt;con:fault xmlns:con="<a href="http://www.bea.com/wli/sb/context">http://www.bea.com/wli/sb/context</a>"&gt;
    &lt;con:errorCode&gt;BEA-382000&lt;/con:errorCode&gt;
    &lt;con:reason&gt;Failed to perform validation&lt;/con:reason&gt;
    &lt;con:location&gt;
    &lt;con:node&gt;OgsAtomMessageRouter&lt;/con:node&gt;
    &lt;con:pipeline&gt;OgsAtomMessageRouter_request&lt;/con:pipeline&gt;
    &lt;con:stage&gt;Validate Schema&lt;/con:stage&gt;
    &lt;/con:location&gt;
    &lt;/con:fault&gt;
    Thanks,
    Carlos

    It sounds like you are not routing or passing the right soap message to the EJB business service. To have the exact shape of the expected XML, use the test console, and look at the complete request document. This is what you need to pass if the proxy service is anyXml.

  • Folder Action Problems with Leopard 10.5.8

    My company recently upgraded from 10.4.11 to 10.5.8 and our folder actions have been stopping mid-process or not working at all. Sometimes a few files will process and then everything stops completely.
    Our workflow involves the use of several different hot folders that use folder actions (converting InDesign CS4 documents to various quality of PDFs). All of the actions are single stream, meaning each folder does the action it's assigned and the original file is trashed and the new file remains in the folder. There are no subsequent folder actions that pull from the newly processed files. We also only run one folder action (with several files dropped in it) at a time.
    I have also tried running a pre-made generic folder action script from Apple and it, too will stop mid-process, process a few files then stop, or not work at all.
    Does anyone know what might be causing this problem with either the new Applescript or Folder Actions with Leopard 10.5.8?

    I have several scripts that all work different ways. One script I have opens the InDesign document, exports a PDF to a different folder located elsewhere on the hard drive (where a different script searches for PDFs). After this the original document is sent to the trash. Nothing new is created in the original Folder Action Scripted folder.
    What's more, even Apple's stock Folder Actions don't work properly and stop mid-process. I've seen vague reports of 10.5.8 having issues with Applescript or Leopard in general. The fact this script works perfectly in 10.4.11 makes me think that something has changed with the way Leopard handles the FA's.

  • Smartform problem with FS [short dump]

    Hi Abapers,
    Am using <FS> in my smartform
    it is using as Work area.
    Bcoz my line item data Containing Amount and Quantity fields.
    so when am not using <FS> i.e., if am declaring WA like <struc>
    then its giving error message like Quantity does not exist.
    when for is printing.
    so thats why am using <FS> as my Work area.
    when am looping my table data into <FS>.
    for my main window table.
    so when ever am having no line item data with respect to my Selection screen.
    Then my line item internal table is empty in my driver program.
    so when it comming to smartform <FS> is empty
    then my form is going to Shortdump.
    so how can i over come that it should not go to shortdump
    even my line item data is not having records.
    Pls give me any solution .....!
    Thanks & Regards,
    Rajeshk

    Thanks for ur immd. response.
    Actually am not having problem with Quantity and Currency fields.
    My form is executing alright.
    But ,
    when ever am having no line item data with respect to my Selection Criteria.
    Then my line item internal table is empty in my driver program.
    so when it comming to smartform <FS> is empty
    then my form is going to Shortdump.
    I think you under stood my problm.
    ThankQ

  • Photoshop Actions: Problem with layer groups

    I have recorded several photoshop actions with multiple adjustment layers in layer groups. They work perfectly fine, as long as I do not run a second action with a layer group in it.
    As soon as I run a second action with layer groups, the layer order is completely random and messed up. How can I avoid this problem?

    Best practices: Usage
    Supply pertinent information for quicker answers
    The more information you supply about your situation, the better equipped other community members will be to answer. Consider including the following in your question:
    Adobe product and version number
    Operating system and version number
    The full text of any error message(s)
    What you were doing when the problem occurred
    Screenshots of the problem
    Computer hardware, such as CPU; GPU; amount of RAM; etc.

  • V4.0 Dynamic Action - Problem with implementing disabling/enabling button

    I'm having trouble implementing the following APEX V4.0 dynamic action:
    The enabling/disabling of a button when a text field is not-null/null.
    I'm following the example in Oracle's Advanced APEX course notes Pgs 5-13 to 5-16. I can get it working with no problems using two text fields. The example states that the "Select Type" for the button is a DOM object and you then have to enter it's name in "DOM Object" attribute. The example uses a "CREATE" button in a region position. Is "CREATE" just the Name attribute of the object? Is that what we are suppose to enter here? Also my FIND button is a "button among the region items" and not a "button in a region position" as in the example. The name of the button is P1_PAT_TBRN_SEARCH but when I use it as the Dom Object, nothing happens. Also I am using the "Key release" event for the text field that must be not-null.
    I notice that Demitri Gielis on his blog couldn't get it working either (see last paragraph)
    http://dgielis.blogspot.com/2010/01/apex-40-dynamic-actions-part-1.html
    Any suggestions?
    thanks in advance
    Paul P
    Edited by: PaulP on Jun 2, 2011 12:01 PM

    Hi Paul
    Two separate situtations here:
    - html buttons
    - template based buttons, typically comprising multiple html elements
    HTML Buttons
    These should be easy to enable/disable using dynamic actions, specifying an appropriate DOM selector.
    Typically you would use the ID attribute of the button, so that's straight forward except for one catch..
    APEX supports a #BUTTON_ID# template substitution tag , but performs substitutions only for buttons in Region positions and not for button items.
    Use button attributes instead to assign a specific ID.
    Template Buttons
    Since these are made up of multiple elements, you need to treat them as a single object to be able to interact with them easily.
    APEX provides the apex.widget.initPageItem method to integrate plugins with the dynamic actions framework:
    apex.widget.initPageItem("P1_MY_ITEM", {
    enable: function(){},
    disable: function(){},
    getValue: function(){},
    setValue: function(){},
    nullValue: "%null%"
    });This provides you with a mechanism to over-ride one or all of these built-in methods with your own JS, to use custom code to enable/disable your template buttons.
    For an example on how this works, look in the uncompressed apex_widget_4_0.js file, search for the shuttle widget.
    You could just add code to initialize your template buttons manually, or better still create a plugin button to add the code automatically.
    This is reasonably advanced work to do, but you really have to take your hat of to the APEX team for providing the mechanism to do it.
    Regards
    Mark
    demo: http://apex.oracle.com/pls/otn/f?p=200801 |
    blog: http://oracleinsights.blogspot.com |
    book: Oracle Application Express 4.0 with Ext JS

  • Allow Tool Recording Action Problem with Pen Tool -PS6 beta

    Hi,
    I’m trying to create an action that will erase a shape layer box that I am using for a registration point. 
    I have “allow tool recording” on
    I select the shape layer in the layer palette
    Use the direct selection tool to marquee the box  on the shape layer I want to erase
    Use the pen tool to delete each anchor point
    I do erase the box but when I play back the recorded action,
    It will marquee and select the 4 box anchor points and even though the action dialog box says
    “Use delete anchor point”
    nothing happens.
    Any ideas?  Thanks. 

    The path selection tool selects the entire shape layer and won't delete it, I only want to select and delete a small portion of the shape layer.  Thanks for trying. 

  • Problem with creating a datatype

    Hi,
    Scenario : JMS to IDOC
    I need to create a datatype like this,
    Element : StringA
    Attribute : C83 value where C106 = "PICKUP"
    Element : StringA
    Attribute : C83 value where C106 = "DROPOFF"
    Please help me on how can i create like this above for sender side.
    Thanks & Regards,
    Y.Raj

    Hi,
    This is the split criteria for creation a new messages
    Split and matching criteria:
    1)For ea. New value in xml tag <C93> a new IDoc must be created.
    2)Within the XML messages two sections will be received per SAP line item xml tag <C98> will contains the link between the u201CPICKUPu201D and u201CDROPOFFu201D which must be match together in the mapping via <C106> for ea. Material number <C94>
    Here i will provide some source fields as,
    Header Information:
    1) UDFString4 /
    C88 value where C106="PICKUP"
    2) UDFString1 /
    C83 value where C106 = u201CPICKUPu201D
    3) UDFString1 /
    C83 value where C106 = u201CDROPOFFu201D
    4) CompletedDate /
    C97 value where C106 = u201CDROPOFFu201D
    5) CompletedDate /
    C97 value where C106 = u201CPICKUPu201D
    etc.,,
    ITEM information
    1) UDFString8 /
       C86 value where C106 = u201CPICKUPu201D
    2) Quantity /
       C95 value where C106 = u201CPICKUPu201D
    3) UDFString7 /
       C85 value where C106 = u201CPICKUPu201D
    Thanks & Regards,
    Y.Raj.
    Edited by: YeswanthRaj Kumar on Nov 3, 2008 9:31 AM

  • Former PC user has a problem with volume short cut

    Can someone help me? My mac book pro is 2 weeks old and somehow I just disengaged the handy volume short cuts on the keyboard. How do I get the volume controls and mute button to come back to F3-F5?

    Hi, lycidas, and welcome to the discussions.
    Try heading to System Preferences (under the Apple menu). Now select "Keyboard and Mouse" and choose the "Keyboard" tab.
    Make sure there ISN'T a tick in the box next to "Use all F1, F2 etc. keys as standard function keys".
    Cheers
    Rod

  • Problem with Xquery transformation in OSB

    hi,
    My scenario is that I have to break the data in a single tag of xml A, to populate multiple tags of xml B.I am using Xquery transformation and substring function to achieve this. The problem comes when i import the xquery resource in OSB and try to do the transformation in a proxy service it gives the following error
    <con:fault xmlns:con="http://www.bea.com/wli/sb/context">
    <con:errorCode>BEA-382510</con:errorCode>
    <con:reason>
    *OSB Assign action failed updating variable "message": com.bea.wli.common.xquery.XQueryException: Error parsing XML: {err}XP0006: "element {http://schemas.xmlsoap.org/soap/envelope/}Body { {http://www.w3.org/2004/07/xpath-datatypes}untypedAny }": bad value for type element {http://www.example.org/data}data { {http://www.w3.org/2001/XMLSchema}anyType }*
    </con:reason>
    <con:location>
    <con:node>PipelinePairNode1</con:node>
    <con:pipeline>PipelinePairNode1_request</con:pipeline>
    <con:stage>stage1</con:stage>
    <con:path>request-pipeline</con:path>
    </con:location>
    </con:fault>
    the configuration i have done in the proxy service is this::_
    Assign: [XQuery resource..] to [message]
    Delete: [.] in [body]
    Insert [$message] [as first child of][.] in [body]
    The Xquery resource is the .xq file that i have generated for Xquery transformation.
    and i m routing this proxy service to a business service that wud take the XML and dump it to my D drive using file protocol.
    Edited by: rahulc on Oct 12, 2010 12:40 AM
    Edited by: rahulc on Oct 12, 2010 12:41 AM

    My Xquery is this::
    (:: pragma bea:global-element-parameter parameter="$data1" element="ns0:data" location="data.xsd" ::)
    (:: pragma bea:global-element-return element="note" location="note.xsd" ::)
    declare namespace ns0 = "http://www.example.org/data";
    declare namespace xf = "http://tempuri.org/OSB_Try/tag_break/";
    declare function xf:tag_break($data1 as element(ns0:data))
    as element(note) {
    <note>
    <to>
    fn:substring(data($data1),
    1 ,
    6)
    </to>
    <from>
    fn:substring(data($data1),
    7 ,
    6)
    </from>
    <heading>
    fn:substring(data($data1),
    13 ,
    6)
    </heading>
    <body>
    fn:substring(data($data1),
    19 ,
    11)
    </body>
    </note>
    declare variable $data1 as element(ns0:data) external;
    xf:tag_break($data1)
    and my data is this::
    <?xml version="1.0"?>
    <ns0:data xmlns:ns0="http://www.example.org/data">DON'T FORGET ME THIS WEEKEND!</ns0:data>
    and i have tested this zquery for the above data and this is the transformation its doing::
    <note>
    <to>DON'T </to>
    <from>FORGET</from>
    <heading> ME TH</heading>
    <body>IS WEEKEND!</body>
    </note>
    Edited by: rahulc on Oct 12, 2010 1:57 AM

  • Will there be a fix for Firefox's problems with Hotmail. I have gone back to 3.5.9 but mostly I am disappointed by the lack of action on this serious problem where a major and critical feature of a major international website is unavailable in the Firefox

    Will there be a fix for Firefox's problems with Hotmail. I have gone back to 3.5.9 but mostly I am disappointed by the lack of action on this serious problem where a major and critical feature of a major international website is unavailable in the Firefox browser.
    == URL of affected sites ==
    http://www.hotmail.com

    We've reached out to the Hotmail team and they've determined that this is a bug in their code. (It was masked by a timing issue in 3.5 that was fixed in 3.6.) We've worked with them to develop a fix but they may not have deployed it yet.

Maybe you are looking for

  • Adobe has my money and won't give me my serial number!

    For those of you who have successfully downloaded an upgrade to Lightroom 3 with serial numbers, congratulations!  If you haven't, you might beware that you might not get a serial number and neither customer nor technical support has ANY answer for y

  • Why use an Abstract Class ?

    I am new to Java and for some reason I can't get my head around why to use an abstract class. I understand that an abstract class is something like: public abstract class Food{ // abstract class public void eat(){ // stub public class Apple extends F

  • Xfce broken completely and reinstall does not help...

    Dear All, I installed Xfce and it was working just fine until I got a strange error with unmounting a usb stick. After that the Xfce panel somehow disappeared after reboot. I don't remember exactly what I did, but now it is completely broken - I see

  • Wait for all threads in a array to die

    I everyone. I'm from Portugal and I have some experience in JAVA programming (approximately five years) but this is the first the first time that i'm trying to use threads. I'm trying to learn writing some simpler code that does almost exactly at the

  • Unable to open library since final release

    I've been using Photos happily through beta, but now with the final release, I can't open the library. It says it's attempted to repair it, but no good. If I go to make a new library, the app crashes immediately. I'm also now seeing crashes whenever