Can somebody help me to check my schema?

i registered the schema, but i still cannot add the xml documents into the tables.
I want to add the documents as a column, so that i can build some view tables after that.
the sample xml documents like this:
<ChineseGlossary xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="C:\hkliss\glossary\cglossary.xsd">
<ChineseExpression expression="工作天">
<EnglishExpression expression="business day" />
<Reference ChapterRef="4A" SectionRef="65, 第5(4)條規則" />
<SubExpression>
<ChineseSubExpression expression="工作天" />
<EnglishSubExpression expression="working day" />
<Reference ChapterRef="187" SectionRef="2A(2)(a)" />
</SubExpression>
</ChineseExpression>
<ChineseExpression expression="工作日">
<EnglishExpression expression="working day" />
<Reference ChapterRef="478" SectionRef="2(1)" />
</ChineseExpression>
<ChineseExpression expression="工作守則">
<EnglishExpression expression="code of practice" />
<Reference ChapterRef="51" SectionRef="2" />
</ChineseExpression>
</ChineseGlossary>
here is my schema:
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns.oracle.com/xdb" xdb:storeVarrayAsTable="true">
     <xs:element name="ChineseGlossary" type="ChineseGlossaryType"/>
     <xs:complexType name="ChineseGlossaryType">
          <xs:sequence>
               <xs:element name="ChineseExpression" type="ChineseExpressionType" maxOccurs="unbounded"/>
          </xs:sequence>
     </xs:complexType>
     <xs:complexType name="EnglishSubExpressionType">
          <xs:attribute name="expression" type="string_2000"/>
     </xs:complexType>
     <xs:complexType name="ChineseSubExpressionType">
          <xs:attribute name="expression" type="string_2000"/>
     </xs:complexType>
     <xs:complexType name="ChineseExpressionType">
          <xs:sequence>
               <xs:element name="EnglishExpression" type="EnglishSubExpressionType"/>
               <xs:element name="Reference" type="ReferenceType"/>
               <xs:element name="SubExpression" type="cSubExpressionType" minOccurs="0" maxOccurs="unbounded"/>
          </xs:sequence>
          <xs:attribute name="expression" type="string_2000"/>
     </xs:complexType>
     <xs:complexType name="ReferenceType">
          <xs:simpleContent>
               <xs:extension base="string_2000">
                    <xs:attribute name="ChapterRef" type="string_2000"/>
                    <xs:attribute name="SectionRef" type="string_2000"/>
               </xs:extension>
          </xs:simpleContent>
     </xs:complexType>
     <xs:simpleType name="string_2000">
          <xs:restriction base="xs:string">
               <xs:minLength value="0"/>
               <xs:maxLength value="2000"/>
          </xs:restriction>
     </xs:simpleType>
     <xs:complexType name="cSubExpressionType">
          <xs:sequence>
               <xs:element name="ChineseSubExpression" type="ChineseSubExpressionType"/>
               <xs:element name="EnglishSubExpression" type="EnglishSubExpressionType"/>
               <xs:element name="Reference" type="ReferenceType"/>
          </xs:sequence>
     </xs:complexType>
</xs:schema>
after i build the table with 1 field for the unique id, 1 field for the XMLType documents, error occurs like this:
INSERT INTO CGLOSSARY VALUES(1, XMLTYPE(bfilename('DATA','c-glossary00001.xml'),nls_charset_id('AL32UTF8')))
ERROR in line 1:
ORA-19007: SCHEMA - not expected
http://localhost:8081/public/hkliss/cglossary.xsd.
- 'DATA' in the insert statement above is the link where the XML documents stored.
can anyone help me?
Message was edited by:
user551705

Your schema location hint is incorrect in the instance document
C:\hkliss\glossary\cglossary.xsd
should be the value of the SchemaURL used when registering the XML Schema

Similar Messages

  • Can somebody help me to figure out my program

    can somebody help to to check and correct my coding. There is Run Time Error message when I compile it... the error is at the line " input = Keyboard.readInt(); " plss help ... :(
    import cs1.Keyboard;
    public class error
    public static void main(String args[])
        int i=0;
        String input;
        boolean nameIsNumber = true;
        System.out.println("Enter your name : ");
        input = Keyboard.readInt(); // <-- Error at here..
        try
           i = Integer.parseInt(input);
        catch(Exception e)
           System.out.println("Error....");
           nameIsNumber = false;
        if(nameIsNumber)
           System.out.println("Name is Number");
          Thanks in advance

    Strike that... Not thinking far enough down the 'illogicality index'....
    The reason you get a Compile time error (not a runtime error) is that I'm guessing Keyboard.getInt() returns an int and you are assigning it to a string...
    you want something like this
    import cs1.Keyboard;
    public class Error {
      public static void main(String args[]) {
        String input;
        int inputValue;
        boolean nameIsNumber;
        System.out.print("Enter your name: ");
        input = Keyboard.getString();
        try {
          inputValue = Integer.parseInt(input);
          nameIsNumber = true;
        } catch(Exception e) {
          nameIsNumber = false;
          inputValue = 0;
        if(nameIsNumber) System.out.println("Name is Number");

  • I am new with iMac and I am trying to copy some file from my external HDD but it does not let me also I can't delete anything from this HDD using the finder. Can somebody help me , please?

    I am new with iMac and I am trying to copy some file from my external HDD that a used with my PC but it does not let me also I can't delete anything from this HDD using the finder. Can somebody help me , please?

    No, unfortunately, when you format a drive, it will erase all the contents. So you will need to find a temporary "storage" place to put the stuff using a PC so you have access to it. Then reformat using Disk Utility (Applications > Utilities). If only using with mac, format Mac OS Extended (Journaled) and use GUID Partition scheme under Partitions/Options. After formatting, you can drag the files back.

  • After done the Mavericks update from Mountain Lion, I can't no more extend my applications to the second screen. Can somebody help me ??

    After done the Mavericks update from Mountain Lion, I can't no more extend my applications to the second screen. Can somebody help me ??

    Check here:
    System Preferences > Mission Control > uncheck Displays have separate Spaces > Log Out ( >Log Out <user>) > Log back in

  • HT1491 I am trying to reset my security questions and I am not getting any reset email. Can somebody help me?

    I am making my first purchase on iTunes and since it is my first purchase, the security questions were asked.  I forgot the answers to the security questions and requested for an email to reset my answers. It has been three days now and I still haven't received any email. Can somebody help me?

    If you aren't getting the email, and you've checked the spam folder on your rescue email account as well as the inbox, then you could try contacting iTunes Support or Apple to get the questions reset.
    e.g. you can try contacting iTunes Support : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Account Management , and then 'Forgotten Apple ID security questions'
    or try ringing Apple in your country and ask to talk to the Accounts Security Team : http://support.apple.com/kb/HE57

  • I encountered a problem when using Flash Player V9.0.115, can somebody help me?

    Hello all, can somebody help me?
    I have encountered a problem when using Flash Player
    V9.0.115. Your help would be greatly appreciated.
    The problem described as follows:
    1. The flash file with sound works well before uploaded to
    website. The audio lost when uploaded to the website(There is no
    problem with the flash file size). I have uploaded the flash file
    to website for you to test. Please go to
    http://www.sameshow.com/democreator/create
    a new site.swf and kindly check with it.
    2. When we open the flash movie in IE with Flash player
    V9.0.47 and previous versions (Flash9d.ocx), the flash movie with
    sound works well.
    3. When we upgrade the flash player to the latest version
    V9.0.115 (Flash9e.ocx), the video works well, but the sound just
    can play several seconds and then stop.
    4. On Flash Player ocx V9.0.115. If we publish the flash
    movie on web with 24fps, the sound just can work several seconds
    and then stop, the problem is the same if we use the
    TShockWaveFlash control to play the flash movie.
    5. On Flash Player ocx V9.0.115. If we publish the flash
    movie with 12fps, the sound works well but the quality is really
    very poor. It seems that the sound plays shorter with more frames
    per second. But the flash file works well with the Flash Player
    V9.0.47 and previous versions (Flash9d.ocx).
    Can somebody help me to figure it out? Thanks in advance!
    Regards,
    Sabrina
    [email protected]

    Hello Darren, I really appreciate your response. My mail is
    [email protected] I have uploaded the flash file to our
    ftp,
    http://www.sameshow.com/democreator/create
    a new site.swf. And also I compressed the original file to a
    zip file and uploaded to our ftp at
    http://download.sameshow.com/aff/create.zip,
    please kindly check! When we playing this flash file on FlashPlayer
    V9.0.47 and previous, the audio works well. But the audio just can
    play several seconds and then stop when I playing it on FlashPlayer
    V9.0.115. The garbled audio makes us very upset. Your help would be
    great appreciated!
    Sabrina Fu

  • How do tune sql query? Can somebody help me in this? Atleast prescribe book

    how do tune sql query? Can somebody help me in this? Atleast prescribe a reference book.
    I am not able understand How to analyze tkproof output.

    Check out asktom.oracle.com
    Lot's of threads on interpreting tkprof output - no simple easy solution here.
    You need to understand what is happening and THINK. Then you can be a good engineer.
    As for good books...
    Tom Kyte's books are really, really good.
    http://www.amazon.com/Effective-Oracle-Design-Osborne-ORACLE/dp/0072230657/ref=sr_1_3?ie=UTF8&s=books&qid=1266783471&sr=8-3
    http://www.amazon.com/Expert-Oracle-Database-Architecture-Programming/dp/1590595300/ref=sr_1_1?ie=UTF8&s=books&qid=1266783471&sr=8-1
    Good luck!

  • I am downloading a 6.4GB game with Safari. Download starts very well, 850KB/s but systematically after 10 or 15mn speed goes down until download stops. Can somebody help please?

    I am downloading a 6.4GB game with Safari. Download starts very well, 850KB/s but systematically after 10 or 15mn speed goes down until download stops. Can somebody help please?

    systematically after 10 or 15mn speed goes down until download stops
    Check with your iSP. There may be a limit to files sizes.

  • Can somebody help ??? iPhone 3Gs is stuck with an apple logo with the long loading bar. but iTunes popup say iPhone had been restored. iOS 4.3.3 to 4.3.4 or 5

    Can somebody help ???
    iPhone 3Gs is stuck with an apple logo with the long loading bar. but iTunes popup say iPhone had been restored. This happens when upgrading iOS 4.3.3 to 4.3.4.

    Thanks for your answer
    i've checked the host files, nothing referring to apple. The device has never been jailbroken...
    Is there something else i can do?

  • Can somebody help me with understanding what is OSGi & JCR and how it completes CQ5 architecture

    I am a newbie to CQ5 development and I want to understand more about JCR and OSGi concepts before I deep dive into the technology. Can somebody help me out with explaining these terms with reference to CQ5 architecture in layman terms so that I can understand them better.

    Check out
    http://dev.day.com/docs/en/cq/current/exploring/concepts.html#CQ's%20Technical%20Foundatio n
    and
    http://dev.day.com/docs/en/cq/current/exploring/concepts.html

  • Can somebody help me with some settings?

    Can somebody help me please?
    It's my iPhone going a bit crazy, every time there's a notification while it's locked (you know that it's shown on the lock screen right?), my iPhone won't turn off anymore, it'll just sitting there waiting for me to turn it off or see it, I mean it kills my battery so much. I already reset my settings, but it's still doing not right. Can somebody please help me how to solve this? Thank you
    iPhone 5, iOS 7.1.1

    best way to isolate the problem is by connecting the SPA2102 directly to your modem...check if you are able to call out and receive calls...of course internet should be working first before you can use the phone to call out so connect a computer to the SPA2102. Once this is working just connect the Netgear behind the SPA..this will ensure that voice is always prioritized...
    | isolate! isolate! isolate! |

  • Can somebody help me on how to create Search help exit?

    I have requirement where in i have to use search help exit in search help .Based on the value in the GET parameter id i have to extract the value in the search help can somebody help me in this.

    HI
    In order to offer a meaningful input help for as many screen fields as possible, the R/3 System uses a number of mechanisms. If there is more than one such mechanism available for a field, the one that is furthest left or at the top of the above hierarchy is used.
    In addition to the options described above for defining the input help of a field in the ABAP Dictionary, you can also define it in the screen field. The disadvantage, however, is that there is no automatic reuse.
    With the screen event POV, you can program the input help of a field by yourself. You can adjust the design of the help to the standard help using the function modules F4IF_FIELD_VALUE_REQUEST or F4IF_INT_TABLE_VALUE_REQUEST. However, you should check to see if the part of the input help that you programmed yourself should be implemented as a search help exit instead (see Appendix).
    You can also attach a search help to a screen field in the Screen Painter (Module Pool programming). There are some functional restrictions on this kind of attachment as compared with attachment in the Dictionary.
    You should no longer use the input checks defined directly in the flow logic of the screen, from which it is also possible to derive input helps.
    The function Technical info is offered in the hit list in the menu of the right mouse key. It can be used to find out which of the specified mechanisms is being used.
    Check these links
    Search Help Exits:
    Re: dynamic values for search help
    Re: Dynamic search  help
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee52446011d189700000e8322d00/content.htm
    http://www.sapdevelopment.co.uk/dictionary/shelp/shelp_exit.htm
    https://forums.sdn.sap.com/click.jspa?searchID=4390517&messageID=1712818
    check out this link, it gives step by step example of implementing search help exit.
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/implementing%2bsearch%2bhelp%2bexits

  • When I updated my iPad to 6.1.3 os it installed only upto 70% then it says cannot connect to iTunes until now, can somebody help me?

    I am at a lost why my iPad cannot connect to iTune store and Apple Store.
    This has occurred when I did updating to os 6.1.3. During the update, the installation only reach around 70% complete
    When suddenly it says Internet connection was lost. When I check the Internet is quite ok and when I tried to update
    It says cannot connect to iTune store. It has been like that since then, mean cannot connect to iTune ....
    Can somebody help?

    Reboot your router. Unplug it for about 30 seconds and then plug it in again.
    Then restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    If that doesn't work - Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.
    If still no luck - sign out of your account, restart the iPad and then sign in again.
    Settings>iTunes & App Store>Apple ID. Tap your ID and sign out. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    Go back to Settings>iTunes & App Store>Sign in and then try to update again.

  • I have an external hard drive, from Iomega. However, I cannot copy or save any file to it. On my PC it says that is possible to read and write in it, but in my Mac, it says I can only read. can somebody help me?

    I have an external hard drive, from Iomega. that I can open and see my files. However, I cannot copy or save any file to it. On my PC I have it says that is possible to read and write in it, but in my Mac, it says I can only read. can somebody help me?
    Also, Im a photographer, so I like to name a lot of files at the same time (used to do in on PC and it was very usefull.) cannot find out how to do it on my Mac. Really appretiate if some one can give me a solution! Thanx

    Your drive is formatted with the NTFS file system.  OS X can read but not write to the NTFS file system.  There are third party drivers available that claim to add the ability to OS X to write to an NTFS partition.  I have not tried them and don't know if they work.
    The only file system that OS X and Windows can both write to natively is the FAT32 file system.

  • Can somebody help me in finding a solution or an explanation to the problem I am currently experiencing as well as others wherein we cannot connect to the iTunes store (iTunes could not connect to the store. An unknown error occurred (0x80096004))?

    Can somebody help me in finding a solution or an explanation to the problem I am currently experiencing as well as others wherein we cannot connect to the iTunes store. An error message appears and either says "iTunes could not connect to the store. An unknown error occurred (0x80096004). Make sure your network connection is active and try again" or "iTunes could not connect to the store.Make sure your network connection is active and try again." Despite the fact that my network connection is working quite fine, this problem still persists. I can say that my connection is fine because I can surf the internet and furthermore, I used to connect to the iTunes store just before this incident happened which started from April 17, 2014 and persists until today. I tried to solve the problem by following the troubleshoot procedures given in the support section of this site but it really did not solve the problem. I believe that others are experiencing this situation as well very similar to mine when it comes to the time of occurrence as I have read in the discussions in this site. Even though we have different network connections, operating systems and other specifications, we still experience the same problem, so is there really a problem with our computers or is it with the iTunes? And by the way, my computer works under Windows XP. Thanks a lot. God bless.

    Try this...
    Triple click anywhere in the line below to select it and press Ctrl+C to copy it.
    cmd /k netsh winsock reset
    Press the WinLogoKey+R to open the run dialog, then Ctrl+V to paste, then press enter/return.
    You should get something similar to this:
    Reboot the computer and the problem should be resolved.
    If it doesn't work then perhaps a full tear down and rebuild of iTunes will fix things. See Troubleshooting issues with iTunes for Windows updates for details.
    tt2

Maybe you are looking for

  • OMBA: Define Number Assignment for Accounting Documents

    Hello exparts, I ask about operation in "Allocate document type to transaction" at t-code OMBA. Can we insert new entries? If yes, please tell me how to. Thank you and regards. Emma S

  • Dynamic invocation of javac with custom class path.

    To all the Java Gurus out there, Consider the following classes: XYZ/test/TestUtil.java package test; class TestUtil {   void useMe() { }ABC/test/Test.java package test; public class Test {   public static void main(String[] args) {     TestUtil t =

  • Infoapckage schduling

    Hello Friends, Need some help. May be this is very simple question for you . Actually I have been scheduled one info package to run at one daily basis at 4.00 AM. Now I want to remove it from scheduling ( don’t want o run) , I have removed the option

  • WSUS Reporting By Groups

    I was wondering if someone could help me out, and I appreciate it in advance for anyone that can. I am currently deploying a new WSUS system in our domain, and I was interested in setting up groups in the WSUS specifically segregated by Microsoft Pro

  • Publication de site

    Bonjour, je rencontre des problèmes de publications de mon site internet via Muse, j'ai contacté Adobe Business Catalyst, Mon hébergeur de nom de domaine, ils ont tous travaillé et supprimé les choses bloquant la publication de mon site, de ce fait l