French character in schema object

I received an error message when tried to register an XML schema on Oracle 9.2.0.4.0 on AIX 5.1 platform. However it went all fine on Windows platform.
The XML file reads like this when opening up on Windows with Notepad:
<?xml version="1.0" encoding="utf-8"?>
<cibc:Lookup xml:lang="fr">L'�ge maximum a atteint</cibc:Lookup>
While opening up on Unix using VI command, it reads like:
<cibc:Lookup xml:lang="fr">L'�^�ge maximum a atteint</cibc:Lookup>^M
select * from NLS_DATABASE_PARAMETERS returns the following difference:
NLS_CHARACTERSET = WE8MSWIN1252 (Windows)
NLS_CHARACTERSET = WE8ISO8859P1 (AIX)
All other values are identical.
NLS_LANGUAGE AMERICAN
NLS_TERRITORY AMERICA
Does anyone know where to check?
Thanks,
Harry

Hi Harry
Are you registering the XML schema from the same client? If yes, try to register it from the server.
In fact if the character set of the client and the server are not the same you may have problems...
Another issue are characters that are part of your XML schema present in WE8MSWIN1252 but not in WE8ISO8859P1. According to the method you use to store the XML schema Oracle translate them in the database character set.
Chris

Similar Messages

  • Read Document in FileUtilities  cannot search a file with french character in the file name

    Hi,
    I am trying to search a file with french character in the file name like 'captures écran.doc' in my unix server directory, and Write the file somewhere, say in a list of documents or, write on file system to another directory.
    I am using to Read Document in FileUtilities of Foundation, but it cannot read the file due to french character in its name. Although it can find any other file name without these french characters.
    Tried renaming but that also cannot find the file with french character name.
    Please provide any idea to solve it using LC operation.
    Regards,
    Rohan Raj.

    Hi Thomas,
    Thanks for the post, but I have already found a solution to it a month ago. Sorry for not posting the solution.
    You just have to set the '-Djava.property.file.encoding=ISO8859-1' into JVM argument of your server startup, and bounce the server back to pick the new JVM arg set. And now the service Read Document in FileUtilities of Foundation will read all french characters.
    ISO8859-1refers to "Latin alphabet no. 1," consisting of 191 characters from the Latin script. This character-encoding scheme is used throughout The Americas,Western Europe, Oceania, and much of Africa. It is also commonly used in most standard romanizations of East-Asian languages.
    regards,
    Rohan Raj.

  • Not able to select the other schema objects mrtadata

    Hi,
    My function returns the matadata of a table (xml format) in the current schema but unable return output of another schema objects. I have the privileges of export full database, import full database and select_catalog_role also.
    It doesn't throw any error just throws empty xml.
    my code is...
    CREATE OR REPLACE FUNCTION TUNER.F_DBEG3(V_Schema VARCHAR2, V_Table VARCHAR2)
    RETURN XMLTYPE
    AS
    Handle NUMBER; --handle returned by OPEN
    V_First_Part XMLTYPE;
    V_Next_Part XMLTYPE;
    V_Output_Total XMLTYPE;
    V_Cnt NUMBER := 0;
    BEGIN
    DBMS_OUTPUT.PUT_LINE('START THE PROGM');
    Handle := DBMS_METADATA.OPEN('DATABASE_EXPORT');
    DBMS_OUTPUT.PUT_LINE('Open the handle');
    DBMS_METADATA.SET_COUNT(HANDLE, 1000);
    DBMS_METADATA.set_filter (Handle, 'INCLUDE_PATH_EXPR', '=''TABLE''');
    DBMS_METADATA.SET_FILTER(Handle,'NAME', V_Schema,'SCHEMA');
    DBMS_METADATA.SET_FILTER(Handle,'NAME', V_Table,'TABLE');
    DBMS_OUTPUT.PUT_LINE('Filter the required objects');
    LOOP
    DBMS_OUTPUT.PUT_LINE('Start the loop');
    DECLARE
    no_mvlog exception;
    pragma exception_init( no_mvlog, -31608 );
    BEGIN
    V_First_Part := DBMS_METADATA.FETCH_XML(Handle);
    EXCEPTION
    WHEN no_mvlog THEN
    EXIT;
    DBMS_OUTPUT.PUT_LINE ('No mv log');
    END;
    IF V_First_Part IS NOT NULL THEN
    DBMS_OUTPUT.PUT_LINE('First Count is '|| v_cnt);
    DBMS_OUTPUT.PUT_LINE('Into the process ');
    else
    DBMS_OUTPUT.PUT_LINE('Exit the loop ');
    exit;
    end if;
    IF V_Cnt = 0 THEN
    V_Output_Total := V_First_Part;
    DBMS_OUTPUT.PUT_LINE('track the metadata in xml form ');
    ELSE
    IF V_Cnt is not null and V_Cnt > 0 then
    SELECT EXTRACT(V_First_Part, '/ROWSET/ROW') INTO V_Next_Part FROM DUAL;
    SELECT APPENDCHILDXML(V_Output_Total,'/ROWSET',V_Next_Part) INTO V_Output_Total FROM DUAL;
    DBMS_OUTPUT.PUT_LINE('combining the child xml''s ');
    END IF;
    END IF;
    V_Cnt := V_Cnt +1;
    DBMS_OUTPUT.PUT_LINE(' Last Count is '|| v_cnt);
    END LOOP;
    DBMS_OUTPUT.PUT_LINE('converted into xml');
    return v_output_TOTAL;
    DBMS_METADATA.CLOSE(Handle);
    EXCEPTION
    WHEN NO_DATA_FOUND
    THEN
    RAISE_APPLICATION_ERROR (
    -20001,
    'Please check! ' || V_Table || ' not an object'
    WHEN OTHERS
    THEN
    DECLARE
    SQL_ERROR NUMBER := SQLCODE;
    SQL_ERRMESS VARCHAR2 (250) := SUBSTR (SQLERRM, 1, 200);
    BEGIN
    DBMS_OUTPUT.PUT_LINE (SQL_ERROR || 'Message : ' || sql_errmess);
    END;
    END;
    but when i use like below i got o/p.
    SELECT DBMS_METADATA.GET_XML('TABLE','ACT_RAP_T','EMACH') FROM DUAL;
    Please tell me where iam wrong.
    regards,
    Madhavi.

    Can you let me know is this problem for the components which are in containers only..
    Yes, as Charles said, the problem is for grouping/ungrouping in containers.  If you find otherwise, please let us know.
    <br>
    This problem you will be looking for next iteration, so is it going to be Service Pack or some Hot Fix..
    Is it possible for us to know the issues which will be looked for the next iteration so that we can know what are the issues current version has so that we have the good idea..
    Correct, it will be for Fix Pack 1 (size between a Service Pack and a Hot Fix).
    We don't have a list of issues.  I don't believe it's procedure to disseminate such information.  Usually we give the information on an individual issue basis.  For instance, this issue is slated for FP1.
    <br>
    Javier

  • Could not get schema Object:java.sql.SQLSyntaxErrorException ora-904

    All of a sudden I get
    Could not get schema Object:java.sql.SQLSyntaxErrorException: ORA-00904: "SYS"."O"."NAME": ongeldige ID
    when doing anything in the tables tree in the connections pane
    The only thing I set recently is pga_aggregate_target
    Environment
    Oracle 11.2.0.1
    OS Windows Vista Ultimate sp2
    Sql developer 2.1.1.64.39 with its own JDK
    As the download links on OTN are broken I can not upgrade, and I'd rather not work in command line sqlplus.
    Help!!!
    Sybrand Bakker
    Senior Oracle DBA

    My copy of sqldeveloper isn't located in that directory. Would that matter?
    In the mean time I have disabled filtering the tables node. Opening the tables node doesn't result in exceptions anymore.
    Now, when I click on any table in that node I get 4 identical ora-904 error messages for sys.o.name for any table.
    Apparently it is querying either the all_objects view and it thinks it is querying sys.obj$.
    I didn't yet enable sql_trace for the session, I'm more or less giving up on sqldeveloper. I can not use the space bar in any datagrid, sqldeveloper has always been extreemly unresponsive when navigating the schema browser (as opposed to Toad), etc, etc. Too bad I bought Sue Harpers book, but I think I will be de-installing sqldeveloper soon.
    Sybrand Bakker
    Senior Oracle DBA

  • Generation of XSD file from existing javax.xml.validation.Schema object

    Hi all.
    Is it possible to obtain the XML representation of Schema object - in other words, decompile it back to schema file, using standard API's?
    Greatly appreciate any inputs,
    Jabb

    Hi all.
    Is it possible to obtain the XML representation of Schema object - in other words, decompile it back to schema file, using standard API's?
    Greatly appreciate any inputs,
    Jabb

  • In 6.0 get error "END_OF_RECORD" must be a character-type data object .....

    Hi All,
    following piece of code was working fine in 4.6 C   but in ECC 6.0 I get the following error:
    "   "END_OF_RECORD" must be a character-type data object (data type C, N,D, T or STRING) .  " 
    I tried type-casting with field symbols but still not able to remove the error.  Cannot convert end_of_record directly to type C as it may hamper the functionality. Plz advice how to remove the error without converting type x to type C
    In the following code :
    DATA:  DELIMITER   TYPE C VALUE   CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB,
            end_of_record             TYPE x.
    SPLIT data_file_i AT delimiter INTO it_ekko-rtype
                                              it_ekko-ebeln
                                              it_ekko-bsart
                                              it_ekko-lifnr
                                              it_ekko-bedat
                                              it_ekko-ekorg
                                              it_ekko-ekgrp
                                              it_ekko-bukrs
                                              it_ekko-zterm
                                              it_ekko-zbd1t
                                              it_ekko-zbd1p
                                              it_ekko-zbd2t
                                              it_ekko-zbd2p
                                              it_ekko-zbd3t
                                              it_ekko-inco1
                                              it_ekko-inco2
                                              it_ekko-waers
                                              it_ekko-wkurs
                                              it_ekko-kufix
                                              it_ekko-verkf
                                              it_ekko-telf1
                                              it_ekko-ihrez
                                              it_ekko-unsez
                                              it_ekko-angnr
                                              it_ekko-ihran
                                              it_ekko-submi
                                              it_ekko-loekz
                                              end_of_record.
    where all these fields except  " end_of_record " are of character type and  "data_file_i " is a character type structure as defined below:
    DATA :
      BEGIN OF data_file_i OCCURS 0,
        record(1000),
      END OF data_file_i,

    Type X is not allowed in Unicode. When a field is declared as Type X with Value u201809u2019 or any other value, it can be resolved by using classes.
    Before Unicode
                      CONSTANTS: c_hex TYPE x VALUE '09'.
    Resolution:
    Itu2019s work for any value of x.
    First a temporary field of Type c should declare. Following class will convert Type x variable into type c.
    Example:
    CONSTANTS: c_hex TYPE x VALUE '09'.
    DATA: LV_TEMP TYPE STRING.
    DATA: LV_TMP TYPE C.
    TRY.
    CALL METHOD CL_ABAP_CONV_IN_CE=>UCCP
    EXPORTING
    UCCP   = c_hex
    RECEIVING
    CHAR   = LV_TMP   .
    CATCH CX_SY_CONVERSION_CODEPAGE.
    CATCH CX_PARAMETER_INVALID_TYPE.
    CATCH CX_SY_CODEPAGE_CONVERTER_INIT.
    ENDTRY.
    CONCATENATE I_OUTPUT-BKTXT I_OUTPUT-BVORG            
    I_OUTPUT-BUDAT I_OUTPUT-MESSAGE INTO
    SEPARATED BY LV_TMP.                      
    I_BUFFER = LV_TEMP.
    CLEAR LV_TEMP.
    CLEAR LV_TMP.
    OR
    Note: It works only for type x value  09.
    CLASS cl_abap_char_utilities DEFINITION LOAD.
    CONSTANTS: c_hex TYPE c VALUE
                             abap_char_utilities=>HORIZONTAL_TAB.

  • Problem with database schema objects in the entity object wizard

    Hi All,
    When creating a new entity object, I am facing a problem with database schema objects in the entity object wizard, database schema objects (check boxes for tables,synonyms...) are disabled. Actually I am using a synonym but I am not able to select the synonym check box.
    Can any of you folks tell me how to enable the database schema objects (check boxes for tables,synonyms...).
    Thanks in Advance.
    Raja.M

    Make sure your using rite version of jdeveloper..
    Make sure your using apps schema and check whether your able perform DML operations in the schema vis sql developer.
    --Prasanna                                                                                                                                                                                                                                                                                                                                                                           

  • Access schema objects without having to specify the user.

    I've just created a role in a schema and assigned some priveleges.Then I created a user and granted the role to it. But as the newly created user is not the owner of the schema when I say a simle select query like this:
    SELECT EMLOYEENAME FROM EMPLOYEES
    I get "table or view does not exist" error. Is there a way I can wirte refer to objects in this schema without having to indicate the owner. So instead of writing SCOT.EMPLOYEES I want to write just EMPLOYEES.

    >
    I get "table or view does not exist" error. Is there a way I can wirte refer to objects in this schema without having to indicate the owner. So instead of writing SCOT.EMPLOYEES I want to write just EMPLOYEES.
    >
    Create a public synonym for the object.
    CREATE PUBLIC SYNONYM EMP32 FOR SCOTT.EMP;Then you do not need to specify the schema.
    --- edited to add doc reference
    See CREATE SYNONYM in the SQL Language doc
    http://docs.oracle.com/cd/B28359_01/server.111/b28286/statements_7001.htm
    >
    CREATE SYNONYM Purpose
    Use the CREATE SYNONYM statement to create a synonym, which is an alternative name for a table, view, sequence, operator, procedure, stored function, package, materialized view, Java class schema object, user-defined object type, or another synonym. A synonym places a dependency on its target object and becomes invalid if the target object is changed or dropped.
    >
    Edited by: rp0428 on Apr 5, 2012 10:56 PM

  • Access to schema objects

    Guys,
    I am on 10g R2 and have this requirement.
    We refresh our QA environment from PROD every day ( exp/imp and schema refresh ). App team now have a requirement where by they want to create few objects including tables every day and load those tables with static data. This in a way doesn't need to be refreshed every day.. So, could place this in another schema. But we do not want to grant access on that schema to the user.
    Alternatively, we can get them to send the us a script, that can be run as POST refresh script on completion of the refresh. But this would mean that any changes to the script will involve us copying the file, which could be a hassle.
    I am wondering, if there is better way to handle this.. BTW, the app team do not have access to the database host and we don't plan to grant it either..
    What is the best alternative ?

    You can use DBMS_METADATA and EXECUTE IMMEDIATE
    SQL> create user u1 identified by u1;
    User created.
    SQL> create or replace type u1.type1 as object (a number, b date);
      2  /
    Type created.
    SQL> declare
      2  stat varchar2(32000):= dbms_metadata.get_ddl('TYPE','TYPE1','U1');
      3  begin
      4    execute immediate replace(stat,'"U1".','');
      5  end;
      6  /
    PL/SQL procedure successfully completed.
    SQL> desc type1
    Name                                                        Null?    Type
    A                                                                    NUMBER
    B                                                                    DATEYou can loop on all schema objects selected from dba_objecs to manage all objects with a single statement:
    SQL> create function u1.f1 return number is
      2  begin
      3    return 0;
      4  end;
      5  /
    Function created.
    SQL> declare
      2  stat varchar2(32000);
      3  begin
      4    for r in (select object_type, object_name from dba_objects where owner='U1') loop
      5      stat := dbms_metadata.get_ddl(r.object_type,r.object_name,'U1');
      6      dbms_output.put_line(stat);
      7      execute immediate replace(stat,'"U1".','');
      8    end loop;
      9  end;
    10  /
      CREATE OR REPLACE TYPE "U1"."TYPE1" as object (a number, b date);
      CREATE OR REPLACE FUNCTION "U1"."F1" return number is
    begin
      return 0;
    end;
    PL/SQL procedure successfully completed.
    SQL> desc f1
    FUNCTION f1 RETURNS NUMBER
    SQL> desc type1
    Name                                                        Null?    Type
    A                                                                    NUMBER
    B                                                                    DATEMax
    [My Italian Oracle blog| http://oracleitalia.wordpress.com/2010/02/07/aggiornare-una-tabella-con-listruzione-merge/]

  • Using XSDBuilder to build XML Schema objects

    I want to parse an XML document using an XML Schema Definition that I provide explicitly to the parser, rather than one identified in the document being validated. It appears that I can create an XML Schema object using XSDBuilder, and give it to the XML parser using XMLParser.setXMLSchema(). The problem is that XSDBuilder.build() wants an XSD system ID that is a file, and I want to retrieve XSD documents from non-file-based stores. Ideally, I'd like to give the builder a stream containing the XSD, or barring that, provide a custom entity resolver that it can use. Any ideas how to go about doing that? Or am I going about this the wrong way?
    Thanks for any advice,
    markl
    null

    Hi,
    I didn't test it wit XML Schema, but any parser that finds a system ID should call an implementation of EntityResolver that returns an InputSource for the system ID.
    An InputSource is a wrapper around an InputStream and its url and it ssystemID.
    An example for sun's parser is on http://www.s-line.de/homepages/gerd_castan/java/resolve.html
    (I "tested" this code also with oracles DTD and Schema parser. This means that I used this code for oracle, too, but I didn't go through the debugger to see what it does.)
    Cheers,
    Gerd

  • How can I get schema object in entityImpl class?

    Hi everybody,
    I want to get schema object name (name of DB table behind of entity) in my entityImpl class from ADF API. I tried this But I can't.
    please help me.
    with my best regards.

    try String s = this.getEntityDef().getSource();Timo

  • Non Schema Objects

    Hi ,
    i was going through oracle 10 g SQL documentation in which i read about non schema objects such as users, tablespace etc. could anyone please let me know how to query them .

    Dictionary views names are all stored in the DICT view.
    Dictionary views are divided in 4 main groups:
    DBA_ --> all objects of a given type
    ALL_ --> all objects of a given type accessible by the current user
    USER_ --> all objects of a given type owned by the current user
    V$ --> all objects of a given type that can change dinamically (also without an explicit user action)
    Tablespaces can be queried this way:
    Select * from dba_tablespacesUsers this way
    Select * from dba_usersMax
    [My Italian Oracle blog| http://oracleitalia.wordpress.com/2010/02/07/aggiornare-una-tabella-con-listruzione-merge/]

  • I need to create schema objects like OE,HR,SCOTT in existing ORACLE DATABASE INSTANCE

    I have oracle 9i installed and running.
    I need to create in existing Oracle Instance only few more schema.
    In instance we have schemas like SCOTT,OE,HR etc.,........
    How do I create my own schema object say PRODUCTS so that I can assign the required tables.
    has anyone has points and tips....
    please do send me the information
    thanks & regards
    Prakash

    Pl do not post duplicates - continue the discussion in your original thread - Re: Exp/Imp Database (DATA PUMP)

  • Error creating EO- The specified schema object is not an existng object

    hi,
    I am getting an error "The specified schema object is not an existing object .Please un check Exisiting Object or select an exisiting object" while creating an EO.
    Does any one knows how to get rid of it.
    Thanks,
    Murlai

    Hello
    Looks like this is an old thread, but since I had the same problem and figured it out, I though I'll share it here:
    What I figured is that in the Select Schema Object wizard, if I prefix the schema object with the schema name, then the attributes are fetched from the database. like this:
    dbo.employeeinstead of this:
    employeewhich is kind of strange because the schema is already mentioned in the database schema section and jdeveloper fills the object value after we choose it.
    Good luck

  • Creating EO: The specified schema object name is not an existing object.

    Hi Experts,
    I am Using Jdev 11.1.2.2
    I am connecting to Mysql DB, When am creating a EO with in the same schema, am getting following error:
    The specified schema object name is not an existing object. Unselect Existing Object or enter an existing schema object.in jdev
    If i unchecked the existing schema its creating empty eo, it is unable mapping the attributes. So how can resolve it.
    Pl help out me.
    Best Regards
    Bittu.

    try prefixing the objectName with the schemaName when you create the EO in mySQL , as mentioned at end of this thread -
    Error creating EO- The specified schema object is not an existng object

Maybe you are looking for

  • No Audio In After Effects CS5.5(Even after rendering)

    I currently have the After Effects CS5.5 Trial Version installed. I am running into a bad audio problem. For the first 2 days I have used it, the audio was fine, it played automatically and I didn't even have to render first to get it. Then, the thir

  • How to pair new Magic mouse w desktop? Old mouse is dead.

    How do I get my new Magic Mouse to pair w my old 2007 iMac? I don't have the old Mouse; when I bought the new one at the Apple Store they said they'd throw the old one away. So I gave it to them.

  • Optimum block size

    DBA should determine the optimum block size considering OS file system buffer size and database usage. WHY?

  • My Time Capsule is Working but the Yellow Light is Blinking

    My Time Capsule backs up wirelessly fine but it just started blinking the yellow light. I performed a back up and it went smoothly but the light still blinks. What do I do to stop it or is it there a problem?

  • Excise inv cancel

    Hai, how to cancel the excise invoice after MIRO and excise invoice posting. BSK