SAXParser reading external Schema - how to add addtional namespaces

Hi,
I have an application where the XML-Schema has to be read from somewhere else if the XML file does not have a reference to a Schema.
Usually, my XML-file starts with:
<ODM xsi:schemaLocation="http://www.cdisc.org/ns/odm/v1.2 ODM1-2-0.xsd" xmlns="http://www.cdisc.org/ns/odm/v1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ...>
Remark the extra namespace for xsi.
I am using the following code:
parser.setFeature("http://xml.org/sax/features/validation",true); // validation
parser.setFeature("http://apache.org/xml/features/validation/schema",true); // against Schema
parser.setProperty("http://apache.org/xml/properties/schema/external-schemaLocation", "http://www.cdisc.org/ns/odm/v1.2 file://C:/CDISC_ODM_Checker_testfiles/ODM1.2/ODM1-2-0.xsd");
etc...
Although I am sure that the file location is correct, I get the following error when parsing:
org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'ODM'.
My Schemafile looks like:
<xs:schema targetNamespace="http://www.cdisc.org/ns/odm/v1.2" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.cdisc.org/ns/odm/v1.2" elementFormDefault="qualified" attributeFormDefault="unqualified">
     <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/03/xml.xsd"/>
     <xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="http://www.w3.org/TR/xmldsig-core/xmldsig-core-schema.xsd"/>
I am wondering what is wrong.
Does it have to do with the usual xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" that I usually have in the XML file ? Should I also tell the parser about xsi ?
Or is there anything very obvious I oversee ?
Parser is Xerces-2-5-0, Operating System is Windows 2000.
Any help is welcome
Jozef Aerts
XML4Pharma

Hi,
Many thanks for all the suggestions !
The problem remains that I am only allowed to make changes in the Java code, not in the XML-Schema or in the incoming XML file.
To be more specific, the file can come in in 2 separate ways. The first way is :
<ODM xsi:schemaLocation="http://www.cdisc.org/ns/odm/v1.2 ODM1-2-0.xsd" xmlns="http://www.cdisc.org/ns/odm/v1.2" xmlns="http://www.cdisc.org/ns/odm/v1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Description="CDISC ODM version 1.2.2 format" FileType="Transactional" Granularity="All" FileOID="987-654-321" CreationDateTime="2002-04-29T11:07:23-05:00"> ... </ODM>
No problem to parse this when the odm1-2-0.xsd is in the same directory.
However, in some cases, the file can come in as:
<ODM Description="CDISC ODM version 1.2.2 format" FileType="Transactional" Granularity="All" FileOID="987-654-321" CreationDateTime="2002-04-29T11:07:23-05:00">
So, no references to schema location nor namespaces.
In the latter case, I need to assign an external schema file (which can be in another directory as the xml file) and tell the SAXParser about the namespaces. It's the second thing that I do not know how to do.
I do not want to edit the incoming xml file if possible, but just tell the parser about the namespaces.
Many thanks in advance
Jozef Aerts
XML4Pharma

Similar Messages

  • How to add multiple namespaces in XSD ?

    Can anyone tell me how to add multiple namespaces inside an XSD. Or how to import XSD into another XSD ??
    Thanks

    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://xml.ibridge.nl/nl/rsg/domein/3/company" xmlns:alg="http://mynamespace/generic" targetNamespace="http://xml.ibridge.nl/nl/rsg/domein/3/company" elementFormDefault="qualified" attributeFormDefault="unqualified" version="2.1">
         <xs:import namespace="http://mynamespace/generic" schemaLocation="algemeen.xsd"/>
    you define xmlns:alg with a namespace
    and after that use the namespace itself to import a xsd for it

  • How to add muliple namespace in XMP schema?

    Dear All,
    I was wondering how to add more than one namespace in a schema. I have seen that some schemas in XMP have more than one namespace, e.g.,
    <rdf:Description rdf:about=""
                xmlns:xmpTPg="http://ns.adobe.com/xap/1.0/t/pg/"
                xmlns:xmpG="http://ns.adobe.com/xap/1.0/g/"
                xmlns:stFnt="http://ns.adobe.com/xap/1.0/sType/Font#">
    When I register a namespace using IMetaDataAccess:RegisterNamespace, say http://ns.abc.com, I get a schema as follows:
    <rdf:Description rdf:about=""
                xmlns:abc="http://ns.abc.com">
    How to add an another namespace, say http://ns.xyz.com, to the same schema to get as follows:
    <rdf:Description rdf:about=""
                xmlns:abc="http://ns.abc.com"
                xmlns:xyz="http://ns.xyz.com">

    Dear All,
    I was wondering how to add more than one namespace in a schema. I have seen that some schemas in XMP have more than one namespace, e.g.,
    <rdf:Description rdf:about=""
                xmlns:xmpTPg="http://ns.adobe.com/xap/1.0/t/pg/"
                xmlns:xmpG="http://ns.adobe.com/xap/1.0/g/"
                xmlns:stFnt="http://ns.adobe.com/xap/1.0/sType/Font#">
    When I register a namespace using IMetaDataAccess:RegisterNamespace, say http://ns.abc.com, I get a schema as follows:
    <rdf:Description rdf:about=""
                xmlns:abc="http://ns.abc.com">
    How to add an another namespace, say http://ns.xyz.com, to the same schema to get as follows:
    <rdf:Description rdf:about=""
                xmlns:abc="http://ns.abc.com"
                xmlns:xyz="http://ns.xyz.com">

  • Adobe Reader X Deployment: how to add trusted folder from userprofile?

    Hi,
    We have to deploy Adobe Reader X and Acrobat X by using the Adobe Customization Wizard X.
    There is a function in the Customization Wizard to add the folders, but the main problem is, that we want to add a folder which is located in the userprofile.
    I tried it by using the Windows variable: %USERPROFILE%, but it didn't work.
    Is there another way to integrate this folder?
    Can it be that Adobe provides their own variables? (i.e. [User_Profile])
    Thanks for help!

    Hi,
    We have to deploy Adobe Reader X and Acrobat X by using the Adobe Customization Wizard X.
    There is a function in the Customization Wizard to add the folders, but the main problem is, that we want to add a folder which is located in the userprofile.
    I tried it by using the Windows variable: %USERPROFILE%, but it didn't work.
    Is there another way to integrate this folder?
    Can it be that Adobe provides their own variables? (i.e. [User_Profile])
    Thanks for help!

  • How to add all namespaces in root node of xquery transformation result?

    Hi,
    I'm using xquery Transformation in oracle service bus to transfrom output. The schema used for output transfromation has elements being imported from several schemas. so that output xml has these long tags with namespaces of repective schemas e.g.
    <rr:Get360ViewOfProductResponse      xmlns:rr="http://canaldigital.com/schema/product/CPMProductInformation/v2.0/">
    <ResponseHeader>
    <com:ResponseCode xmlns:com="http://broadcast.telenor.com/tsi/common/commonparameters_v1" >0</com:ResponseCode>
    <com:ResponseText xmlns:com="http://broadcast.telenor.com/tsi/common/commonparameters_v1" >0</com:ResponseText>
    </ResponseHeader>
    </rr:Get360ViewOfProductResponse>
    what I want to achieve is that all namespaces come once in the rootNode and all childnodes just use the repective prefixes, so that the xml size doesnt grow too large.Like below.
    <rr:Get360ViewOfProductResponse      xmlns:com="http://broadcast.telenor.com/tsi/common/commonparameters_v1" xmlns:rr="http://canaldigital.com/schema/product/CPMProductInformation/v2.0/" xmlns:pr="http://broadcast.telenor.com/tsi/common/program_v1">
    <ResponseHeader>
    <com:ResponseCode>0</com:ResponseCode>
    <com:ResponseText>0</com:ResponseText>
    </ResponseHeader>
    </rr:Get360ViewOfProductResponse>
    the difference is that ResponseCode and responseText should only use their prefix, and not complete namespace. How can i acheive this.
    Thanks in advance.
    Edited by: 856401 on Feb 9, 2012 1:53 AM

    I get error 'Invalid expression- Unexpected token copy-namespaces'. Is it supported by xquery version 1.0 ? Following is the updated xquery transformation which gives static error:
    xquery version "1.0" encoding "Cp1252";
    (:: pragma bea:global-element-parameter parameter="$get360ViewOfProductResponse1" element="ns5:Get360ViewOfProductResponse" location="../XSD/CPMSchema_v20.xsd" ::)
    (:: pragma bea:global-element-return element="ns6:Get360ViewOfProductResponse" location="../XSD/CPMSchema_v3.xsd" ::)
    declare namespace ns2 = "http://broadcast.telenor.com/tsi/common/displayinformation_v1";
    declare namespace ns1 = "http://broadcast.telenor.com/tsi/common/commonparameters_v1";
    declare namespace ns4 = "http://broadcast.telenor.com/tsi/common/Property_v2";
    declare namespace ns3 = "http://broadcast.telenor.com/tsi/common/ProductMain_v2";
    declare namespace ns0 = "http://broadcast.telenor.com/tsi/common/condition_v1";
    declare namespace ns9 = "http://broadcast.telenor.com/tsi/common/extension_v1";
    declare namespace ns5 = "http://broadcast.telenor.com/tsi/psd/cpm/CPMSchema_v20";
    declare namespace ns6 = "http://canaldigital.com/schema/product/CPMProductInformation/v3.0/";
    declare namespace xf = "http://tempuri.org/CPM_OSB_v3/XQuery/Get360ViewOfProductResponse/";
    declare namespace ns7 = "http://broadcast.telenor.com/tsi/common/productofferingpricewithrules_v2";
    declare namespace ns8 = "http://broadcast.telenor.com/tsi/common/pricecomponent_v2";
    declare copy-namespaces preserve, inherit;
    declare function xf:Get360ViewOfProductResponse($get360ViewOfProductResponse1 as element(ns5:Get360ViewOfProductResponse))
    as element(ns6:Get360ViewOfProductResponse) {
    <ns6:Get360ViewOfProductResponse>
    <ResponseHeader>
    <ns1:ResponseCode>0</ns1:ResponseCode>
    <ns1:ResponseText>{ data($get360ViewOfProductResponse1/responseDescription) }</ns1:ResponseText>
    </ResponseHeader>
    </ns6:Get360ViewOfProductResponse>
    declare variable $get360ViewOfProductResponse1 as element(ns5:Get360ViewOfProductResponse) external;
    xf:Get360ViewOfProductResponse($get360ViewOfProductResponse1)

  • XI read external xml file (not in xi namespace format).

    Hi All,
    I got requirement to read xml file (generated by non-sap system) in this below format :
    <ns0:Envelope xmlns:ns0="http://xxxx_Payroll_Notification.Schemas.UPPYM_destination">
      <Header>
        <BusinessFunctionID>UPPYM</BusinessFunctionID>
        <MsgID>25e31c20-b44b-11dc-8a73-000ffe2704e0</MsgID>
      </Header>
      <Body>
        <BusinessData>
          <UPPYM>
            <Rec>
              <Data>1000000109.2007B10111080101010101         </Data>
            </Rec>
            <Rec>
              <Data>1000000209.2007B10111080101010101         </Data>
            </Rec>
          </UPPYM>
          <UPPYMD1>
            <Rec>
              <Data>10000001POT1         500050NO0001500           </Data>
            </Rec>
            <Rec>
              <Data>10000001POT2         700050NO0001502           </Data>
            </Rec>
          </UPPYMD1>
        </BusinessData>
      </Body>
    </ns0:Envelope>
    Since the namespace is not follow xi format, how can i read and parse all the information using
    file adapter ?
    Thank you and Best Regards
    Fernand

    You can parse all the information in the XML file/Flat file by using JAVA mapping by using DOM / SAX Parser.
    /people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-i
    /people/rahul.nawale2/blog/2006/07/18/java-mapping-an-alternate-way-of-reading-a-csv-file
    /people/carlosivan.prietorubio/blog/2007/12/21/implementing-a-java-mapping-in-sap-pi
    /people/alessandro.guarneri/blog/2007/03/25/xi-java-mapping-helper-dom

  • How to add mulitple namespace in xml

    Hi,
    I have this output xml:
    <?xml version="1.0" encoding="utf-8" ?>
    - <E24B:E24B_Update_MachineCards_001 xmlns:E24B="urn:E24B_UpdateMachineCards_001">
    - <E24B:DataArea>
    - <E24B:UpdateMachineCards>
    - <E24B:Machine>
    - <E24B:Component>
      <f:ComponentSerNo xmlns:f="urn:fields">000000000000000456</f:ComponentSerNo>
      <f:ComponentType xmlns:f="urn:fields">108</f:ComponentType>
      </E24B:Component>
    - <E24B:Market>
      <f:FinalMarket xmlns:f="urn:fields">TR</f:FinalMarket>
      </E24B:Market>
      <f:SalesModel xmlns:f="urn:fields" />
      <f:SerialNo xmlns:f="urn:fields">000000000000000456</f:SerialNo>
    - <s:CntrolArea xmlns:s="urn:segments">
    - <s:Bsr>
      <s:Noun>Machine Card</s:Noun>
      <s:Verb>UPDATE</s:Verb>
      </s:Bsr>
    - <s:DateTime>
      <s:Dt_Qualifier>Creation</s:Dt_Qualifier>
      <s:Dt_Value>20111207</s:Dt_Value>
      <s:TimeZone>7200</s:TimeZone>
    But this content is wrong.
    The expected  content should be as follows:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <E24B:E24B_Update_MachineCards_001 xmlns:E24B="urn:E24B_UpdateMachineCards_001" xmlns:f="urn:fields" xmlns:s="urn:segments"  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    - <s:CntrolArea>
    - <s:Bsr>
      <s:Verb>Update</s:Verb>
      <s:Noun>Machine Card</s:Noun>
    Also xml content need to have multiple namespace. Can you help me please?
    Nurhan

    I used for target external definition and for  prefix (E24B  , f , s, instead of ns0, ns1..) i added module "AF_Modules/XMLAnonymizerBean".
    My source xml from  is
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_Machine_Update xmlns:ns0="http://xxx.com/MachineUpdate">
       <ControlArea>
          <Bsr>
             <Verb>13</Verb>
             <Noun>32</Noun>
          </Bsr>
          <Sender>
             <LogicalId>34124</LogicalId>
             <ReferenceId>124</ReferenceId>
          </Sender>
          <DateTime>
             <Dt_Qualifier>42</Dt_Qualifier>
             <Dt_Value>214</Dt_Value>
             <TimeZone>14</TimeZone>
          </DateTime>
       </ControlArea>
       <DataArea>
          <UpdateMachineCards>
             <CompanyCode>4325</CompanyCode>
             <CompanyName>325</CompanyName>
             <ManufacturerCode>352</ManufacturerCode>
             <ManufacturerName>53</ManufacturerName>
             <Machine>
                <SalesModel>24</SalesModel>
                <SerialNo>352</SerialNo>
                <EnvironmentCode>53</EnvironmentCode>
                <Market>
                   <FinalMarket>24</FinalMarket>
                   <NewCompanyCode></NewCompanyCode>
                </Market>
                <Component>
                   <ComponentType>23</ComponentType>
                   <PartNo>35</PartNo>
                   <Model>35</Model>
                   <ComponentSerNo>352</ComponentSerNo>
                </Component>
             </Machine>
          </UpdateMachineCards>
       </DataArea>
    </ns0:MT_Machine_Update>
    The output should be as follows:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <E24B:E24B_Update_MachineCards_001 xmlns:E24B="urn:E24B_UpdateMachineCards_001" xmlns:f="urn:fields" xmlns:s="urn:segments" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    - <s:CntrolArea>
    - <s:Bsr>
      <s:Verb>Update</s:Verb>
      <s:Noun>Machine Card</s:Noun>
      </s:Bsr>
    - <s:Sender>
      <s:LogicalId>CWL</s:LogicalId>
      <s:ReferenceId>2006-03-21T12:26:33</s:ReferenceId>
      </s:Sender>
    - <s:DateTime>
      <s:Dt_Qualifier>Creation</s:Dt_Qualifier>
      <s:Dt_Value>2006-03-24T14:29:46</s:Dt_Value>
      <s:TimeZone>+02:00</s:TimeZone>
      </s:DateTime>
      </s:CntrolArea>
    - <E24B:DataArea>
    - <E24B:UpdateMachineCards>
      <f:CompanyCode>428003</f:CompanyCode>
      <f:CompanyName>VOLVO ÉPÍTÕGÉPEK HUNGÁRIA KERESKEDELMI KFT.</f:CompanyName>
      <f:ManufacturerCode>CWL</f:ManufacturerCode>
      <f:ManufacturerName>VOLVO COMPACT W</f:ManufacturerName>
    - <E24B:Machine>
      <f:SalesModel>L45</f:SalesModel>
      <f:SerialNo>19521</f:SerialNo>
      <f:CurrentDate>20060323</f:CurrentDate>
    - <E24B:Market>
      <f:FinalMarket>HU</f:FinalMarket>
      </E24B:Market>
    - <E24B:Component>
      <f:ComponentType>17</f:ComponentType>
      <f:PartNo>11305947</f:PartNo>
      <f:ComponentSerNo>G070910121</f:ComponentSerNo>
      </E24B:Component>
    - <E24B:Component>
      <f:ComponentType>66</f:ComponentType>
      <f:PartNo>2814557</f:PartNo>
      <f:ComponentSerNo>100710021</f:ComponentSerNo>
      </E24B:Component>
      </E24B:Machine>
      </E24B:UpdateMachineCards>
      </E24B:DataArea>
      </E24B:E24B_Update_MachineCards_001>
    Thanks for your help

  • I am connecting an external USB HDD and I can see it on my Apple Macbook Air. BUT this drive is READ only. How can I write to it?

    I am connecting an external USB HDD and I can see it on my Apple Macbook Air. BUT this drive is READ only. How can I write to it?

    Drive Partition and Format
    1.Open Disk Utility in your Utilities folder.
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Click on the Options button, set the partition scheme to GUID then click on the OK button. Set the format type to Mac OS Extended (Journaled.) Click on the Partition button and wait until the process has completed.
    4. Select the volume you just created (this is the sub-entry under the drive entry) from the left side list. Click on the Erase tab in the DU main window.
    5. Set the format type to Mac OS Extended (Journaled.) Click on the Security button, check the button for Zero Data and click on OK to return to the Erase window.
    6. Click on the Erase button. The format process can take up to several hours depending upon the drive size.
    Steps 4-6 are optional but should be used on a drive that has never been formatted before, if the format type is not Mac OS Extended, if the partition scheme has been changed, or if a different operating system (not OS X) has been installed on the drive.

  • How to add external library in class path folder for use in Java call-out?

    Hi,
    I am working with Java callout component in OSB 12c using Jdeveloper.
    Thing is Jar what i am using to perform conversion of json to xml that using external libraries.
    When i have give reference of my project jar to java callout it doen't found external libraries.
    Could you please tell me how to add external libraries in class path folder or How to use to add it through web-logic server ?
    Thanks,
    Pavan

    Hi,
    Thanks, I have solved issue.
    We can add on following path in windows pc:
    C:\Users\your_usename\AppData\Roaming\JDeveloper\system12.1.3.0.41.140521.1008\DefaultDomain\lib
    One you add your external lib here then do restart weblogic server instance.
    Now, you have that external lib or jar in use.
    Cool!

  • How to add dimension in dimension_values.csv and schema.csv file

    How to add  one dimension in dimension_values.csv and schema.csv file

    I'm not sure on the equation Ventzo, so please tell me if I've got this wrong.
    This should create a text file on the desktop with a name of the folder you are in plus the time.
    #target bridge
    if( BridgeTalk.appName == "bridge" ) { 
    var quadDetails = MenuElement.create("command","Get  Quadrature", "at the end of Tools","QuadDetails");
    quadDetails .onSelect = function () {
    var file = new File(Folder.desktop +"/" + decodeURI(Folder(app.document.presentationPath).name) + time() +".txt");
    file.open("w", "TEXT", "????");
    $.os.search(/windows/i)  != -1 ? file.lineFeed = 'windows'  : file.lineFeed = 'macintosh';
    file.open('w');
    var sels = app.document.selections;
    for(var a in sels){
    var myThumb = new Thumbnail( sels[a]);
    var Resolution = myThumb.core.quickMetadata.xResolution;
    if(Resolution == 0) Resolution = 72;
    var CM = Resolution /2.54;
    var m = CM*100;
    var Height = (myThumb.core.quickMetadata.height/m);
    var Width = (myThumb.core.quickMetadata.width/m);
    file.writeln(decodeURI(sels[a].spec.name) + " - " +(Height * Width).toFixed(4));
    file.close();
    alert(decodeURI(file.name) + "  Has been created on the Desktop");
    function time(){
    var date = new Date();
    var d  = date.getDate();
    var day = (d < 10) ? '0' + d : d;
    var m = date.getMonth() + 1;
    var month = (m < 10) ? '0' + m : m;
    var yy = date.getYear();
    var year = (yy < 1000) ? yy + 1900 : yy;
    var digital = new Date();
    var hours = digital.getHours();
    var minutes = digital.getMinutes();
    var seconds = digital.getSeconds();
    var amOrPm = "AM";
    if (hours > 11) amOrPm = "PM";
    if (hours > 12) hours = hours - 12;
    if (hours == 0) hours = 12;
    if (minutes <= 9) minutes = "0" + minutes;
    if (seconds <= 9) seconds = "0" + seconds;
    todaysDate = "-" + hours + "_" + minutes + "_" + seconds + amOrPm;
    return todaysDate.toString();

  • How to add Mac27" to existing home network? and read files on other PC computers (Window7)

    How to add Mac27" to existing home network? and read files on other PC computers (Window7).
    type of connection:
    All computer (PC & Mac) connect to router (ethernet or wireless), then connect to internet.
    condition:
    internet works fine on all computer (PC & Mac).
    existing 4 PC communicate well (share files & printers),
    my problem:
    can NOT add Mac into existing home network.
    I tried SYSTEM PREFERENCES, then NETWORK, then ......... several times
    could not make it work.
    pleas help.

    Ah, it looks like I should have read your title more carefully. Are the  files on the PCs that you want to share with your iMac in a shared folder?
    If not, follow the steps on this page to set up shares from Windows 7.
    If that is already set up, connect to the share from the iMac using this article.

  • I mounted my external hard drive to a pc and now I don't have edit or write permissions on my Mac (read only). How do I get them back without erasing the drive?

    Hello all, I am a photographer and have my portfolio, edited and raw images backed up on a Seagate Free Agent External Hardrive. I mounted my external hard drive to a pc recently and now I don't have edit or write permissions to it on my Mac (read only). How do I get them back without erasing the drive and loosing my valuable work?

    If you re-format it you will lose all the data on it!!!!! So make sure you have backed up the drive or moved all the data on it to another external HD or the internal HD on your iMac.
    Below is an Apple Advice letter that explains how to format an external HD, it's written for Aperture but you can use the instructions to formate any external HD.
    http://support.apple.com/kb/HT3509

  • How to add an external editor in iPhoto

    how to add an external editor in iphoto

    In case you plan toi use Photoshop or Photoshop Elements as your external this may be of help to you.  The commends can apply to other editors that create layered files and save them with an extension other than .jpg.
    Using Photoshop or Photoshop Elements as Your Editor of Choice in iPhoto.
    1 - select Photoshop or Photoshop Elememts as your editor of choice in iPhoto's General Preference Section's under the "Edit photo:" menu.
    2 - double click on the thumbnail in iPhoto to open it in Photoshop.  When you're finished editing click on the Save button. If you immediately get the JPEG Options window make your selection (Baseline standard seems to be the most compatible jpeg format) and click on the OK button. Your done. 
    3 - however, if you get the navigation window
    that indicates that  PS wants to save it as a PS formatted file.  You'll need to either select JPEG from the menu and save (top image) or click on the desktop in the Navigation window (bottom image) and save it to the desktop for importing as a new photo.
    This method will let iPhoto know that the photo has been editied and will update the thumbnail file to reflect the edit..
    NOTE: With Photoshop Elements  the Saving File preferences should be configured as shown:
    I also suggest the Maximize PSD File Compatabilty be set to Always.  In PSE’s General preference pane set the Color Picker to Apple as shown:
    Note 1: screenshots are from PSE 10
    Note:  to switch between iPhoto and PS or PSE as the editor of choice Control (right)-click on the thumbnail and select either Edit in iPhoto or Edit in External Editor from the contextual menu. If you use iPhoto to edit more than PSE re-select iPhoto in the iPhoto General preference pane. Then iPhoto will be the default editor and you can use the contextual menu to select PSE for your editor when desired.
    OT

  • How can we validate a XML against his external schema XSD

    Hi;
    I use the XML library for create my XML file, I’m extracting the data
    from R3 and building the XML document.
    I wish to validate this document against his schema XSD built by third party (government organization) before i transfer this data (xml file)
    to the external entity.
    In my abap program:
    ¿How can i reach this validation level and if any
    error exists then how can i get or trap the detail information?
    this is a sample file XML with the external schema reference, as you can see in this part of the code.
    <?xml version="1.0" encoding="UTF-8" ?>
    - <Comprobante xmlns="http://www.sat.gob.mx/cfd/2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sat.gob.mx/cfd/2 http://www.sat.gob.mx/sitio_internet/cfd/2/cfdv2.xsd" version="2.0" serie="A" folio="0000238" fecha="2006-09-01T19:32:03-05:00" sello="o4kAzhytaTKThSk9tbTQGg5OGacAltWZwxQPZuMg1XhfjMq5jJ0GyO7w2//bf8aTuHnbqwpkR7rIgIehGLy88Xb3Ck0EDsWZEAC1QUuqRq2iWKAnGQPS4l9s0QrJHt0Ziojjd0GQFek6BYXPdlmdTjLZ2x+J8ffYEGpIQZRB8=" noAprobacion="2755" anoAprobacion="2006" formaDePago="En una sola exhibicion" noCertificado="00001000000000806462" condicionesDePago="Neto a 30 días sin DPPP" subTotal="2531.99" descuento="0.00" total="2912.90" tipoDeComprobante="ingreso">
      <DomicilioFiscal calle="AVE. UNIVERSIDAD" noExterior="992 NTE." colonia="COL. CUAUHTEMOC" municipio="SAN NICOLAS DE LOS GARZA" estado="N.L." pais="MEXICO
    We are using SAP R/3 46C
    Thanks in Advance for your help.
    Alejandro Pérez

    Hi, Alejandro
    Did you found something on SAP side in order to generated this XML.
    Currently I´m trying to find out some on SAP but nothing at this moment.
    The company that I´m working needs to implement "Factura Electonica" also.
    Probably we will use external broker to do this for us, and we will send just Idoc to the broker.
    Please, let me know your progress on SAP side.
    Regards, Fabio

  • Oracle BPM 11g  workspace: how to add a link to an external ADF app?

    Hi all,
    I have a process for which all the data is persisted in the db, and for Human tasks, I use ADFBC component.
    For an existing instance, I would like to provide a link access (available from the workspace) to users (with right privileges) to be able to update some data ...
    I thought implementing a new process with an Initiator HT...but this means, any time a user click the link, it will generate an new instance...
    Then I thought maybe it will be easier to just implement a new ADF application to update my process data using ADF BC...
    but once the application is deployed... I need to provide an access link to users from the workspace????
    how can I do this?
    Globally, how to add an external link to an ADF app from the workspace application.
    Thank you.

    Were you able to achieve this . Maybe this can help -
    Check hbuelow's reply @ Unable to see the application in BPM Workspace for Sales Quote tutorial
    Edited by: Sudipto Desmukh on May 9, 2012 7:02 PM

Maybe you are looking for