� XML Api for 1.3 java version?

Hello friends!! I need a little help...
I always have work in my programms with jbuilder, using java 1.3 version. The programs after will be installed in pc's where have de jre 1.3 or the 1.4 java version.
I need now to do a module wich need to work with XML.. exactly read xml only, for take some information.
I tried to use an famous api i have discover by "google":
import org.xml.sax.*But it not works in java 1.3!! Only for 1.4 or supperior...
Do you know any api for work with xml compatible with 1.3? I've tried to look this for google.com but it's a very complicated for me...
Thanks, all i need is the name : )

If you need to work with java 1.3 you can use the Xerces XML parser
http://xerces.apache.org/xerces2-j
You only have to download it and add the jars to your classpath (see the xerces documentation for details)
Xerces-J also contains the org.xml.sax.* package
http://xerces.apache.org/xerces2-j/javadocs/api/index.html

Similar Messages

  • What is the good voice xml api for java

    dear buddies,
    what is the best voice xml api for java? has somebody comeacross and work involving this, i would like to hear more about this
    thanks
    Kuha

    Maybe the VXML forum is a better place: http://www.voicexml.org/
    Good luck.

  • Any practical help about XML API for databases

    HI friends,
    I have a problem, i want to connect to my Database using JSP but by using XML api for database. I want to MAP my database tables, rows columns as xml elements to make it more flexible. Anyone who had practicaly worked on it, please help me out.
    I am waiting for a quick response.
    Thanks for any help in advance,
    Yours Truly,
    Khawaja Salman Sarfraz

    Some databases have a feature that allows you to output the result of a query as XML. But that's not standard SQL, and it probably varies from one DB to the next. Look up the documentation for your DB for more information.

  • What is newest/best/simplest Java XML API for loading/saving/validating?

    Here's what I need to do:
    - Load XML files. Preferably validate using XSD validation referenced by "xsi:schemaLocation" hints.
    - Generate XML files. I'd like to be able to specify indentation (tabs?) and "xsi:schemaLocation" XSD hints
    - I'm working with fairly small configuration files, so I'd like to work with document-centric (and not streaming oriented) APIs.
    I've spent a full day reading articles showing different code snippets for different APIs. There are dozens of standards and APIs. Also, all the articles that I can find are several years old at the least.
    This is surprisingly complex for something so seemingly simple.
    What's the best XML API that fits my criteria? Any links for code snippets and up-to-date documentation?
    Thanks!

    Well, XML hasn't changed since it was formalized, and that was in 1999. So there's really no need for people to write new parsers every couple of years any more. And that's why you don't find new tutorials being written every year either. There's really not much need for that.
    Anyway, my recommendation would be to use the classes that are built into your current version of Java. Use them for a while. Once you have experience with them, all those tutorials about other products will start to make sense and you will be able to make an educated decision for yourself.

  • [METASOLV XML AP]devolop JAVA client using XML API for metasolv application

    Hi All,
    I am new in this group, and I need to help me to develop a java client to communicate with metasolv application using XML API.
    I read "XML API Developer’s Reference" document, but I still not understand how can I setup the cllient.
    I still need:
    1- What API needed(jar files) I must use to build the client
    2- A sample of source code using java.
    3- detailed guide to communicate with metasolv application using XML API.
    Thanks&Best Regards
    RADOUANE Mohamed

    any help please!!!!

  • Need XML APIs for finding server status details

    Hi,
    Can any one help me with the XML API format for finding server status details like Admin State,Avail State,Assoc State,etc.
    Thanks and Regards
    -Prateek

    Here is a very basic example.  I pulled out all the extra error trapping / logging.  I have been building a module that simplifies  most of this .. will produce simple Dumper output for what you are generally looking to do.
    The below example will connect to a default UCSM emulator ( http://developer.cisco.com/web/unifiedcomputing/start ) .. just change IP to match.  If you want a significantly more detailed information ( hierarchical ) ... change inHierarchical="false" to  inHierarchical="true".
    Let me know if you want something more specific.
    #!/usr/local/bin/perl
    use strict;
    use warnings;
    use Data::Dumper;
    use LWP::UserAgent;
    use HTTP::Request::Common;
    use XML::Simple;
    use POSIX;
    $Data::Dumper::Purity = 1;
    $Data::Dumper::Useqq = 1;
    ### Configurables
    my $ucsm = "10.#.#.#";
    my $user = "config";
    my $pass = "config";
    my $proto = "http";
    my $cookie;
    my $xml = XML::Simple->new();
    my $xml_blade = XML::Simple->new(ForceArray => ['computeBlade']);
    ## Setup User Agent
    my $ContentType = "application/x-www-form-urlencode";
    my $userAgent = LWP::UserAgent->new(agent => 'perl post');
    $userAgent->timeout(5);
    &connect;
    my $blades = &getblade;
    print Dumper $blades;
    &disconnect;
    ### Subroutines
    sub connect {
       my $message = q();
       print 'http://'.$ucsm.'/nuova\n';
       my $response = $userAgent->request(POST $proto.'://'.$ucsm.'/nuova', Content_Type => $ContentType, Content => $message);
       my $xml_ref = $xml->XMLin($response->content);
       $cookie = $xml_ref->{outCookie};
    sub getblade {
       my $message = q();
       my $response = $userAgent->request(POST $proto.'://'.$ucsm.'/nuova', Content_Type => $ContentType, Content => $message);
       my $xml_ref = $xml_blade->XMLin($response->content, keyattr => []);
       return $xml_ref->{outConfigs};
    sub disconnect {
       my $message = q();
       my $response = $userAgent->request(POST $proto.'://'.$ucsm.'/nuova', Content_Type => $ContentType, Content => $message);

  • API for converting a Java object into XML?

    Do you know of any Java API that I could use to convert a Java
    object into its equivalent XML representation?
    For example if I have a class called "Foo" with variables va, vb
    and I have an instance of Foo with va having the value 1 and vb
    having the value 2, I would like be able to generate the
    following XML fragment:
    <Foo>
    <va>1</va>
    <vb>2</vb>
    </Foo>
    Thanks,
    -- Rob
    null

    Rob Tan (guest) wrote:
    : Do you know of any Java API that I could use to convert a Java
    : object into its equivalent XML representation?
    : For example if I have a class called "Foo" with variables va,
    vb
    : and I have an instance of Foo with va having the value 1 and
    vb
    : having the value 2, I would like be able to generate the
    : following XML fragment:
    : <Foo>
    : <va>1</va>
    : <vb>2</vb>
    : </Foo>
    : Thanks,
    : -- Rob
    There is none that I know of.
    Oracle XML Team
    http://technet.oracle.com
    Oracle Technology Network
    null

  • How to create a xml element for Text with Java?

    Hi @ all,
    I want to tag a part of a text with Java.
    Like the InDesign function "Tag für Text" (maybe "tag for text" in english)
    Is there a way to tag text with Java?
    I tried to autoTag and to markup the text with an existing xml, but only got IdsExceptions.
    here the code where to tag the text:
    XMLElement newXML = parentXML.addXMLElement(VariableTypeUtils.createString("newXML"),OptArg.noVariableType());
    Text[] texts = para.findText(OptArg.noBoolean());
    for (Text text : texts)
       //TODO tag text
    Exception throwing code:
    text.autoTag();
    text.markup(newXML);
    newXML.markup(VariableTypeUtils.createObject(text));

    This is not a Web Dynpro specific question. This forum is for Web Dynpro specifc development aspects. There are other forums for general ABAP development as well as other specific aspects of ABAP development.
    I strong suggest that you review the rules of engagement for forum involvement, Derek.  You have had multiple violations of the rules in the last week.

  • Calling default XML editor for system in Java

    I'm looking for a way to call the system's default editor for xml files from a Java application. In other words, if I'm running on a Windows system, I might want to start Notepad, or if I'm on a Mac, maybe I want to start TextWrangler or oXygen, etc.
    Essentially, I want to pass down an XML file to the system and have the underlying system determine the default editor, and then open the file in that editor.
    I've seen some code using Runtime.getRuntime().exec("cmd /c notepad.exe") and the like, but that assumes
    a) I know what the default editor for XML on the system is
    b) I know the executable path for this file
    I don't have a way of knowing either of those assumptions. Can anyone suggest ways for me to solve this bind?

    You might want to check out the Desktop class which "allows a Java application to launch associated applications registered on the native desktop to handle a URI or a file" including "launching a registered application to open, edit or print a specified file".
    But note: "The mechanism of registereing, accessing, and launching the associated application is platform-dependent." In particular if there is no association between file/URI and application all you get is a IOException at the time you call open().

  • Secret key cipher for two different Java versions

    Hello All.
    I am trying to make a class that uses secret key encryption/decryption for both v1.18 and v1.3.1. That is the same class needs to be useable on both versions. Is this possible? v1.18 does not recoginize any javax.crypto.*. I was able to get the cipher working the way I wanted in just v1.3.1, but not v1.18.
    Any suggestions would be very appreciated.
    No upgrade at this time is possible.
    Thank you in advance,
    Jen

    You can use BouncyCastle JCE.
    http://www.bouncycastle.org/latest_releases.html
    Add the good jar file corresponding to JDK version,
    and you'll be able to use the same code.

  • API for Excel thro JAVA

    Hello,
    Could any one help me with a better class/Jar other than JXL.jar for MS-EXCEL access though java program...
    Appreciate it.
    Regards
    Shan

    thanks alot for your immediate assistance.
    Regards
    Shanyou're welcome. I'm currently working on a similar dilemma. :)

  • Java version "1.4.2_14" - For Intel Xeon Processor

    Hello
    Can some one plese give me link to below java version - I am looking for INTEL system.
    java version "1.4.2_14"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_14-b05)
    Java HotSpot(TM) 64-Bit Server VM (build 1.4.2_14-b05, mixed mode)
    Appreciate your help
    Basisdude

    Hi,
    you can find it here:
    http://java.sun.com/products/archive/j2se/1.4.2_14/index.html
    Just choose Download J2SDK with Windows.
    Cheers,
    Anja

  • Use Java version 6 update 7 and ASDM 7.1.3

      ASDM access to 5500 using Java was just a frustrating experience. If you manage only one device you may not notice the pain. But if you are managing multiple devices with some device 'forbidden' to update ASA firmware, it is very frustrating. I spend few days looking at the issue and came to a conclusion and decided to post to guide all newer VPN admins who will go through the same pain and hopefully we can reduce some combined wasted time. No thanks to Cisco. This is not a guide but a start point of a dicussion and all input are welcome.
      Recommended Beginning Setup for New Admin :
      Java Version 6 Update 7      
      ASDM 7.1(3)
      Reason for recommendation :
      a. There doesn't seem to be any recommendation to where to start your ASDM journey. So here. Start from here. Attached PDF is simple list of Java version and its release date. http://en.wikipedia.org/wiki/Java_version_history Version 6 Update 7 is unique in that it is the last version to support Win 9x. Why is that important? ASDM is written on Win 9x interface.
      b. It is a very old 2008 release. So why use such an old security cesspool of a product as a base? Security of newer version of Java isn't any better. Recommendation of Java use is to not use it. Java isn't secure. '.' But Cisco is insisting on using it. Shame on Cisco and this ASDM Java debacle is a shameful thing that Cisco even now can't careless.
      c. Attached is the list of release date of Java and Cisco products. ASDMS for FWSM range from 2007-2010, ASA 5500 and PIX 2007-2008, ASA 2010-2013. 2008 seems to fit quite nicely in the middle. Very scientific .
      Recommendation after gaining full access
      a. Update ASA and ASDM firmware to latest. ASDM 7.1.3 has same interface as much older ASDM. Kudos to Cisco on that.. 
      b. Write to US-CERT and CC Cisco to have them remove Java on their key platform. (Android too.. <- now, there's a joke!)

    UPDATE 2...
    ASDM ASA management platform has a major flaw. Different version require different version of Java JRE(Runtime Environment). One would think latest version should be backward compatible. It isn't so.
    So far Java Version 6 and Update 7 has been most compatible for my work. But NSP and other management console also require JRE and they unlike Cisco works well with the latest version but not with older version.
    Keeping and working with multiple version of JRE is a pain because JRE does not have proper control to support that automatically. One way to accomplish launching different version of JRE instead of default is use of command-line.
    In ASDM's shortcut icon properties, add version information in "target:". Find out JRE versions installed in your system under C:\Program Files (x86)\Java. Add option -version:"1.6.0_07" to specify which version to use. My example is JRE version 6 update 7.
    Original line :
    C:\Windows\SysWOW64\javaw.exe -Xms64m -Xmx512m -Dsun.swing.enableImprovedDragGesture=true -classpath lzma.jar;jploader.jar;asdm-launcher.jar;retroweaver-rt-2.0.jar com.cisco.launcher.Launcher
    Modified line :
    C:\Windows\SysWOW64\javaw.exe -version:"1.6.0_07" -Xms64m -Xmx512m -Dsun.swing.enableImprovedDragGesture=true -classpath lzma.jar;jploader.jar;asdm-launcher.jar;retroweaver-rt-2.0.jar com.cisco.launcher.Launcher
    http://docs.oracle.com/javase/6/docs/technotes/tools/windows/java.html
    #ASDM #JAVA #JRE

  • Java - version does not return the version??

    Hi,
    The following is from a cmd window
    C:\Program Files\JavaSoft\JRE\1.2\bin>java -version
    C:\Program Files\JavaSoft\JRE\1.2\bin>
    It seems to be missing the expected:
    java version "1.2.2"
    Classic VM (build JDK-1.2.2_006, native threads, symcjit)
    Another side effect is that any application using java to launch creates a java process (briefly observed through task manager) and then dies almost instantly.
    The machine is a Win2000 Server running JRE 1.2.2_006, I've tried uninstalling, re-installing, rebooting (between unistalling and reinstalling), setting the path and classpath variables to nothing and running from the folder.
    Anyone seens this before? know what the resolution is?
    Thanks
    Dave

    Thanks for the response, I've already tried that with no success.
    It appears that it might be related to the fact that it's installed on a VMWare machine.
    The java -version command works fine on the VMWare machine when the VM is running on the host machine that it was built on, however when the VMWare machine was moved to a new host it seems that when you run the java interpreter it launches and then just dies??
    I still don't have an answer for why the Java -version does not work.
    As I said before I have uninstalled and reinstalled JRE 1.2.2 a couple of times with no success, however a workaround appears to be to install the JRE 1.3.1.
    After installing JRE 1.3.1 the java -version command works, fortunately the java applications I am using 'seem' to be compatible (with a few modifications to path variables etc) with the 1.3.1 version�.
    Thanks
    Dave

  • Can I get the Java version of mobile tv with the r...

    I would like to know how to get the Java version of mobile tv with the removed mobile tv application, so I can view the Sky EPG programme guide on my E90.
    Can anyone tell me how I can get it please. The version from sky will not work but reading other posts on here suggests that the java version might.
    Please help.
    Solved!
    Go to Solution.

    Sky have made it near impossible to get this application on current phones.
    Luckily for you the java version is available for download as part of this useful guide.
    The instructions are for the N95 but should work on an E90. I've got it working on an N82 and N96 at the moment.
    Just a note about the java app: It says it's for a sony but it works perfectly on a nokia. Not sure how it will look on the E90's big screen so if it doesn't work try the front screen.
    Message Edited by psychomania on 14-Nov-2008 10:42 AM

Maybe you are looking for

  • How to Keep Default Layout of ALV

    I changed layout of ALV, then pressed button "Enter" but not "Save". But when I entered the screen again, the layout was changed to the setting which I changed last time, not default setting. Source code is shown below.      DATA lt_acc_bal_fcat TYPE

  • Deleting duplicate records

    Hi, Can I know is there any way to delete the duplicate recors in the internal table? The code i'm using seem not working.Thanks. SELECT *   INTO CORRESPONDING FIELDS     OF TABLE  i_pa0009      FROM pa0001 INNER JOIN pa0009     ON pa0001pernr = pa00

  • Why has my iPhone 4 shut down and why won't it turn back on?

    Please help! My iPhone 4 has randomly turned itself off and I can't get it to turn back on again. It was fully charged last night, but despite this, I tried plugging it in again in case that was the issue, but nothing. Worried I'm going to lose photo

  • Maxium number of total delivery units in a sales order

    Is there a way to check the maxium number of delivery units in a sales order without writing code? This to image this: In the Material Master I have this situation Material 1 Master 50CS = 1 delivery unit Material 2 Master 70CS = 1 delivery unit Mate

  • Switching to Develop module causes crash in Lightroom 4.2

    I recently updated Lighroom 4.1 to 4.2 successfuly, but now any time I go into the Develop module, Lightroom pauses, then crashes and forces me to quite the program.  Is this a bug than needs to be ironed out, or is there something else going on?