LSX-00344: namespace  values differ

Hello
I’am trying to implement a repository for LOM metadata (imsproject.org), the main schema imports from this one (only showing relevant parts) :
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema targetNamespace="http://www.w3.org/XML/1998/namespace"
xmlns:xsd=http://www.w3.org/2001/XMLSchema elementFormDefault="unqualified" version="1.1">
     <xsd:annotation>
          <xsd:documentation>In namespace-aware XML processors, the "xml" prefix is bound to the namespace name http://www.w3.org/XML/1998/namespace.</xsd:documentation>
          <xsd:documentation>Do not reference this file in XML instances</xsd:documentation>
     </xsd:annotation>
     <xsd:attribute name="lang" type="xsd:language">
          <xsd:annotation>
               <xsd:documentation>Refers to universal XML 1.0 lang attribute</xsd:documentation>
          </xsd:annotation>
     </xsd:attribute>
</xsd:schema>
The main then schema imports the "http://www.w3.org/XML/1998/namespace" namespace (also a simplified version):
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema targetNamespace="http://www.imsglobal.org/xsd/simple" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xdb="http://xmlns.oracle.com/xdb"
xmlns="http://www.imsglobal.org/xsd/simple" elementFormDefault="qualified" version="1.2">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://nautilus:8080/home/DEV/xsd/ims_xml.xsd"/>
These two schemas are registered, but when I try to validate an instance, an error is raised:
DECLARE
v_xml XMLTYPE;
BEGIN
v_xml := XMLTYPE.createXML('<lom
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.imsglobal.org/xsd/simple"
xsi:noNamespaceSchemaLocation="http://nautilus:8080/home/DEV/xsd/simple.xsd">
<description> <langstring xml:lang="en">Metadata is information about an
object, be it physical or digital. As the number of objects grows
lack of information or .</langstring> <langstring xml:lang="nl">Metadata is informatie over een object. Het kan hierbij gaan om. </langstring></description>
</lom>','http://nautilus:8080/home/DEV/xsd/simple.xsd');
v_xml.SchemaValidate();
END;
ERROR at line 1:
ORA-31154: invalid XML document
ORA-19202: Error occurred in XML processing
LSX-00344: namespace values "http://www.imsglobal.org/xsd/simple" and "" differ
ORA-06512: at "SYS.XMLTYPE", line 333
ORA-06512: at line 17
Reading the info on this error it says:
“Cause: The targetNamespace specified in the schema document differed from either:”
1)     “The value of the namespace attribute identified in the import element information item.”
I think it’s not the problem:
<xsd:schema targetNamespace="http://www.w3.org/XML/1998/namespace"
xmlns:xsd=http://www.w3.org/2001/XMLSchema elementFormDefault="unqualified" version="1.1">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://nautilus:8080/home/DEV/xsd/ims_xml.xsd"/>
2)     The value of the enclosing schema's namespace attribute
<xsd:schema targetNamespace="http://www.w3.org/XML/1998/namespace"
xmlns:xsd=http://www.w3.org/2001/XMLSchema elementFormDefault="unqualified" version="1.1">
Here is the problem and questions,
I have tried with no success (in ims_xml.xsd ):
xmlns:xml="http://www.w3.org/XML/1998/namespace
xmlns="http://www.w3.org/XML/1998/namespace
The question is: Both schemas must be of the same targetNamespace?
Any help is welcome
Thanks in advance
Mario Garcia

Playing around with XMLSpy, I created this doc, and with the auto-generated attributes worked fine.
But in XMLSpy the first document also worked.
<?xml version="1.0" encoding="UTF-8" ?>
- <lom xmlns="http://www.imsglobal.org/xsd/simple" xmlns:xdb="http://xmlns.oracle.com/xdb" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.imsglobal.org/xsd/simple http://nautilus:8080/home/DEV/xsd/simple.xsd">
- <description>
<langstring xml:lang="en">What's UP?</langstring>
<langstring xml:lang="es">¿Que onda?</langstring>
</description>
</lom>

Similar Messages

  • Remove XML namespace value

    Hi,
    We are using file adapter to generate XML files based on XSD.
    We have a requirement were we need to remove to xml namespace value from the XML file generated by BPEL file adapter.
    Following is the snippet of the xml file generated :
    <?xml version="1.0" ?>
    <Consignment xmlns="http://targetnamespace.com/RSA/Consignment">
    <Details xmlns="">
    <Client>RENZA</Client>
    </Details>
    </Consignment>
    I dont want the xmlns="http://targetnamespace.com/RSA/Consignment".
    or atleast it should be just xmlns="" similar to what i have got in Details tag
    Thanks in advance
    Satish

    I tried removing the target namespace as well in the XSD, but the compiler complains.
    Tried removing it before deployment and it also failed.
    Is there any other place where i can specific some values to suppress this namespace generation ?
    Thanks
    Satish

  • ORA-28267: Invalid NameSpace Value Using DB Link

    Hi ,
    Getting the
    ORA-28267: Invalid NameSpace Value
    RA-02063: preceding line from dblink12
    I am trying to access the dblink through a datasource and I am using a managedBean in session scope to do it.
    The code for accessing db link through managed bean is ,
    Connection con = new ConnectionHandler().getConnection();
    String sql = " select name from table@dblink12";
    Statement stmt = null;
    ResultSet rs = null;
    String retValue = null;
    try
    stmt = con.createStatement();
    rs = stmt.executeQuery(sql);
    SelectItem item = null;
    if (rs.next()) {
    retValue = rs.getString("name");
    finally
    ConnectionHandler.close(rs, stmt, con);
    System.out.println("retValueARU: " + retValue);
    It works when I am trying to run through jDeveloper but not in the standalone weblogic installation.
    Any help will be appreciated.
    Thanks

    Thank you for your kindly answer,
    I forgot to say that oracle agent it's a standalone Oracle agent configured as in OBE documentation to run on port 20910 (and it's working)
    OraclediAgent it's an ODI JEE agent running on port 8001 (and it's generating the Invalid NameSpace Value error but only for the interface SQL_as_Source and with the dblink inside the query).
    Antonio

  • Invalid NameSpace Value when Using DB Link

    I am receiving the following error within apex when I try to access data across a database link:
    failed to parse SQL query:
    ORA-28267: Invalid NameSpace Value
    ORA-02063: preceding line from DB_LINK
    When I access the same data using a database tool like Toad, I do not get the error.
    We are using:
    Apex 4.0.1
    Clustered WebLogic 10.3.4
    APEX_LISTENER_VERSION     1.0.2.238.15.24
    Database information
    CORE 11.2.0.1.0 Production
    NLSRTL Version 11.2.0.1.0 - Production
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    TNS for IBM/AIX RISC System/6000: Version 11.2.0.1.0 - Production
    I have a different database link that works just fine, the only difference between the db links that I know of is that the one with the error has select/insert/update/delete and the one that works has select only.
    Has anybody ever seen this?
    Thanks,
    Michelle

    Carl,
    Ok. Here's the results. Using a PL/SQL region with the function throws the same error (string buffer too small).
    So I checked the length of company_name and the longest string value is 47.
    Then I checked the _XL function and got the same error.  This is even showing in SQL Workshop's SQL Commands.
    SELECT APEX_ITEM.SELECT_LIST_FROM_QUERY_XL(
    1,
    company_num,
    'SELECT company_num, company_name FROM pmd.company@CORP'
    FROM pmd.company@CORP
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    Thank you,
    Ben

  • Value Diff in MIGO 101 and 122

    Hi,
    Can anybody tell me what reason will be value diff in accounting doc. in Mvt 101 and 122 ?
    Anil

    Hi,
    for 101, it is reference to PO
    GR/IR Clearing Accout          Cr
    Stock Acct                             Dr
    For 122, return to vender..it is ref to material Doc created for GR w r t PO
    GR/IR Accout                     Dr
    Stock Acct                          Cr
    Regards,
    Pardeep malik

  • How OPP concurrent manager actual & target values differ?

    Hi
    How come OPP concurrent manager actual (6) & target (3) values differ? What causes this to change? Where as work shifts>parameter values also did not change (oracle.apps.fnd.cp.opp.OPPServiceThread:2:0:max_threads=10).
    Any tip.
    Regards
    Arizuddin

    Hi,
    Please see whether the following docs applies to you:
    - Number Of Output Post Processing (OPP) Processes Started Are Higher Than The Target [ID 1515086.1]
    - Output Post Processor Actual Process Is 3 And Target Process Is 4 [ID 1378575.1]
    And also see the following links as it is discussed before:
    differnce in actual and target process-concurrent
    Concurrent managers are not starting & Actual/Target count is not same
    concurrent manager actual and target different
    Hope this helps
    Regards,

  • PO and iV value diff

    Dear friends,
    I need to know
    where we are defining the tol between gr value and IV value.
    Assume PO value is 1000 and IV is 1050
    how the system will accept this?
    Is it possible to make this for all vendor or individually ?
    pl reply
    guru

    Hi,
    If The Material is maintained with MAV then Material Account will Trigger..
    and if the Material is having Standarad price then Price diff Account will trigger (PRD)
    If it is Standard price..
    Account
    K
    Vendor --- -
    1050 INR
    S -
    Goods Rcvd/Invoice Rcvd -
    1000 INR
    S -
    Income from price differences of own goods ---50 INR
    If The Price is MAV
    Account
    K
    Vendor --- -
    1050 INR
    S -
    Goods Rcvd/Invoice Rcvd -
    1000 INR
    M -
    Material Deasription ---50 INR
    Thx
    Raju

  • WIP report and WIP gl value differ

    Dear all,
    When I execute KKAO report for a particular month, the WIP values for some orders differ from the WIP Gl Balance for the particular period.
    Please suggest me why this difference occurs?
    Thanks & Regards,
    A.Anandarajan.

    Hi Dasuni ,
    As you might be aware , whatever results the system computes for Work in Process for partially delivered orders and for Variances for fully delivered orders are posted to Financial Accounting using Settlement. If you look at the Production order settlement rule , you will have PER and FUL settlement rules described wherein if in one specific period , you do not settle the order , the same may be settled in the next period by virtue of the FUL indicator. So, in your case , it is a clear indication that one such orders was not settled during May but was settled during June. That is what apparently I can make out of this.
    Regards,
    Venkat.

  • CMYK values differ from PhotoShop

    Why are the CMYK values for a given RGB color differ in kuler
    from those generated by PhotoShop? What color profiles is Kuler
    referencing?
    note: I am using the default North America General Purpose 2
    settings in PhotoShop CS3, which references sRGB IEC61966-2.1 and
    U.S. Web Coated (SWOP) v2.
    example: r19 g61 b141 = c87 m57 y0 k45 in kuler and c100 m89
    y13 k1 in PhotoShop.

    HI, see if this discussion on Kuler and
    color
    management addresses your question.

  • ORA-28267: Invalid NameSpace Value after upgrade to 11.1.1.5

    Hi Guys,
    So after we upgraded to 11.1.1.5 to fix an issue which effected 6 out of our 350 source tables in interfaces, we've hit a problem now which is effecting all 350 interfaces.
    We are using a dblink from our 11.2.0.2 DWH to a 10.2.0.2 source database. When ODI goes to load the target table (reading from a C$_ collection view with the db link in it) Im hitting ORA-28267: Invalid NameSpace.
    A little digging suggests it might be down to the jdbc driver.
    In my 11.1.1.3 install I see this :
    /oracledi/agent/drivers/ojdbc6.jar
    in my 11.1.1.5 install I see this :
    oracledi/agent/drivers/ojdbc6dms.jar
    I've tried the obvious of renaming the ojdbc6dms.jar to a backup and copying in the 11.1.1.3 driver ojdbc6.jar in in its place but I see no change (restarted agent)
    Can anyone suggest anything ? Do I need to start messing with classpaths in odiparams.sh ?
    I have logged an SR already, waiting to jump through the usual hoops before I start getting suggestions.
    Thanks in advance,
    Alastair

    OK I swapped out 4 occurances of the driver :
    11gODI/modules/oracle.jdbc_11.1.1/ojdbc6dms.jar
    11gODI/odi_misc/ojdbc6dms.jar
    11gODI/oracledi/agent/drivers/ojdbc6dms.jar
    11gODI/oracledi/client/jdev/extensions/oracle.odi.navigator/lib/ojdbc6dms.jar
    with the ojdbc6.jar from the 11.1.1.3 install ( I got mine here : /oracledi/agent/drivers/ojdbc6.jar )
    And it seems to be working fine now.

  • Sales order net value and invoice net value differ

    Hi Gurus,
    i placed  sale order 03/08/2009 the net value of the order is 30000 USD, the same day i have done some price modification (manually i entered the header condition with value of 50 USD) after entering the header condition sales order net values is showing 50 USD. then delivered and invoiced. in the invoice net value is showing 30000 USD. my requirement is the invoice also has to show the 50 USD only. why it is not showing the sales order net value? is there any setting need to be done  regarding this problem?
    Thanks in advance

    i changed the pricing type as D
    From your comments, I presume in copy control, a different alpha value would have been maintained and with that settings, sale order, delivery and billing were generated.
    What I would suggest you is that you create a sale order once again for the same customer and 5 materials, make same changes in pricing, do PGI and billing.  See how it works.
    thanks
    G. Lakshmipathi

  • Global color values differ between palettes and when converted (Adobe Illustrator)

    I have a swatch file with a bunch of global colors inside. When converting the global color to editable RBG in the Color palette, the values are correct. However, if I use the Eyedropper and sample the color, then double-click the boxes in the Tool Palette or Color Palette, the values are completely different. When the colors don't have the 'global' setting checked this doesn't happen. Does anyone know why?
    A lot of people are going to use this swatch file, and likely will use Eyedropper to select like colors, and with some peoples' workflow it's likely these incorrect values will creep in.

    philwiles wrote:
     ... my eps logo ..
    Why are you using EPS? It is kind of outdated format these days.
    EPS  does not support color profiles. The default Save as EPS options in Illustrator include CMYK conversion which changes the values. To avoid this uncheck "Include CMYK Post Script" in the save options. Then when you open the file in Photoshop the RGB  values will be the same and if you want it displayed the same, in Photoshop choose Edit > Assign Profile and choose the same profile - Adobe RGB in your case. The color settings in Photoshop will have no effect and can remain unchanged.
    If you do that using the same computer the colors will be identical in values and appearance. If you do it on different computers the values will be the same and the color appearance will depend on if both computers have been calibrated to display colors accurately.

  • Calculating based on a previous value when initial column values differ from the rest

    Let me preface this by saying I am new to the BO world. I'm trying to build a report/chart that tracks incoming loads. The first supply on hand value is pulled from the database and each successive supply on hand is based on the previous row's values.
    In the supply arriving column below, the iniital value differs from the rest using the formula:
         =If [Row Number]=1 Then [First Supply Arriving] Else [Supply Arriving]
    The supply on hand uses the same idea, but is where I'm running into problems. The first column value should be [Supply On Hand], easy enough. Each successive column value needs to follow this equation:
         Previous([Supply On Hand] (this won't always be [Supply On Hand] though, only for the second row essentially - problem 1) + Previous([Supply Arriving] (same as problem 1, where this is first supple arriving for the second row and then supply arriving moving forward) - [Usage Rate]
    If someone could help me in getting the calculation to pull the previous values correctly without making a ton of variables, I'd greatly appreciate it. We just upgraded to 4.1

    Yes, the supply on hand and the supply arriving from the previous row need added together. The usage rate, which is a constant is then subtracted from that. The result is the on hand total for the next day.
    For example:
    Date
    On Hand
    Arriving
    Usage Rate
    9/9/2014
    100,000
    250,000
    100,000
    9/10/2014
    250,000
    1,000,000
    100,000
    9/11/2014
    1,150,000
    0
    100,000

  • Qty value diff updation in mm

    hi friendss
    plzz help
    how  physical inventory differece ie both quanity and value  difference in year end adjusted in  mm

    Hi
    The physical inventory procedure is carried out in three steps:
    1. Creating a Physical Inventory Document
    2. Entering the Physical Inventory Count
    3. Posting inventory differences
    You can also group together individual phases and carry them out in a single step, as follows:
    ·        posting the physical inventory count without reference to a physical inventory document
    In this step, the following are combined:
    – a physical inventory document is created.
    – the count is posted.
    ·        posting the physical inventory count and inventory differences
    If a physical inventory document exists, the following are combined in this step:
    – the count is posted.
    – any inventory differences are posted.
    ·        posting the physical inventory count without reference to a physical inventory document
    In this step, the following are combined:
    – a physical inventory document is created
    – the count is posted
    – any inventory differences are posted
    in Physical inventory only Qty difference are adjusted which inturn will alter the Inventory Valuation.
    For Only vlaue changes of material yopu need to perform Material Price Change usin T. code MR21
    thanks & regards
    Kishore

  • GR Value differ to PO/IR

    Hello All
    Need assistance .PO is services PO with no Material master.PO value is 10000...IR values is 10000...but GR value is 10500
    How come the price variance of Rs 500 at the time of  Gr .And from where the system has taken the GR value as the Exchange rate in PO/GR/IR is same every where.
    could be great if anybody can let me know.
    CD

    Hi,
    Doesnt seem to be a conversion related issue since there is no materila master.
    If the exchange rate is the same then check if the quanity in GR is for the correct figure.
    also check the service entry sheet .. maybe you are missing a figure somewhere?
    Regards,
    Edited by: Akhilpuri on Sep 19, 2011 7:39 AM

Maybe you are looking for

  • How can I remove ALL of  iTunes as 8.2.023 is not identifying my iPhone

    I have spent days on this and other discussions trying to fix my unintentional update to iTunes 8.2.023. Apple was called and they could not resolve and were sent a few logs from Apple and Widow Diagnostics. They have now ignored recent email and pho

  • How to Watch VOD on an iPad

    I recently purchased the new iPad, downloaded the various Verizon apps (Verizon Fios, Media Manager, Fios Mobile) and can't seem to stream a movie to it. When I select a movie, all I can do is "Bookmark this title for quick access on your TV or compu

  • Soundtrack Pro has worked for months - suddenly it won't load

    I have been using Soundtrack Pro since I first installed Logic Studio last fall. Recently it wouldn't load. It says "the application Soundtrack Pro quit unexpectedly." I have no idea why this happened all of a sudden. I deleted all the plists and all

  • Can I twirl down (and up) a group of folders?

    Is there a way of selecting a bunch of folders in a column and then twirling all of them down but only one level in? Option+double click can open and close a group of folders and that would be more or less the idea but the windows are stacked on top

  • Upload images & database fields at the same time

    ASP VSBasic dreamweaver 8 I can browse & upload 2 images to the server using aspupload (browse to images click upload) I can populate the MYSQL database using text fields & recordset (enter data in fields press save to upload) I now need to work out