XML Custom Parser

I am tryint to write a custom XML parser but I am having trouble accessing the Value fields. I need to use one of the Value Fields to determine which parser I need to use for my custom Class Objects. Below is my sample code and a sample XML Document that I am trying to Parse. I hope that it will reformat. If not then I am sorry for the format.
public LibraryObject parse(InputStream p_file, ParserCallback p_callBack, Hashtable p_opts)
throws oracle.ifs.common.IfsException
XMLDocument xmlDoc = new XMLDocument();
IfsXmlParser parser = new IfsXmlParser(m_Session);
xmlDoc = parser.createDOM(p_file, false);
NodeList list = xmlDoc.getElementsByTagName("Value");
for (int i=0; i < list.getLength(); i++) {
printNodeInfo(list.item(i));
// This gives me a Type Casting error!
// Here is the problem
CharacterData temp = (CharacterData)list.item(i);
<?xml version='1.0'?>
<Records>
<Record>
<Field id='Remote_User' type='string' length='30'></Field>
<Field id='Time_Stamp' type='string' length='30'><Value>02/01/01 02:03:13 PM</Value></Field>
<Field id='Suspense_File' type='string' length='30'><Value>T:\teleform\bat\00000053\7H6CUO0000.tct</Value></Field>
<Field id='Remote_Uid' type='number' length='10'><Value>-1</Value></Field>
<Field id='Remote_Fax' type='string' length='30'><Value>Y087EY0000.TIF</Value></Field>
<Field id='Form_Id' type='number' length='10'><Value>18567</Value></Field>
<Field id='OrigPgSeq' type='string' length='128'><Value>0</Value></Field>
<Field id='Orig_File' type='string' length='128'><Value>T:\teleform\bat\00000053\HDKHBA0000.tct</Value></Field>
<Field id='SKFI_Zone_1' type='string' length='30'></Field>
<Field id='First_Name' type='string' length='15'><Value>Jason</Value></Field>
<Field id='Middle_Name' type='string' length='15'><Value>Paul</Value></Field>
<Field id='Last_Name' type='string' length='30'><Value>Adkison</Value></Field>
<Field id='Suffix' type='string' length='10'><Value>Mr</Value></Field>
<Field id='Address_1' type='string' length='50'><Value>5532 Overlook NE</Value></Field>
<Field id='Address_2' type='string' length='50'><Value>Albuquerque</Value></Field>
<Field id='Zip_Code' type='string' length='15'><Value>87111</Value></Field>
<Field id='Home_Phone' type='string' length='15'><Value>505-555-5555</Value></Field>
<Field id='Work_Phone' type='string' length='15'><Value>505-555-5555</Value></Field>
<Field id='E_Mail' type='string' length='20'><Value>[email protected]</Value></Field>
</Record>
</Records>

Jason
You are making incorrect assumptions regarding what is contained in the NodeList.
The folllowing should explain
public void doSomething(LibrarySession ifs)
throws IfsException
try {
InputStream is = new FileInputStream("c:\\temp\\testfile.xml");
IfsXmlParser parser = new IfsXmlParser(ifs);
XMLDocument xmlDoc = parser.createDOM(is,false);
xmlDoc.print(System.out);
NodeList nodes = xmlDoc.getElementsByTagName("Value");
for (int i=0;i<nodes.getLength();i++) {
Node node = nodes.item(i);
System.out.println("Node " + i + " is an instance of " + node.getClass());
System.out.println("The value of the Text for the Node is " + node.getFirstChild().getNodeValue());
} catch (java.io.IOException x) {
throw new IfsException(9999,x);
generates
Transaction Started.
<?xml version = '1.0'?>
<Records>
<Record>
<Field id="Remote_User"
type="string" length="30"/>
<Field id="Time_Stamp" type="string" length="30">
<Value>02/01/01 02:03:13 PM</Value>
</Field>
<Field id="Suspense_File" type="string" length="30">
<Value>T:\teleform\bat\00000053\7H6CUO0000.tct</Value>
</Field>
<Field id="Remote_Uid" type="number" length="10">
<Value>-1</Value>
</Field>
<Field id="Remote_Fax" type="string" length="30">
<Value>Y087EY0000.TIF</Value>
</Field>
<Field id="Form_Id" type="number" length="10">
<Value>18567</Value>
</Field>
<Field id="OrigPgSeq" type="string" length="128">
<Value>0</Value>
</Field>
<Field id="Orig_File" type="string" length="128">
<Value>T:\teleform\bat\00000053\HDKHBA0000.tct</Value>
</Field>
<Field id="SKFI_Zone_1" type="string" length="30"/>
<Field id="First_Name" type="string" length="15">
<Value>Jason</Value>
</Field>
<Field id="Middle_Name" type="string" length="15">
<Value>Paul</Value>
</Field>
<Field id="Last_Name" type="string" length="30">
<Value>Adkison</Value>
</Field>
<Field id="Suffix" type="string" length="10">
<Value>Mr</Value>
</Field>
<Field id="Address_1" type="string" length="50">
<Value>5532 Overlook NE</Value>
</Field>
<Field id="Address_2" type="string" length="50">
<Value>Albuquerque</Value>
</Field>
<Field id="Zip_Code" type="string" length="15">
<Value>87111</Value>
</Field>
<Field id="Home_Phone" type="string" length="15">
<Value>505-555-5555</Value>
</Field>
<Field id="Work_Phone"
type="string" length="15">
<Value>505-555-5555</Value>
</Field>
<Field id="E_Mail" type="string" length="20">
<Value>[email protected]
</Value>
</Field>
</Record>
</Records>
Node 0 is an instance of class oracle.xml.parser.v2.XMLElement
The value of the Text for the Node is 02/01/01 02:03:13 PM
Node 1 is an instance of class oracle.xml.parser.v2.XMLElement
The value of the Text for the Node is T:\teleform\bat\00000053\7H6CUO0000.tct
Node 2 is an instance of class oracle.xml.parser.v2.XMLElement
The value of the Text for the Node is -1
Node 3 is an instance of class oracle.xml.parser.v2.XMLElement
The value of the Text for the Node is Y087EY0000.TIF
Node 4 is an instance of class oracle.xml.parser.v2.XMLElement
The value of the Text for the Node is 18567
Node 5 is an instance of class oracle.xml.parser.v2.XMLElement
The value of the Text for the Node is 0
Node 6 is an instance of class oracle.xml.parser.v2.XMLElement
The value of the Text for the Node is T:\teleform\bat\00000053\HDKHBA0000.tct
Node 7 is an instance of class oracle.xml.parser.v2.XMLElement
The value of the Text for the Node is Jason
Node 8 is an instance of class oracle.xml.parser.v2.XMLElement
The value of the Text for the Node is Paul
Nod e 9 is an instance of class oracle.xml.parser.v2.XMLElement
The value of the Text for the Node is Adkison
Node 10 is an instance of class oracle.xml.parser.v2.XMLElement
The value of the Text for the Node is Mr
Node 11 is an instance of class oracle.xml.parser.v2.XMLElement
The value of the Text for the Node is 5532 Overlook NE
Node 12 is an instance of class oracle.xml.parser.v2.XMLElement
The value of the Text for the Node is Albuquerque
Node 13 is an instance of class oracle.xml.parser.v2.XMLElement
The value of the Text for the Node is 87111
Node 14 is an instance of class oracle.xml.parser.v2.XMLElement
The value of the Text for the Node is 505-555-5555
Node 15 is an instance of class oracle.xml.parser.v2.XMLElement
The value of the Text for the Node is 505-555-5555
Node 16 is an instance of class oracle.xml.parser.v2.XMLElement
The value of the Text for the Node is [email protected]
Transaction Completed.
Successful End of Program.
null

Similar Messages

  • Custom Parser for ESX version 3.5 machine

    Has anyone done a customer parser for a VMWARE ESX machine running version 3.5 software?
    We want the machine itself to report to MARS and we don't have any experience with the type of Device Event IDs which it produces. We are interested in things like login failures, account lockouts, and high CPU utilization messages.
    Pointing me in the right direction would be a big help and would be rated very positively.
    Thanks in advance.

    Hi again,
    I'm trying to write XML pareser implementing XmlParserInterface. I have implemented parse methods and used IfsXmlParser.CreateDOM to get parsed XMLDocument.
    As far as I know, my xml parser should be instaneiated by IfsXmlParser, which in turn calls one of parse methods. The problem is that XmlParserInterface doesn't contain constructors to implement. For example, interface Parser has constructor with argument of type LibrarySession.
    How I can get current LibrarySession from my XML parser? Should I implement both interfaces Parser and XmlParserInterface?
    Thanks for any help,
    Alexandre.
    PS: are Java sources of iFS available somewhere? It would be helpful to get knowledge of how the things working. There is no documentation for creating XML parsers. I have only found about writing usual custom parsers in Developer Guide and a little in iFS API. But that is very scant. :(((

  • How to activate a custom parser ?

    I have written a small custom parser which should deal with *.txt documents. If
    called by an application the parser works.
    Now, I have tried to register the parser
    in iFS so that it is invoked automatically
    whenever a *.txt file is submitted via one
    of the standard protocol servers (e.g. Smb).
    I put the *.class file of the parser in my $ORACLE_HOME/ifs/custom_classes directory and uploaded the following xml-file using ifsput into ifs (as system user):
    <?xml version="1.0" standalone="yes"?>
    <!--TxtParser.xml-->
    <PROPERTYBUNDLE>
    <UPDATE RefType="valuedefault">ParserLookupByFileExtension</UPDATE>
    <PROPERTIES>
    <PROPERTY ACTION="add">
    <NAME>txt</NAME>
    <VALUE DataType="String">TxtParser</VALUE>
    </PROPERTY>
    </PROPERTIES>
    </PROPERTYBUNDLE>
    The parser was successfully registered as the
    entry in the corresponding Register... dialog in the iFS manger shows, but it is not used. Its initialization message does not appear on any log and the insertion of a new *.txt file does not lead to the desired parser activity.
    Do I have to do some additional installation/registration procedures or
    must I deregister the default parser for txt somehow ?
    Greetings, Michael Skusa
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Mark_D_Drake():
    Given that the parser is not in a package can you tell me what happens when you insert a ".txt" file into the iFS.
    <HR></BLOCKQUOTE>
    I insert a file via SMB, but nothing
    happens. I neither get log entries nor any
    error messages. The file is stored correctly,
    but there is no parser activity. Even
    log files like those which are generated
    for xml files are not generated.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>
    Do you create any log file from you parser that might indicate whether or not the parser was instantiated. Could you post the code...
    <HR></BLOCKQUOTE>
    Currently I do not create log files. I write
    an initialization message to stdout, but
    I do not know where this message would appear
    when the parser is called by iFS.
    Perhaps a look at the code could help. Most
    of the code is a copy of an example from
    the iFS developer's guide.
    I just have modified the parse method.
    And I added a main method so that I can call
    the parser directly with a file from the
    local file system in order to test its
    functionality. This works as it should.
    But the automatic invocation by iFS does
    not work. I registered the "parser lookup"
    by uploading the xml configuration file
    (see earlier mails) with ifsput, which was
    successful.
    Registration by copying the xml file to iFS via SMB resulted in an error of the internal XML parser
    (root element expected in line 0, column 0).
    This is the code of my sample parser:
    import oracle.ifs.common.*;
    import oracle.ifs.beans.*;
    import oracle.ifs.beans.parsers.*;
    import oracle.ifs.beans.LibraryObject;
    import java.util.Hashtable;
    import java.io.*;
    class TxtParser implements Parser
    private LibrarySession session;
    public TxtParser (LibrarySession s) {
    session = s;
    System.out.println("TxtParser initialized.");
    public LibraryObject parse(InputStream stream , ParserCallback callback, Hashtable options) {
    return parse (new InputStreamReader(stream), callback, options);
    public LibraryObject parse(Reader reader, ParserCallback callback, Hashtable options) {
    try {
    // This part is copied from a sample program of the developer's guide
    DocumentDefinition newDocDef = new DocumentDefinition(session);
    String fileName = (String) options.get(Parser.CURRENT_NAME_OPTION);
    newDocDef.setAttribute("NAME", AttributeValue.newAttributeValue(fileName));
    Format f = (Format) session.getFormatCollection().getItems("Text");
    newDocDef.setFormat(f);
    newDocDef.setContentReader(reader);
    Document d = (Document) session.createPublicObject(newDocDef);
    String folderName = (String) options.get(Parser.CURRENT_PATH_OPTION);
    Folder target = (Folder) session.getRootFolder().findPublicObjectByPath(folderName);
    target.addItem(d);
    // look up a log file in ifs folder "public" and append a message
    Document log = (Document) session.getRootFolder().findPublicObjectByPath("/public/docs.log");
    InputStreamReader is = new InputStreamReader(log.getContentStream());
    StringBuffer buffer = new StringBuffer();
    char[] exchangeBuffer = new char[100];
    try{
    int read = is.read(exchangeBuffer);
    while (read > 0) {
    buffer.append(exchangeBuffer,0,read);
    read = is.read(exchangeBuffer);
    } catch (IOException e) {}
    buffer.append("\nfile "+fileName + " inserted into " + folderName);
    DocumentDefinition logDef = new DocumentDefinition(session);
    logDef.setContentReader(new StringReader(buffer.toString()));
    logDef.setAttribute("NAME", AttributeValue.newAttributeValue("docs.log"));
    log.free();
    log = (Document) session.createPublicObject(logDef);
    target = (Folder) session.getRootFolder().findPublicObjectByPath("/public/");
    target.addItem(log);
    return d;
    } catch (IfsException e) {
    e.printStackTrace();
    return null;
    public static void main (String[] args) throws Exception {
    LibraryService ifsService = new LibraryService();
    CleartextCredential me = new CleartextCredential("s cott","tiger");
    ConnectOptions connectOpts = new ConnectOptions();
    connectOpts.setServiceName("IfsDefault");
    connectOpts.setServicePassword("ifssys");
    LibrarySession ifsSession = ifsService.connect(me,connectOpts);
    TxtParser p = new TxtParser(ifsSession);
    Hashtable options = new Hashtable();
    if (args.length > 0) {
    options.put(Parser.CURRENT_NAME_OPTION,args[0]);
    options.put(Parser.CURRENT_PATH_OPTION,"/home/scott/Experimente/");
    FileInputStream f = new FileInputStream(args[0]);
    p.parse(f,null,options);
    ifsSession.disconnect();
    null

  • XML SAX parser that support  LexicalHandler

    Hello,
    I'm looking for an XML SAX parser that support a LexicalHandler.
    I have xml files that are not well formed, ie: (&, <, >, etc...) characters within tags and I need to ignore them.
    Anyone have a link to some opensource library ??
    Thanks,
    Samir

    Don't waste your time. Using a LexicalHandler isn't going to help with parsing malformed XML. You should get the person who produced those files to replace them with correct XML.
    PC&#178;

  • Some XML customizing not displayed correctly in graphic in PDF form

    Hello,
    we have following problem: We want to create a read-only PDF with an integrated graphic with analytical data.
    The PDF form is created with SFP. Data is extracted and the graphic rendered with the class CL_IGS_CHART_ENGINE.
    We used SAP chart designer and transformed the XML into our string.
    The graphic is displayed in our PDF, but some customizing settings in our XML are neglected, especially the font type, her only courier is displayed. Also some manual positions of legends don't work.
    When I display the chart in the SAP GUI using cl_gui_chart_engine everything works fine, so  I assume that the XML and the  transformation is correct.
    So where is the problem: Mime type? codepage? printing job?
    Thanks and Regards
    Andreas

    Hello,
    I would like to know what type of scenario do you use. Is that WD form? Or offline form?
    Based on the type, you may find your solution here:
    When you need to send a picture into the offline form: another image question - using Regular ABAP not web dynpro and Display a logo dynamically in adobe form
    For the WD form: /people/bhawanidutt.dabral/blog/2007/11/15/how-to133-integrate-adobe-form-on-webdynpro-for-abap-and-deploy-it-on-portal
    What MIME type (picture type) has your generated picture? JPG for example is ok, but for exotic types please check in your LCD (place Image on the layout and open the dialog for picture assignment, you can see the allowed picture types in there).
    Regards, Otto
    p.s.: What is the mentioned XML customizing? XML is the form of the femplate, but I have never customized anything IN THERE. Did you change the XML source manually? Or what type of changes are not managed correctly?

  • Using XDKs XML Schema Parser

    I want to parse an XML schema(XSD file) and extract the types from it, ComplexType etc. Does anyone know to even begin this. Ive managed to parse and any XML file sucessfully returning all element types,names and values using the DOM parser but cant seem to find suitable methods in the oracle.xml.parser.schema library. I have started along these lines
    XSDBuilder bob =new XSDBuilder();
    XMLSchema sch = (XMLSchema)bob.build(url);
    where URL is string referencing the xsd file. But after that all I can get is the targetnamespace using
    String display = sch.getSchemaTargetNS();
    Any help greatly appreciated.

    Srinivas,
    Thanks for the reply. But that is not my requirement.Suppose I have a schema representing the following xml
    <Student>
    <Name>ABC</Name>
    <Class>XYZ</Class>
    <Course>PQR</Course>
    </Student>
    When I parse the XML Schema representing the above XML, it should give me a Java object that represents this XML structure. (Similar to Document object that is obtained when we an XML is parsed)
    Hope this is more clear.

  • XML C++ Parser in Solaris 2.6 could not parse with encoding UTF-16

    I tried to use UTF-16 encoding in the XML C++ Parser in Solaris 2.6.
    xmlinit() fails and returns error 201 - i.e.Unknown encoding. Though the ORACLE documentation has many encodings including UTF-16. Quite a few of these encodings are not working.
    Can any one help about UTF-16.
    Thanks
    Vijay Kumar

    Do you have Oracle's NLS data files?

  • XML C++ Parser in Solaris 2.6 could not parse with base64

    I am using XML C++ Parser (version 2.0.4) in Solaris 2.6
    I am using the following definition in dtd file to process binary data.
    <!ELEMENT Agent (base64)>
    I have two problem from xmlparse() function.
    1. This declaration always produces a warning:
    LPX-00103: warning: document structure does not match DTD.
    2. This causes the parser to fail completely if the corresponding data is empty. This field needs to be optional.
    Any ideas how to handle this situation.
    Thanks in advance
    Vijay Kumar

    You can either turn off validation or read section 3.2 of http://www.w3.org/TR/1998/REC-xml-19980210 on how to write a proper DTD.
    null

  • Mars 6.1.2 custom parser error

    Hello!
    I have Cisco MARS 55 v. 6.1.2 (3466) 39.
    I'm trying to import custom parser fo Radware. I've already done it with older version of MARS (6.0.X) and everything was ok.
    But now I've getting "error processing package improt".
    What can be the reason for this error?
    Nick.

    I've trying to ipmport others custom pasers from this forum, getting
    the same problem.

  • NullPointerException in XML Schema Parser

    I have run the XML Schema parser across the sample xml files without problems, but when
    I try to run it against my own xml/xsd combo
    I get a null pointer exception. :-(
    Unfortunately the xml file and schema are
    not something that I can share openly.
    I can use gdb to get a traceback, but without the source I cannot get much more info:
    % jdb
    Initializing jdb...
    run XSDSetSchema SASOMI.xsd GetAllTables.xmlrun XSDSetSchema SASOMI.xsd GetAllTables.xml
    >
    VM Started:
    Exception occurred: java.lang.NullPointerException (uncaught) thread="main", oracle.xml.parser.schema.XSDBuilder.parseComplexTypeContent(), line=1074, bci=383
    main[1] where
    [1] oracle.xml.parser.schema.XSDBuilder.parseComplexTypeContent (XSDBuilder.java:1074)
    [2] oracle.xml.parser.schema.XSDBuilder.parseComplexType (XSDBuilder.java:905)
    [3] oracle.xml.parser.schema.XSDBuilder.parseTopLevelElem (XSDBuilder.java:466)
    [4] oracle.xml.parser.schema.XSDBuilder.buildSchema (XSDBuilder.java:367)
    [5] oracle.xml.parser.schema.XSDBuilder.build (XSDBuilder.java:223)
    [6] oracle.xml.parser.schema.XSDBuilder.build (XSDBuilder.java:206)
    [7] XSDSetSchema.main (XSDSetSchema.java:24)
    main[1] ?
    Any ideas as to how to proceed?

    A quick update on this.
    In case anybody is inclined to look into
    this problem, I have a testcase you can
    try:
    http://www.realtime.net/~mburns/xml/critters/Hawk1.xml
    and corresponding schema: http://www.realtime.net/~mburns/xml/critters/Critters.xsd
    null

  • XML C++ Parser on Tru64 UNIX

    Are there any plans to provide a version of the XML C++ Parser on Compaq Tru64 UNIX?
    Thanks and regards
    ...colin

    We do not currently support Compaq Tru64 UNIX. We have not yet made any announcement regarding this platform.
    Oracle XML Team

  • Is There An XML Schema Parser From Oracle ?

    Is XML parser available from oracle different from Xml Schema parser ? Is schema parser available at all ? Where can I download it ? I tried a brief search and could not find ?
    Help appreciated.
    Thanx
    Soorya

    Thank you. I got it. I am trying to validate against an existing schema. But it always enters the "XMLParseException" handler.
    Could you direct me to the documents which gives some examples ? or a 3 lines to validate would be helpful.
    Thanx again.
    Soorya
    null

  • How to retain prolog in output xml after parse the input xml

    Hi,
    I am using com.bea.xml.XmlObject.Factory.parse(String) method to parse a xml.
    Input XML is having prolog defore the root node.But after parse the xml using the above method, the prolog is not there in the Output XML.
    can any one help me to retain the prolog in Output XML as it is in Input XML......
    Thanks in advance..
    Regards,
    Deba

    Hi,
    The Input XML is like
    <?xml version="1.0" encoding="UTF-8"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
         <SOAP-ENV:Body>
         </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    But after parse the Output XML become
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
         <SOAP-ENV:Body>
         </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    But due to project requirement i want to keep the prolog(<?xml version="1.0" encoding="UTF-8"?>) as it is with Output XML after parse the xml.
    can i use any XMLOption while calling parse() method...Or any one have any otherway to retain prolog after parse ?
    please help me to get it .
    Thanks in advance.
    Regards,
    Deba

  • Variable xml and parser

    I have a String containing xml code and i want to parse ths string
    but method parse don't accept string so it returns "no protocol : String ".
    Could you helpe please, it's very important.
    my code (simplified):
    String entete_xml="<?xml version=\"1.0\" encoding=\"UTF-8\"?>";
    String xml=entete_xml+"<aaa><bbb>aaaa</bbb><essai>reussi</essai></aaa>";
    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
    DocumentBuilder builder = factory.newDocumentBuilder();
    doc = builder.parse(xml);

    builder.parse(new InputSource(new StringReader(xml)));

  • Trying to use XML SAX parser with JDK2 ...

    Hi,
    I'm pretty new to Java.
    I'm trying to write and use java sample using XML SAX parser. I try with XP and XML4J.
    Each time I compile it give me a error message like
    "SAX01.java:23: unreported exception java.lang.Exception; must be caught or declared to be
    thrown
    (new SAX01()).countBooks();
    ^
    Note: SAX01.java uses or overrides a deprecated API.
    Note: Recompile with -deprecation for details.
    1 error"
    For what I found, it seems that "deprecated" mean usage of old classes or methods. What should I do ?
    Wait for the XML parser to be rewrite ? ....
    Thank's
    Constant

    "SAX01.java:23: unreported exception
    java.lang.Exception; must be caught or declared to be
    thrown
    (new SAX01()).countBooks();
    ^Do this
    public static void main(String[] args) throws Exception {
    or do this
         try
                       first part of expression?(new SAX0()).countBooks();
         catch(Exception ex)     
              System.out.println("problem "+ ex);
    Note: SAX01.java uses or overrides a deprecated API.
    Note: Recompile with -deprecation for details.
    1 error"deprecation is just a warning if there are no errors elsewhere in your program it should compile fine, but if you want to find out how to change it do this:
    javac YourClassName.java -deprecation
    then look in the docs for an alternative.

Maybe you are looking for

  • G/L account code 379998 does not exist in company code

    Hi Guys, When i try to receive goods using MIGO encountered above error. I have checked the following, 1) Material Type: Value and qty update: Checked 2) Valuation class 3000 is in material master 3) Valuation class 3000 is listed under chart of acco

  • Power Surge ruined external drive

    Wonder if anyone can help? Am operating a Mac Pro at work and recently a power surge caused one of my WD books to corrupt... it's currently in the lab being worked on but needless to say that it was a bit of a nightmare and has prompted the purchase

  • Cost of extra RAM for newer MacBook Pro.

    I'm considering (checking my budget) buying a new MacBook Pro 15" for my wife. As she also needs to access some Windows programs, I want to bump the 4GB to 8GB. Does anyone know the cost for the extra RAM? Pete F.

  • SSIS file create file is corrupted on server but good from pc

    Still in development so running from VS 2008 not from Integration Services.  The package extracts from SQL to create a file in FTP site.  When I run the package from my pc all is well. But, when I run on the server I get "_x003C_none_x003E_4989_x003C

  • HT3951 iTunes on my iPhone 5 keeps displaying download error on all songs

    I am unable to download purchases made with phone or in I cloud but my partners iPhone 4S works fine.  I have tried sync, resetting phone, de-authourise, switching off match! Can any please help?