Help me Please Regarding XmlBeans

Hello,
While using xmlbeans I faced a problem.Can any body help me to solve it. I am using xmlbean version 2.2 and jdk1.5. I created .jar file by compiling .xsd file.But while running .java file an error had occured like
" cannot access org.apache.xmlbeans.XmlObject
But I set the path to bin and class path to lib and .xbean.jar ,jsr173_1.0_api.jar
the .java file is like that
import noNamespace.*;
import org.apache.xmlbeans.*;
import java.io.File;
import java.util.Calendar;
public class AutomoilePolicyHandler{
public static void main(String args[]) {
try {
String filePath = "automobile-policy.xml";
java.io.File inputXMLFile = new java.io.File(filePath);
AutomobilePolicyDocument autoPolicyDoc = AutomobilePolicyDocument.Factory.parse(inputXMLFile);
AutomobilePolicyDocument.AutomobilePolicy autoPolicyElement = autoPolicyDoc.getAutomobilePolicy();
System.out.println("date is " + autoPolicyElement.getInsuranceDate());
} catch (Exception e) {
e.printStackTrace();
The error message is given below.
D:\xmlbeans-2.2.0\schemas>javac AutomoilePolicyHandler.java
AutomoilePolicyHandler.java:2: package org.apache.xmlbeans does not exist
import org.apache.xmlbeans.*;
^
AutomoilePolicyHandler.java:10: cannot access org.apache.xmlbeans.XmlObject
file org\apache\xmlbeans\XmlObject.class not found
AutomobilePolicyDocument autoPolicyDoc = AutomobilePolicyDocument.Factory.parse(inpu
tXMLFile);
^
2 errors
I created .jar file successfully,but when I tried to run .java file these error is coming.
I am using jdk1.5 and xmlbeans2.2 version.I set xmlbeans bin to path, lib,jsr173_1.0_api.jar,to classpath,.xbean.jar to classpath.
I want to know whether I want to set anything else apart from thses and why these error is coming.
Bipin.V

If you'd like to change characters' values in Column 1, Column 2 or Column 3 you have to create new row and choose new values. Then you should delete old row.
You can do it automatically by using fox formulas.
for example:
{charater1's value_new , charater2's value_new, charater3's value_new}={charater1's value_old , charater2's value_old, charater3's value_old}.
{charater1's value_old , charater2's value_old, charater3's value_old}=0.

Similar Messages

  • Hello, I am a user of the iPhone is not the place for bi çıkıcak turkey apple brand products and product support and equipment does not work as it used to fix and send back waiting for your help. Please support me in this regard quit

    Hello, I am a user of the iPhone is not the place for bi çıkıcak turkey apple brand products and product support and equipment does not work as it used to fix and send back waiting for your help. Please support me in this regard quit

    We are all iphone users just like you.
    Do you have a question for fellow iphone users?

  • Hi, How I can duplicate website? I have not any possibility to do it on the right button of mouse. I used to have it, but now I can not find it. can you help me please. Kind regards kate ( email: ukaska@interia.pl)

    Hi, How I can duplicate website? I have not any possibility to do it on the right button of mouse. I used to have it, but now I can not find it. can you help me please. Kind regards kate ( email: [email protected])

    What do you mean with duplicate?
    Where do you want to duplicate a website?
    Do you want to open the same site in more than one tab?<br />
    Do you want to create multiple bookmarks to the site?

  • Hi. i updated my iphone 4s to iOS 7.0.4 but after that, wifi is not enabled. please help in this regard.

    Hi. i updated my iphone 4s to iOS 7.0.4 but after that, wifi is not enabled. please help in this regard.

    Apple has provided a useless workaround... [http://support.apple.com/kb/ts1559]
    Else the only option you have is to fight with the Apple Store "geniuses" to get a free replacement for out of warranty 4S devices. Or try a third party repair like iFixit. The wifi chip might cost you 60-80$ but it is better than paying Apple 200$.
    Overheating is the culprit in 4S devices. And its been getting worse with ever successive iOS 7 update. I think 7.0.4 was the final nail in the coffin.
    They are not getting my money anymore.. I've had iPhones every since they launched... but no more. Feels like a dead investment after facing this issue. I can never sell my iPhone 4S even if I want to. There have been cases where users just sold their 4S devices, the new owner updated to 7.0.4, wifi stopped working and the seller had to give a refund.
    I'm basically sitting on a 650$ white brick. Hmm... I wonder if white bricks sell higher than the standard red bricks
    Guess it's time for you to sign up this ongoing campaign [https://www.change.org/petitions/apple-to-get-apple-to-replace-all-units-affecte d-negatively-by-the-update-of-ios7-or-patch-an-update-that-will-remedy-the-issue s-many-loyal-customers-are-experiencing#share]
    TBH, I can't get a replacement because I am in India where 4S was never launched as an unlocked device and there are no Apple retail stores. Only resellers here like Vodafone/Reliance/Airtel. But if this petition can help the one who can take advantage of having retail stores around... why not? Sign up please. Thank You.

  • Urgent help required: Query regarding LC Variables

    Hi All
    Sometime earlier I was working on a performance issue raised by a customer. It was shell script that was taking almost 8-9 hrs to complete. During my research I came across a fact that there were some variables which were not set, the LC variables were impacting the sort funnel operations because of which the script was taking a long time to execute.
    I asked them to export the following commands, after which the program went on smoothly and finished in a couple of mins:
    export LC_COLLATE=en_US.ISO8859-1
    export LC_MESSAGES=C
    export LC_MONETARY=en_US.ISO8859-1
    export LC_MONETARY=en_US.ISO8859-1
    export HZ=100
    export LC_CTYPE=en_US.ISO8859-1
    export LANG=en_US.UTF-8
    Later I did recover that setting the LC_COLLATE to C, is not helping and the program was again taking a lot of time. Few questions that I want to ask are:
    1. Can someone please tell me, what each of these variable mean and how these values make a difference.
    2. When I exported LC_COLLATE=en_US.ISO8859-1, it worked fine, but when i tried with the defalut value LC_COLLATE=C, then why the program didnt work.
    As this issue is still going on, hence I would request All to provide their valuable inputs and let me know as much as possible.
    Appreciate your help in this regard.
    Thanks
    Amit
    Hi All
    A new development in this regard. The customer has send us a screen shot in which they were trying to export the locale variable using the commands which I have pasted above. I can see in the screen shot that while exporting LC_COLLATE and LC_TYPE, they get a message that ""ksh: export: couldn't set locale correctly"".
    Request everyone to please give their inputs as it's a bit urgent.
    Thanks for all the help in advance.
    Thanks
    Amit
    Some help required please...
    Edited by: amitsinhaengg on Jul 22, 2009 2:03 AM
    Edited by: amitsinhaengg on Jul 22, 2009 2:06 AM

    LC_CTYPE
    Controls the behavior of character handling functions.
    LC_TIME
    Specifies date and time formats, including month names, days of the week, and common full and abbreviated representations.
    LC_MONETARY
    Specifies monetary formats, including the currency symbol for the locale, thousands separator, sign position, the number of fractional digits, and so forth.
    LC_NUMERIC
    Specifies the decimal delimiter (or radix character), the thousands separator, and the grouping.
    LC_COLLATE
    Specifies a collation order and regular expression definition for the locale.
    LC_MESSAGES
    Specifies the language in which the localized messages are written, and affirmative and negative responses of the locale (yes and no strings and expressions).
    You can use command
    # locale -k LC_CTYPE
    to see more detail about each type.

  • In the previous version, the menu table in table options, there is an option that gives me the option: the Return key moves to next cell. I do not see this option in the new number. can you help me please?

    in the previous version  of Number, the menu table in table options, there is an option that gives me the option: the Return key moves to next cell. I do not see this option in the new number. can you help me please?

    Hi silvano,
    If you use a regular pattern when entering values, press enter (return) after entering the last value in a row. That will take you to the first Body Cell of the next row.
    Start in Cell B2
    1 Tab 2 Tab 3 Enter
    4 Tab 5 Tab 6 Enter
    7 Tab 8 Tab 9 Enter
    Now you are ready to type into B5 .
    Another way that some people find easier is to enter one column at a time
    Start at B2
    1 enter
    4 enter
    7 enter
    etc.
    Now start with C2.
    Use whatever suits your work flow.
    Regards,
    Ian.

  • I have a message that asks me to enter my mail password I have no clue what this is or how to select a new one.  Can anyone help me, please?

    After getting in a confused mess with my Apple ID password which I use very rarely, I have apparently managed to change it successfully Co-incidentally or related in some way that I don't understand, I now cannpt access mail on my desk machine. The message asks for my mail passowrd which I have no about or how to change it. All is this is connected to my sleeping enemy "The Cloud" I fear!  I can access mail on both my iphone and ipad. Can someone help me please? Thanks
    Anne

    Thanks for getting back to me Roger.
    I have done as you suggested twice and nothing has changed sadly.
    I am using the new password associated with my Apple ID.
    To add insult to injury, my totally non techie husband's email is working fine on all devices.
    Any other suggestions welcome
    Kind regards
    Anne

  • I can't install Oracle8.1.7 on Pentium4,Help me please

    i can't install Oracle 8.1.7 Enterprise Edition on Pentium4-
    1.3G , I use W2k Server. Have any idea to help me? I've heard
    that there is a patch to solve this problem,but i can't find it.
    Help me please.

    There are very few patches available on OTN. Members who want to
    get patches would have to purchase them through Oracle
    Support/Metalink or at the Oracle Store.
    http://otn.oracle.com/support/content.html
    http://oraclestore.oracle.com/
    Regards,
    OTN Team

  • HELP ME PLEASE, i'm desperate.

    I bought my MacBook Pro 7 months ago, and a few weeks ago i've been worried about my laptop; it's to slow, and when i'm playing music in iTunes it plays and pause suddenly and the rainbow circle always shows, so i changed one of the 2gb RAM memorie for one of 4GB, so now i got 6GB, at the the begginin it seemed to work well but now i've seen all these issues in my laptop and i don't know what to do, i deleted lots of thing i had thinking it was the memories space, but it was not the problem; i reinstalled Mac Os X Lion and it continues being slow, it takes long time to get to many websites too. HELP ME PLEASE, i can not even listen music well!
    Thanks.
    From Bogotá, Colombia.
    Juan David

    There are many possible reasons for a Mac to slow down.  Allan has suggested one...  you need to keep roughly 10% or more of your hard drive free, or performance will suffer.
    Regarding the RAM, although Bimmer is correct that the RAM works best when installed in matching pairs, the difference in modern Macs is apparently not significant.  And since the problem was present before you made that change, it's not likely to be a major contributor.
    Third-party software could also be an issue.  Try rebooting in safe mode.  If the problem goes away, only to come back again when you reboot normally, you've got something installed that is causing the problem.  (The trick will be finding it!)
    There's information on all this and more in my Mac Performance Guide.

  • Hi there, I want to change the background-color of the browser, when a popup-picture is shown. This picture pops up by clicking a hyperlink in the text...can anyone help me please...thanks a lot

    Hi there, I want to change the background-color of the browser, when a popup-picture is shown. This picture pops up by clicking a hyperlink in the text...can anyone help me please...thanks a lot

    Hi,
    CSS is interpreted by your browser, so server cache seems unlikely in htis case. There is however some hierarchy in CSS, so parts of the APEX CSS, theme CSS or page CSS might overwright or block yours.
    Does changing the CSS on runtime affect your page? Eg, run the following in your browser console and see if your page turns black: $('#uBodyContainer').css("background-color","black")
    Also try moving up your css in the hierarchy labeling it as important:
    div#uBodyContainer { 
      background-color:#000000 !important;  
    See:Assigning property values, Cascading, and Inheritance
    Regards,
    Vincent
    http://vincentdeelen.blogspot.com

  • I need help urgent please :(

    Hi i'm too much worried about my laptop because before 1 hours its working perfectly and while i working on my laptop suddenly laptop is off and now when i presss power on button its on for 4 seconds with a fast fan voice and no display on screen and then again off what i do can any one help me please thansk a lot advanced....
    Regards,
    Osman

    Please diagnose your PC using the detailed instructions in the link below.
    The "HP PC Hardware Diagnositcs" will test all the hardware components of your PC.
    Testing using HP PC Hardware Diagnostics (UEFI)

  • Help me please: use my own new account

    I have registered with you for Skype.  Previously my son registered but has not used this for quite a while. You have accepted my skype name and password and notified me but when I try to go on to skype my son's name and details etc. still appear.  Help me please.
    My son no longer uses this skype.

    Hi, huskyruth35, and welcome to the Community!
    As your enquiry was not directly related to where you had posted your message, I arranged to transfer your post to create its own new thread or line of conversation.
    How to fix this: when you son's account automatically starts when you start Skype, at the top left corner of the Skype window, click on Skype -> Sign Out.   Quit Skype.  When you re-start Skype, in the sign-in window which appears, un-tick "Sign me in when Skype starts" and enter your own log-in credentials (account name and password).
    That should do it!
    Regards,
    Elaine
    Was your question answered? Please click on the Accept as a Solution link so everyone can quickly find what works! Like a post or want to say, "Thank You" - ?? Click on the Kudos button!
    Trustworthy information: Brian Krebs: 3 Basic Rules for Online Safety and Consumer Reports: Guide to Internet Security Online Safety Tip: Change your passwords often!

  • Please email and I forgot the password icloud help me please,

    Please email and I forgot the password icloud help me please,

    Hi ali aldlemy,
    Thanks for visiting Apple Support Communities.
    You can use the instructions in this article to reset your password for iCloud:
    iCloud: Change your iCloud password
    http://support.apple.com/kb/ph2617
    Best Regards,
    Jeremy

  • Can not run jcwde (Somebody help me please !)

    Hi all, I'm a newbie in java card development.
    Let's get to the point. I have some problem with jcwde and I've been searching for the similar problems in this forum such as : here here and here here
    Other sources that I've referred to is : here and here
    I'm trying to set environment variable for java card development.
    Before running jcwde, i also run samples_build.bat but I don't know whether it OK or not.
    When I try to run jcwde for testing demo file (I type : jcwde -jcwde.app in command prompt) the only message that i got is :
    C:\java_card_kit-2_1_2\samples\src\demo>jcwde jcwde.app
    'C:\Program' is not recognized as an internal or external command, operable program or batch files
    Is there any problem with my enviromnent variables setting ? since I'm not sure how to fix it
    here is mine :
    JAVA_HOME : C:\Program Files\Java\jdk1.5.0_04
    JC21_HOME : C:\java_card_kit-2_1_2
    CLASSPATH : .;C:\java_card_kit-2_1_2\lib\api21.jar
    PATH : C:\Program Files\Java\jdk1.5.0_04\bin;C:\java_card_kit-2_1_2\bin
    Oh yeah, I almost forgotten that I'm using Windows XP Professional Edition SP 1, and Java Card Development Kit 2.1.2
    Can somebody help me please or maybe give me advice about what I'm doing is right or wrong ?
    Thanks in advance,
    Best Regards,
    iCH1
    Edited by: ichiwan on Mar 12, 2008 10:00 PM

    dear kicklee,
    Thank you for your response to the topic. By the way, do you mean that all CLASSPATH variable must not be more than 8 characters ?
    I just did it, but still the same error occur.
    Is there any solution for this ?
    I need you to copy-paste all your succesfull CLASSPATH configuration here for better explanation.
    thx in advance.
    Best Regards,
    iCH1
    Edited by: ichiwan on Mar 18, 2008 8:09 AM
    Edited by: ichiwan on Mar 18, 2008 8:13 AM
    Edited by: ichiwan on Mar 18, 2008 8:15 AM

  • How to modify a Pod in the WASI Dashboard - HELP! PLEASE?

    Dear All.
    I am very new to Flex and programming as a whole. So please do forgive me if I do not express my query clearly or with the right info.  I'm teaching myself Flex 3 whilst trying to build an application.
    As part of my application, I am using the WASI built Dashboard which can be found here. The pods within this component are self sizing and position depending on where the other pods are placed at any given time. I'm trying to give one of the pods within the Dashboard my own default position, height and width which it should take up when the application starts. Being new to programming and Flex, I haven't a clue how to do this particular modification.
    For those smarter than I, I have included the .zip containing the docs for the component.
    Please help!
    Kind regards
    Vanessa

    If your list box (I assume we're talking about the <SELECT> element) is on the same page as your posted code it won't work unless you've made a preceding POST or GET request from the same page.
    The request.getParameter("parameterName") will retrieve that parameter from the preceding request and not from the same page (unless the above mentioned circumstances).
    If you want to use a value from within the same page I recommend Javascript:
    <TD Height="20" width="100">
    Cambiar
    Login</TD>
    where the function would look something like this:
    <script>
    function goLink(param1){
    var dc = document.yourFormName.theSelectListName.value;
    var linkURL = param1 + dc;
    window.location.href=linkURL;
    </script>
    /Rickard E

Maybe you are looking for

  • Dynamic text in buttons : instance name goes "instanceX"

    Hi, Another weird one (for me at least !) I've added a dynamic text to a button and named it, say, myTxt. If I put this button on stage as a movieclip I can target text as :_level0.btn1.myTxt If I put the button on stage as the button it really is, d

  • Link Buttons In Matrix

    Hi, I'm having trouble trying to link an Employee name in a column within a matrix to the Employee form. I can make it happen with the Employee Id, but can't understand how to make that link but display the Employee name, any ideas ?? cheers, Mark

  • Vendor e-mail address

    For vendor e-mail address, I cannot find the field in table LFA1, can anyone tell me which table this information is held in? In XK03 all our vendors have the e-mail address field populated Thanks Prakash

  • TS1559 iOS app to determine what ports a particular IP or app is using?

    Here's my problem...  I have an iOS app that controls my TV using IP.  I need to find out which ports it is using to do this so I can program a universal remote app.   Anyone know of a free to cheap iOS or OSX app that will capture and record ports b

  • ITunes freezes when I click burn disc

    I've been a fan of iTunes since it came out, however, it's pretty worthless if I can't play my music in my car. I haven't been able to burn CDs for quite a while now. I can't pinpoint exactly when it stopped burning CDs but someone suggested that it