What's the problem in the this XML?

Hi!!
I changed only first line cleo.xml
It is used DOMSample(XML parser for C v2)
<?xml version="1.0" encoding="iso-8859-1"?>
In line 1 of cleo.xml:
LPX-00201: Message 201 not found; No message file for product=ORACORE, facility=LPX
Parse failed, error 201
What's the plblem?

I have a similar header on my XML files.
<?xml version="1.0" encoding="ISO-8859-1" ?>
I am not sure, but suspect that your line is missing the space between the quote and question mark. The only difference from my lines is that I always use ISO in upper case.
Good luck.

Similar Messages

  • What's the best XML for JAVA?

    Hi There,
    My big question is what should I use for develop a normal XML document, that can:
    - contain BASE64 strings
    - support UTF-8 add attributes, etc.
    I then want to pick this document and:
    - do it's parsing (walk trough)
    - apply a xsl to this document.
    I've made this in C using libxml2 for WIN32/HP-UX, and also in VB using msxml4, now I must make the same document in Java, I see a lot of alternatives but really don't know what to choose...
    In these languages I pick a structure that we support (similar to a tree) and serialize it to XML, send it as a string and then rebuild the initial structure with flaws. Each client can have a xsl file to show the information in the way he wants to.
    So, I ask your opinion what's the best for JAVA (a fast learning curve is preferable, but speed of processing is very, very important)?
    Thanks in advance for all the replies,
    Lu�s Pinho

    Have you looked at Apache's XML Beans?
    http://xml.apache.org/xmlbeans/

  • What does the this keyword do?

    i don't really understand this code very well, can anyone give me a link or a little explanation that would help me with it? I'm not sure what the this keyword does, and the toString method is puzzling as well.
    thanks.
    public class Friend
         protected String name;
         protected String telephone;
         protected Friend next;
         static Friend list;
         public static void print() {
         Friend friend = list;
         if(friend == null) System.out.println("The list is empty.");
         else do {
         System.out.println(friend);
         friend = friend.next;
         } while (friend != null);
         public Friend(String name, String telephone)
         this.name = name;
         this.telephone = telephone;
         this.next = list;
         list = this;
         public String toString()
         return new String(name+":\t"+telephone);
    class TestFriend
         public static void main(String args[])
         Friend.print();
         new Friend("Anita Murray", "388-1095");
         new Friend("Bill Ross", "283-9104");
         new Friend("Nat Withers", "217-5912");
         Friend.print();
    }

    about the code in post 1, is there any other code
    that could replace what's inside the friend method
    but would still print the same output?
    for example could i replace "this.name = name;" etc
    with anything else?In the context of that constructor, there are two name variables--the parameter and the member variable. The parameter is what was passed into the c'tor, and the member varaible is part of the state of the current object--the object being initialized.
    So, when we just say "name", it means the parameter, and if we want to refer to the name variable that's part of the object, then we say "this.name"--that is, the name varaible belonging to "this" object (the "current" object).
    If there were no local variable or parameter called "name", then instead of "this.name" we could just say "name" to refer to the current object's name variable, because there would be no ambiguity.

  • What's the better, xml.file X database consulting?

    hello!
    have you any idea of what way of storing the data is better ?
    I need your opnion. Thanks

    depends. Is the data static? Then an XML file might be a better solution. Is the data dynamic? Than a database might be better. It all depends on the application really, so you'll have to judge this for yourself.

  • What is the correct XML request for ccm 6.0

    Hi,
    i m tring to get getphone-data from my ccm6.0 with a axl call.
    here is what i have, which is a example out of the toolkit, i guess its old, so it doesnt work with my ccm6.0
    xmlhttp.Open("POST", "http://" + ccmserver + "/CCMApi/AXL/V1/soapisapi.dll", false);
    xmlhttp.setRequestHeader("Authorization", "Basic " + authstring);
    xmlhttp.setRequestHeader("Content-type", "text/xml");
    xmlhttp.Send(xmlDoc);
    can anyone help me and share the correct lines for this request?
    thanks

    yeah.. my java programm with the soap call, which works fine, is using
    http://myserver/AXL/
    i tryied it in my jva-script, but its not working, i also tried https, but in both cases i dont even get an entry in the trace files..:-((
    here is what i use in my java programm
    sAXLSOAPRequest = "POST /axl/ HTTP/1.0\r\n";
    sAXLSOAPRequest += "xxxxxxxxx:8443\r\n";
    sAXLSOAPRequest += "Authorization: Basic " + authorization + "\r\n";
    sAXLSOAPRequest += "Accept: text/*\r\n";
    sAXLSOAPRequest += "Content-type: text/xml\r\n";
    sAXLSOAPRequest += "SOAPAction: \"CUCM:DB ver=6.0\"\r\n";
    sAXLSOAPRequest += "Content-length: ";
    and in my java-script i tryied..
    xmlhttp.Open("POST", "http://" + ccmserver + "/AXL/", false);
    xmlhttp.setRequestHeader("Authorization", "Basic " + authstring);
    xmlhttp.setRequestHeader("Content-type", "text/xml");
    xmlhttp.Send(xmlDoc);
    but with no success..:-((
    can anybody help?
    thanks

  • What's the best XML parser for J2ME

    Hello,
    has anybody a suggestione about a light and (hopefully) performant opern source XML parser library to use in a J2ME application?
    I'm going to explore Xparse-J and Kxml: Is there anything better?
    Thank you,
    Andrea

    kXML is the most important and popularly use XML parser for KVM. This is a combination of pull parser and the XMLWriter. It coantains a WAP Binary XML and a special kDOM.
    NanoXML is another parser for KVM, which works on push-parsing technology. Now it is not very popular.

  • The this keyword

    I have a vague idea what the this keyword means. Its something to do with inheritance but I'm not sure how this works. For example I've just seen a program as shown below:
    import java.awt.*;
    import java.util.*;
    import java.applet.*;
    import java.text.*;
    import javax.swing.*;
    public class Clock extends JApplet
    implements Runnable {
    private volatile Thread clockThread = null;
    DateFormat formatter; //Formats the date displayed
    String lastdate; //String to hold date displayed
    Date currentDate; //Used to get date to display
    Color numberColor; //Color of numbers
    Font clockFaceFont;
    Locale locale;
    public void init() {
    setBackground(Color.white);
    numberColor = Color.red;
    locale = Locale.getDefault();
    formatter =
    DateFormat.getDateTimeInstance(DateFormat.FULL,
    DateFormat.MEDIUM, locale);
    currentDate = new Date();
    lastdate = formatter.format(currentDate);
    clockFaceFont = new Font("Sans-Serif",
    Font.PLAIN, 14);
    resize(275, 25);
    public void start() {
    if (clockThread == null) {
    clockThread = new Thread(this, "Clock");
    clockThread.start();
    public void run() {
    Thread myThread = Thread.currentThread();
    while (clockThread == myThread) {
    repaint();
    try {
    Thread.sleep(1000);
    } catch (InterruptedException e){ }
    public void paint(Graphics g) {
    String today;
    currentDate = new Date();
    formatter =
    DateFormat.getDateTimeInstance(DateFormat.FULL,
    DateFormat.MEDIUM, locale);
    today = formatter.format(currentDate);
    g.setFont(clockFaceFont);
    //Erase and redraw
    g.setColor(getBackground());
    g.drawString(lastdate, 0, 12);                     
    g.setColor(numberColor);
    g.drawString(today, 0, 12);
    lastdate = today;
    currentDate = null;
    public void stop() {
    clockThread = null;
    Now the line : clockThread = new Thread(this, "Clock");
    What does the this keyword do here?

    Please use code tags as described in Formatting tips
    Classes and Inheritance: Using the this Keyword

  • Right in the middle of the process of creating a hardcover photo book, a message came up, telling me: This theme is no longer available in iPhoto. Please choose: Delete book / Cancel / Change Theme. No matter what I select. What`s the problem???

    No matter what option I select- iPhoto either crashes or the beachball starts spinning. Either way, I can`t access the photo book anymore.
    Is there anything I can do?
    The selected theme is definitely still available in iPhoto, so this can`t be the real problem...
    I have been sitting on the book work for days...
    Thanks for any help!
    Dennis

    Make a temporary, backup copy (if you don't already have a backup copy) of the library and try the following:
    1 - delete the iPhoto preference file, com.apple.iPhoto.plist, that resides in your
         User/Home()/Library/ Preferences folder.
    2 - delete iPhoto's cache file, Cache.db, that is located in your
         User/Home()/Library/Caches/com.apple.iPhoto folder. 
    Click to view full size
    3 - launch iPhoto and try again.
    NOTE: If you're moved your library from its default location in your Home/Pictures folder you will have to point iPhoto to its new location when you next open iPhoto by holding down the Option key when launching iPhoto.  You'll also have to reset the iPhoto's various preferences.
    If that doesn't help   launch iPhoto with the Option key held down and create a new, test library.  Import some photos and check to see if the same problem persists. If it does then a reinstall of iPhoto is warrented.
    If the problem does not appear in the test library then your current library is damaged.  In that case make a temporary, backup copy (select the library and type Command+D) and  apply the two fixes below in order as needed:
    Fix #1
    Launch iPhoto with the Command+Option keys held down and rebuild the library.
    Since only one option can be run at a time start with Option #1, followed by #3 and then #4.
    Fix #2
    Using iPhoto Library Manager  to Rebuild Your iPhoto Library
    Download iPhoto Library Manager and launch.
    Click on the Add Library button, navigate to your Home/Pictures folder and select your iPhoto Library folder.
    Now that the library is listed in the left hand pane of iPLM, click on your library and go to the File ➙ Rebuild Library menu option
    In the next  window name the new library and select the location you want it to be placed.
    Click on the Create button.
    Note: This creates a new library based on the LIbraryData.xml file in the library and will recover Events, Albums, keywords, titles and comments but not books, calendars or slideshows. The original library will be left untouched for further attempts at fixing the problem or in case the rebuilt library is not satisfactory.
    OT

  • When I use Firefox and Hotmail at startup, Firefox freezes for about 1 minute, and then I can continue. First I though it was my computer but 2 other girls in my class have the same problem with Hotmail and Firefox. What can I do to change this?

    When I start Firefox, about 15 seconds after I start it, my Firefox freezes for about 1 minute. I found out that it is my Hotmail that makes Firefox freeze.
    First I thought it was my computer, but I have 2 other girls in my class that use Hotmail and Firefox and their computer also freezes for 1 full minute.
    This is very annoying, what can I do to change this?
    xxx ellen
    p.s. I am from the Netherlands, maybe that has something to do with it?

    Try deleting cookies and cache:
    1. Tools| Clear recent history
    2. Time range to clear: Everything
    3. If it isn't already selected, select '''Cookies''' and '''Cache'''
    4. '''Clear now'''
    '''Check cookie exceptions'''
    1. Tools | Options | Privacy Panel
    2. Set '''Firefox will: Use custom settings for history.''' '''Insure Accept cookies for sites and accept third-party cookies''' is selected
    3. Click '''Exceptions'''. If the misbehaving site is in that list, select it and click '''Remove site'''
    '''Safe Mode'''
    Add-ons can cause problems with not being able to log into certain websites. To see if this is the case with your issue, run [[Safe mode]]. When you get to the safe mode window, select Continue in Safe Mode. If this resolves your problem, see [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
    Also see [[Updating Firefox]] and [[Cannot log in to websites]]

  • HT1533 my sound has stopped working i have speakers plugged in but computer doesnt register or recognize them. the volume is on mute and grayed out ...will not let me change,what can i do to fix this problem....i have tried unplugging and plugging back in

    my sound has stopped working i have speakers plugged in but computer doesnt register or recognize them. the volume is on mute and grayed out ...will not let me change,what can i do to fix this problem....i have tried unplugging and plugging back in and reset and headphones...nothing works..how do i get my sound back?

    OS X Mountain Lion: If you can’t hear sound from your speakers
    Read the "If you’re trying to listen through external speakers" section.

  • I have an iPod Touch version 4.2.1, and whenever iTunes tries to sync my iPod, I get an error message saying "Mobile Backup has encountered a problem and needs to close", and the sync fails.  What can I do to fix this problem?

    I have an iPod Touch version iOS 4.2.1, 8 G capacity, and whenever iTunes tries to sync my iPod, I get an error message saying "Mobile Backup has encountered a problem and needs to close", and the sync fails.  I have tried deleting and reinstalling iTunes, and the same thing happens.  What can I do to fix this problem?

    Try:
    iOS: If you can't back up or restore from a backup in iTunes

  • I have recently download the new pages, but from time to time my computer will revert back to the previous page software what can I do to fix this problem

    does anyone have a problem with the new page software? I am currrently running into the same problem with the old pages software re-appearing and any document that I had used with the new update, will not open. The system requires me to attempt to download a new version of page, when the newiest version has aleady been download and has been in operation.
    What can I do to fix this problem? I desire to use the new version at all times.
    Please help
    James

    You just have to be particular with which Pages version you are opening the document. use Right click on the document and choose the right version of Pages.

  • My Ipod touch is frozen.  Shows USB cable with arrow pointing to Itunes.  What is the problem?  This is the second one I have had that has done this!

    My Ipod touch is frozen.  The screen shows only USB cable with arrow point to the word Itunes.  What is the problem?  This is the second touch I have had that has this same problem.  HELP!

    This time try restoring the iPod to factory defaults/new iPod instead of from backup.  You may have some corruption that is causing the problem and it may now be in the backup.  If the problem persists after restoring to factory defaults/new iPod. then you likely have a hardware problem and ana ppointment at the Genius Bar of an Apple store is in order.

  • I am using iPhone 4 from the last one year and went dead and got it replaced by paying Rs.12500/- to Nyasa Sion Koliwada Mumbai Service Provider but now again after 38days the problem has started, what do i do? Is this is the quality & service we boost?

    I am using iPhone 4 from the last one year and went dead and got it replaced by paying Rs.12500/- to Nyasa Sion Koliwada Mumbai Service Provider but now again after 38days the problem has started, what do i do? Is this is the quality & service we boost? On visiting the store we get only one reply you may write to Apple directely. we have the similar kind of problem with iPad which is being used by my wife Mr.Neelam Vij and paid Rs.16000/- to get it replaced within a year & 6months use. so in totality we have paid Rs.28500/- + Rs. 3000/- diagnostic charges.
    1. iPhone 4 , 32 GB Black with Sr. No. 88******A4T
    2. iPad 2, 16GB White with Sr. No.DL*******KPH
    Moreover, we have no information to contact whom. even the replace set has a warranty of only three month which further confirm that Apple itself is not confident wheather product will last after replacement for more then three month. Such kind of happening do not encourage anyone to recomend this product to anyone. Would appriciate a faster response to our problem if someone from Apple is going to read this email.
    Thanks & Regards
    A K Vij
    <Personal Information Edited by Host>

    http://support.apple.com/kb/he57?viewlocale=de_de
    India
    (91) 1800 4250 744
    www.apple.com/in/support/
    hope it helps

  • Itunes 10.6.1.7 problem: when I change the file "media type" from 'Music' to 'Podcast' the file disapears from ITUNES. I do this via (1) right click, (2) select 'Get Info', (3) select 'options' tab, and (4) change media type. What is the problem?

    Itunes 10.6.1.7 problem: when I change the file "media type" from 'Music' to 'Podcast' the file disapears from ITUNES. I do this via (1) right click, (2) select 'Get Info', (3) select 'options' tab, and (4) change media type. What is the problem?

    Hi Memalyn
    Essentially, the bare issue is that you have a 500GB hard drive with only 10GB free. That is not sufficient to run the system properly. The two options you have are to move/remove files to another location, or to install a larger hard drive (eg 2TB). Drive space has nothing to do with SMC firmware, and usually large media files are to blame.
    My first recommendation is this: download and run the free OmniDiskSweeper. This will identify the exact size of all your folders - you can drill down into the subfolders and figure out where your largest culprits are. For example, you might find that your Pictures folder contains both an iPhoto Library and copies that you've brought in from a camera but are outside the iPhoto Library structure. Or perhaps you have a lot of purchased video content in iTunes.
    If you find files that you KNOW you do not need, you can delete them. Don't delete them just because you have a backup, since if the backup fails, you will lose all your copies.
    Don't worry about "cleaners" for now - they don't save much space and can actually cause problems. Deal with the large file situation first and see how you get on.
    Let us know what you find out, and if you manage to get your space back.
    Matt

Maybe you are looking for

  • Multiple Apple ID's on Single Mac - Manually choose Apps to Sync

    Scenario: 1 MacBook Pro, 3 iPhone 4s's. 3 Separate Apple ID's Different Apps purchased on different Apple ID's. Question: How can I tell iTunes not to sync apps on a particular iPhone individually. e.g. I download Videostar on iPhone 1, but no other

  • JVM Crash on Solaris

    Hi, We are seeing a pretty consistent crash thrown by our app when its been up for a while. I cant really see anything untoward in the dump files though, any ideas? Thanks Dave # An unexpected error has been detected by HotSpot Virtual Machine: # SIG

  • Firefox keeps opening in a new tab

    I continuously have to disable the option within Firefox to open new windows in a new tab instead. This seems to work properly for an intermittent amount of time and then randomly, I'll click a link and instead of being redirected to a new window, th

  • Af:tableSelectMany : not working

    Hi, In tableSelectMany I'm trying to update a column of all the rows selected to a specefic value. Im following the following link: http://blogs.oracle.com/Didier/2006/03/adf_sample_applications.html -- sample 5 In my case only the first of the selec

  • How to re-install Microsoft Office

    Hi there I've recently restored my Acer Aspire V5-122P back to factory settings. I have been trying to re-install Microsoft Office. As I have already paid for it, I was wondering if it is possible to reinstall it without having to buy it again. I hav