Wrong XML parsing in Java  6.0 , the same code works fine with Java 5.0

I have the following xml data in a file ( C:\_rf\jrebug.xml ) :
<?xml version="1.0" encoding="UTF-8"?>
<rs>
     <data
          input3='aa[1]'
          input4='bb[1]'
          input6='cc[2]'
          input8='dd[7]'
          output2='ee[7]'
          output4='ff[511]'
          output6='gg[15]'
          output7='hh[1]'
     />
</rs>
I have the following code to parse this XML data :
import java.io.IOException;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.NamedNodeMap;
import org.w3c.dom.NodeList;
import org.w3c.dom.Node;
import org.xml.sax.SAXException;
import org.xml.sax.ErrorHandler;
import org.xml.sax.SAXParseException;
public class DomParserBug {
     Document dom;
     public void runExample() {
parseXmlFile("C:\\_rf\\jrebug.xml");
          parseDocument();
     private void parseXmlFile(String filename){
          //get the factory
          DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
          //dbf.setValidating(true);
dbf.setValidating(false);
          try {
               //Using factory get an instance of document builder
               DocumentBuilder db = dbf.newDocumentBuilder();
               db.setErrorHandler(new MyErrorHandler());
               //parse using builder to get DOM representation of the XML file
               dom = db.parse(filename);
          }catch(ParserConfigurationException pce) {
               pce.printStackTrace();
          catch(SAXParseException spe) {
               spe.printStackTrace();
          catch(IOException ioe) {
               ioe.printStackTrace();
          catch(SAXException se) {
               se.printStackTrace();
private void parseDocument()
Element docEle = dom.getDocumentElement();
NodeList nl = docEle.getElementsByTagName("data");
if(nl != null && nl.getLength() > 0)
for(int i = 0 ; i < nl.getLength();i++)
Element el = (Element)nl.item(i);
NamedNodeMap attrsssss = el.getAttributes();
for (int ii=0; ii<attrsssss.getLength(); ++ii)
Node attr = attrsssss.item(ii);
System.out.println("Attribute name is =" attr.getNodeName() " AND Attribute value is ="+attr.getNodeValue());
     public static void main(String[] args){
          DomParserBug dpe = new DomParserBug();
          dpe.runExample();
     class MyErrorHandler implements ErrorHandler {
          public void error(SAXParseException e) {
          System.out.println("error : " +e.toString());
     // This method is called in the event of a non-recoverable error
     public void fatalError(SAXParseException e) {
     System.out.println("fatalError : " +e.toString());
     // This method is called in the event of a warning
     public void warning(SAXParseException e) {
     System.out.println("warning : " +e.toString());
The parsed output is :
Attribute name is =input3 AND Attribute value is =aa[1]
Attribute name is =input4 AND Attribute value is =bb[1]
Attribute name is =input6 AND Attribute value is =cc[2]
Attribute name is =input8 AND Attribute value is =dd[7]
Attribute name is =output2 AND Attribute value is =ee[7]
Attribute name is =output4 AND Attribute value is =ff[511]
Attribute name   is  =output6 AND Attribute value  is =hh[1]]
Attribute name   is  =output7 AND Attribute value  is =hh[1]
THE LAST TWO LINES ARE SIMPLY WRONG.
With java 5.0 the last two lines are parsed correctly :
Attribute name   is  =output6 AND Attribute value  is =gg[15]
Attribute name   is  =output7 AND Attribute value  is =hh[1]
I have seen this issue only after I upgraded to java 6.0. I have searched the java 6.0 bug database but there is nothing there.
I have also submitted a bug to the bugdatabase last month but have not heared anything.
Anybody have any clue about this ???
Thanks
Edited by: skaushik on Jan 4, 2008 12:40 AM
Edited by: skaushik on Jan 4, 2008 6:38 PM

I have seen similar issue. I found that if you remove the square brackets from the first line in teh XML file, the last two lines are parsed correctly.
Replace the follwing line : :
Attribute name is =input3 AND Attribute value is =aa[1]
with :
Attribute name is =input3 AND Attribute value is =aa
and the output is CORRECT :
Attribute name is =input3 AND Attribute value is =aa
Attribute name is =input4 AND Attribute value is =bb[1]
Attribute name is =input6 AND Attribute value is =cc[2]
Attribute name is =input8 AND Attribute value is =dd[7]
Attribute name is =output2 AND Attribute value is =ee[7]
Attribute name is =output4 AND Attribute value is =ff[511]
Attribute name   is  =output6 AND Attribute value  is =gg[15]
Attribute name   is  =output7 AND Attribute value  is =hh[1]

Similar Messages

  • Cant open web pages when connected to the internet via Telstra's Pre Paid WiFi has anyone else had the same issues works fine with BigPond WiFi

    Cant open web pages when connected to the internet via Telstra's Pre Paid WiFi (this connection is working on other devices) has anyone else had the same issues, works fine with BigPond Wifi

    and now, when i tried to check again my network preference below the airport tab is showing a message that
    "my airport does not have an IP address and cannot connect to the internet!"
    then after seconds it will goes back to the first message that
    "airport has the self assigned IP address etc....."
    i don't know whats going on now!
    airport tab is not showing green color anyway! i'ts always in yellow!
    i tried turning it on and off but nothing happen! HEEELLLLPP!!!!

  • Many website will not open pdf files with firefox yet the same pages work fine with internet explorer default app

    Typically, I have to use the default android internet app to view pdf files on my android. The last page I tried was my progressive website to view my policy documents. Firefox just does nothing when I click on a pdf file. When I go to the download folder, the file is there but has 0kb size (or empty). The default android app goes right to download and shows up in the top android status menu showing it is downloading.
    This problem has been around for a long time now and is still not resolved.

    Here is one I just tried. It works on my ipad2. When using my android, the file shows up in the download folder, but as usual it is an empty file. Even when the pop for "view file in cloud viewer" is choosen, it loads a blank page.
    http://www.carlsalter.com/harley-service-manuals.asp
    then choose the 2nd file in the list, file named "harley_davidson_flh electra glide 1970 owners manual v2_2"

  • Japanese characters alone are not passing correctly (passing like ??? or some unreadable characters) to Adobe application when we create input variable as XML data type. The same solution works fine if we change input variable data type to document type a

    Dear Team,
    Japanese characters alone are not passing correctly (passing like ??? or some unreadable characters) to Adobe application when we create input variable as XML data type. The same solution works fine if we change input variable data type to document type. Could you please do needful. Thank you

    Hello,
    most recent patches for IGS and kernel installed. Now it works.

  • I have a production mobile Flex app that uses RemoteObject calls for all data access, and it's working well, except for a new remote call I just added that only fails when running with a release build.  The same call works fine when running on the device

    I have a production mobile Flex app that uses RemoteObject calls for all data access, and it's working well, except for a new remote call I just added that only fails when running with a release build. The same call works fine when running on the device (iPhone) using debug build. When running with a release build, the result handler is never called (nor is the fault handler called). Viewing the BlazeDS logs in debug mode, the call is received and send back with data. I've narrowed it down to what seems to be a data size issue.
    I have targeted one specific data call that returns in the String value a string length of 44kb, which fails in the release build (result or fault handler never called), but the result handler is called as expected in debug build. When I do not populate the String value (in server side Java code) on the object (just set it empty string), the result handler is then called, and the object is returned (release build).
    The custom object being returned in the call is a very a simple object, with getters/setters for simple types boolean, int, String, and one org.23c.dom.Document type. This same object type is used on other other RemoteObject calls (different data) and works fine (release and debug builds). I originally was returning as a Document, but, just to make sure this wasn't the problem, changed the value to be returned to a String, just to rule out XML/Dom issues in serialization.
    I don't understand 1) why the release build vs. debug build behavior is different for a RemoteObject call, 2) why the calls work in debug build when sending over a somewhat large (but, not unreasonable) amount of data in a String object, but not in release build.
    I have't tried to find out exactly where the failure point in size is, but, not sure that's even relevant, since 44kb isn't an unreasonable size to expect.
    By turning on the Debug mode in BlazeDS, I can see the object and it's attributes being serialized and everything looks good there. The calls are received and processed appropriately in BlazeDS for both debug and release build testing.
    Anyone have an idea on other things to try to debug/resolve this?
    Platform testing is BlazeDS 4, Flashbuilder 4.7, Websphere 8 server, iPhone (iOS 7.1.2). Tried using multiple Flex SDK's 4.12 to the latest 4.13, with no change in behavior.
    Thanks!

    After a week's worth of debugging, I found the issue.
    The Java type returned from the call was defined as ArrayList.  Changing it to List resolved the problem.
    I'm not sure why ArrayList isn't a valid return type, I've been looking at the Adobe docs, and still can't see why this isn't valid.  And, why it works in Debug mode and not in Release build is even stranger.  Maybe someone can shed some light on the logic here to me.

  • Unable to login to Facetime / Messages but the same id works fines on iTunes?

    I am unable to connect to the Facetime / Messenger using my Apple Id where as the same id works fine on iTunes. I am correctly using an ADSL wifi at home. And I have upgrade my iPod generation 4 to OSi5. Would appreciate if you all could help me fix this issue.

    LesHarg wrote:
    Hello
    I use Windows Live Mail to download my emails. This is working fine on two computers for other BT Internet and Gmail accounts. But one of my main BT accounts consistently receives the following messages on both computers:
    Unable to send or receive messages for the Btinternet (xxx) account. 
    Server Error: 0x800CCC90
    Server Response: -ERR inactivity timeout
    Server: 'mail.btinternet.com'
    Windows Live Mail Error ID: 0x800420CD
    Protocol: POP3
    Port: 110
    Secure(SSL): No
    Unable to send or receive messages for the Btinternet (xxx) account. Your server has unexpectedly terminated the connection. Possible causes for this include server problems, network problems or a long period of inactivity.
    Server: 'mail.btinternet.com'
    Windows Live Mail Error ID: 0x800CCC0F
    Protocol: POP3
    Port: 110
    Secure(SSL): No
    The messages for this account are available via webmail, and sending an email works. 
    I've tried BT Desktop Help, but this simply sends me in the direction of standard advice pages. I have no reason to think the settings are wrong. 
    Could anyone suggest what is going on here please?
    Hi. Welcome to the forums.
    For starters, the recommendation by many people is to uninstall BT Desktop help.
    If this has always been the case, rather than a sporadic issue, then it could be an account problem that seems to plague some accounts - and has done for years. Hopefully the changeover from Yahoo! to Critical Path will cure this particular issue. Try the other settings mentioned by Keith.
    Even though some accounts are fine, there is still a possibility that your local security software can interfere. For example if you have email scanning turned on - then this can be turned off to see if that helps.
    http://www.andyweb.co.uk/shortcuts
    http://www.andyweb.co.uk/pictures

  • My charger just stopped working. The cord has no visible damage and the plug box works fine with other phone cords. I've had my phone

    My charger just stopped working. The cord has no visible damage and the plug box works fine with other phone cords. I've had my phone for less than four months now. Will Apple provide a new charger if theirs is faulty? I have not dropped it in water or anything. It was a normal day and I had 20% battery and I tried to charge my phone and it wouldn't charge. The charging pug box works fine with other phone USB cords so I know its something to do with the charging cord.

    Eklms wrote:
    My charger just stopped working. The cord has no visible damage and the plug box works fine with other phone cords. I've had my phone for less than four months now. Will Apple provide a new charger if theirs is faulty?
    Yes.
    Everything is included in the warranty.

  • Running the same code multiple times with different paramters automatica​lly

    Hi guys,
    I want to run the same code multiple times with different paramters automatically. Actually, I am doing some sample scans which takes around 2 hours n then I have to be there to change the paramters and run it again. Mostly I do use folowing paramters only
    X_Intial, X_Final, X-StepSize
    Y_Intial, Y_Final, Y-StepSize
       Thanks,
    Dushyant

    All you have to di is put all of the parameters for each run into a cluster array. Surround your main program with a for loop and wire the cluster array through the for loop. A for loop will autoindex an input array so inside the for loop you just have to unbundle the cluster to get the parameters for each run.
    Message Edited by Dennis Knutson on 07-13-2006 07:50 AM
    Attachments:
    Cluster Array.JPG ‏9 KB

  • My up to date iMac can not read the lightroom 5 installation dvd I received for christmas, the dvd player works fine with other dvd's, is there a way to download the program with the dvd's serial number?

    my up to date iMac can not read the lightroom 5 installation dvd I received for christmas, the dvd player works fine with other dvd's, is there a way to download the program with the dvd's serial number?

    No need to worry about the disk version. You would just have to install an update anyway as soon as it was installed. Download from the link provided below and use the serial number you have to activate.
    Product updates

  • "Window" drop-down shows no windows, if it's the 'primary' window; works fine with all other windows.

    The first time I opened Firefox after the 'upgrade' to 34.0.5, it restored all of my windows and tabs from the previous session, as it should. But the Window drop-down showed only "Minimize" and "Zoom", and didn't list any windows, not even the one I was in (I'll call it the 'primary', since it's the one that was listed first). If all of the windows were minimized, I would have nothing, but once I made a new window, all of the windows would show up in the Window drop-down. After some trial-and-error, it appears to happen *only* when the active window is the 'primary', it works fine when any other window is active.
    How can this be fixed?

    As I stated I already did this and it was not helpful. The drive is not near capacity, but I could not give you an exact answer on how full it is. I know my data is still there as I can see items but just cannot access any windows or menu items as no text is displayed.

  • Working fine with JAVA code and Error Occured while using in JSP

    Hi.....
    When initiating a BPEL process from JAVA the code is working fine and the Process is getting initiated.But while using that code in J2EE project as a java code and while calling that method Error is occuring.....
    Here by i am attaching my JAVA Code which runs as an applicateion and package which runs in Server....
    JAVA Code (Run as Application) Working Fine:
    package bo;
    import com.oracle.bpel.client.Locator;
    import com.oracle.bpel.client.NormalizedMessage;
    import com.oracle.bpel.client.delivery.IDeliveryService;
    import java.util.Map;
    import java.util.Properties;
    import oracle.xml.parser.v2.XMLElement;
    /*import javax.servlet.RequestDispatcher;
    import javax.servlet.ServletConfig;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest ;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.http.HttpSession; */
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    public class processit {
         public static void main(String args[]){
              String input = "TATA";
              String xmlInput= "<ns1:AccessDBBPELProcessRequest xmlns:ns1=\"http://xmlns.oracle.com/AccessDBBPEL\"><ns1:input>"+input+"</ns1:input></ns1:AccessDBBPELProcessRequest>";
              String xml="<ns1:BPELProcess1ProcessRequest xmlns:ns1=\"http://xmlns.oracle.com/BPELProcess1\">";
              xml=xml+"<ns1:input>"+input+"</ns1:input>";
              xml=xml+"</ns1:BPELProcess1ProcessRequest>";
              try{
              Properties props=new Properties();
              props.setProperty("orabpel.platform","ias_10g");
              props.setProperty("java.naming.factory.initial","com.evermind.server.rmi.RMIInitialContextFactory");
              props.setProperty("java.naming.provider.url","opmn:ormi://157.227.132.226:6003:home/orabpel");
              props.setProperty("java.naming.security.principal","oc4jadmin");
              props.setProperty("java.naming.security.credentials","oc4jadmin");
              props.setProperty("dedicated.rmicontext", "true");
              Locator locator = new Locator("default", "bpel", props);
              System.out.println("After creating the locator object......");
              IDeliveryService deliveryService =(IDeliveryService)locator.lookupService(IDeliveryService.SERVICE_NAME);
              System.out.println("Before creating the NormalizedMessage object......");
              NormalizedMessage nm = new NormalizedMessage();
              System.out.println("After creating the NormalizedMessage object.*.*.*...");
              nm.addPart("payload", xml);
              System.out.println("Before creating response object......");
              NormalizedMessage res = deliveryService.request("BPELProcess1", "process", nm);
              System.out.println("After calling the BPELProcess1 .*.*.*...");
              Map payload = res.getPayload();
              System.out.println("BPEL called");
              XMLElement xmlEl=(oracle.xml.parser.v2.XMLElement)payload.get("payload");
              String replyText=xmlEl.getText();
              System.out.println("Reply from BPEL Process>>>>>>>>>>>>> "+replyText);
              catch (Exception e) {
              System.out.println("Exception : "+e);
              e.printStackTrace();
    JSP and Java Method Used:
    JSP Code:
    ===============
    <%@ page import=" bo.callbpel" %>
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>FEATT - I30</title>
    </head>
    <body>
    <%
    String input=request.getParameter("dnvalue");
    callbpel p=new callbpel();
    String Output=p.Initiate(input);
    out.print("The Input Given to the BPEL Process is : "+input);
    %>
    <BR><BR><BR><BR><BR><BR>
    <%
    out.print("The Reply from BPEL Process is : "+Output);
    %>
    </body>
    </html>
    Java Code:
    package bo;
    import com.oracle.bpel.client.Locator;
    import com.oracle.bpel.client.NormalizedMessage;
    import com.oracle.bpel.client.delivery.IDeliveryService;
    import java.util.Map;
    import java.util.Properties;
    import oracle.xml.parser.v2.XMLElement;
    /*import javax.servlet.RequestDispatcher;
    import javax.servlet.ServletConfig;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest ;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.http.HttpSession; */
    //import java.util.*;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    public class callbpel {
         public String Initiate(String value){
              String replyText=null;
              String input = value;
              System.out.println(input);
              String xmlInput= "<ns1:AccessDBBPELProcessRequest xmlns:ns1=\"http://xmlns.oracle.com/AccessDBBPEL\"><ns1:input>"+input+"</ns1:input></ns1:AccessDBBPELProcessRequest>";
              String xml="<ns1:BPELProcess1ProcessRequest xmlns:ns1=\"http://xmlns.oracle.com/BPELProcess1\">";
              xml=xml+"<ns1:input>"+input+"</ns1:input>";
              xml=xml+"</ns1:BPELProcess1ProcessRequest>";
              try{
              Properties props=new Properties();
              props.setProperty("orabpel.platform","ias_10g");
              props.setProperty("java.naming.factory.initial","com.evermind.server.rmi.RMIInitialContextFactory");
              props.setProperty("java.naming.provider.url","opmn:ormi://157.227.132.226:6003:home/orabpel");
              props.setProperty("java.naming.security.principal","oc4jadmin");
              props.setProperty("java.naming.security.credentials","oc4jadmin");
              props.setProperty("dedicated.rmicontext", "true");
              Locator locator = new Locator("default", "bpel", props);
              String uniqueBpelId = com.collaxa.cube.util.GUIDGenerator.generateGUID();
              //System.out.println(uniqueBpelId);
              //java.util.Map msgProps = new HashMap();
              System.out.println("After creating the locator object......");
              IDeliveryService deliveryService =(IDeliveryService)locator.lookupService(IDeliveryService.SERVICE_NAME);
              System.out.println("Before creating the NormalizedMessage object......");
              NormalizedMessage nm = new NormalizedMessage();
              System.out.println("After creating the NormalizedMessage object.*.*.*...");
              //msgProps.put("conversationId",uniqueBpelId);
              //nm.setProperty("conversationId",uniqueBpelId);
              nm.addPart("payload", xml);
              System.out.println("Before creating response object......");
              NormalizedMessage res = deliveryService.request("BPELProcess1", "process", nm);
              System.out.println("After calling the BPELProcess1 .*.*.*...");
              Map payload = res.getPayload();
              System.out.println("BPEL called");
              XMLElement xmlEl=(oracle.xml.parser.v2.XMLElement)payload.get("payload");
              replyText=xmlEl.getText();
              System.out.println("Reply from BPEL Process>>>>>>>>>>>>> "+replyText);
              catch (Exception e) {
              System.out.println("Exception : "+e);
              e.printStackTrace();
              return replyText;
    While Creating and Object for the Class callbpel and Whilw Calling that Method
    callbpel p=new callbpel();
    String Output=p.Initiate(input);
    Its throwing an Error:
    Error Occured is:
    After creating the locator object......
    Before creating the NormalizedMessage object......
    After creating the NormalizedMessage object.*.*.*...
    Before creating response object......
    Apr 24, 2008 9:12:00 AM org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Servlet.service() for servlet jsp threw exception
    java.lang.NoClassDefFoundError: javax/ejb/EJBException
         at com.oracle.bpel.client.util.ExceptionUtils.handleServerException(ExceptionUtils.java:76)
         at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:254)
         at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:83)
         at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:53)
         at bo.callbpel.Initiate(callbpel.java:55)
         at org.apache.jsp.output_jsp._jspService(output_jsp.java:55)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
         at java.lang.Thread.run(Unknown Source)
    For Running JSP i am Using Eclipse 3.2.0 and apache-tomcat-5.5.25
    Please Provide me a Solution......
    Thanks in Advance.....
    Regards,
    Suresh K

    A JSP is not the same as a Java application. A Java application has package statment, import statements, try/catch block, a JSP doesn't.

  • Run Time Error in AIR...but the same code works in Flex...

    Hi,
    It seems that I am having a big problem with shaders in AIR, when I try to instance,
    Here is my code:
                      import flash.display.Shader;
                      import flash.filters.ShaderFilter;
                      [Embed(source="crossStitch.pbj", mimeType="application/octet-stream")]
                      public var MyShaderClass:Class;
                      //this works on flex/flash but not in AIR run time...
                      private function onClick() : void
                            var shader:Shader = new Shader();
                            shader.byteCode = new MyShaderClass();
                            // Configure desired input parameters of shader.
                            shader.data.size = [4];
                            myImg.filters = [new ShaderFilter(shader)];
    When running this code in Flex it works great!!
    When I try to use this code under AIR I get:
    ReferenceError: Error #1065: Variable Shader is not defined.
    Ion both Flex and AIR projects I use the same Flex SDK (3.4.1) ( I have tried 3.4, 3.5 and more) but
    Changing the SDK still didn’t worked, I have started to think maybe it’s related to this that in Flex project
    There is the playerglobal.swc and in AIR there is the airglobal.swc but why shouldn’t this airglobal.swb support in Shader?
    I have Adobe AIR 1.5.3 and I have tested that my app.xml has
    <application xmlns="http://ns.adobe.com/air/application/1.5.1">
    I have zipped a small demo and sent it to my friend and he told me that it’s work for him
    In AIR app… (attached...)
    Guys I have spent all day figuring what is wrong but nothing!!…can someone shade some light here?

    Hi,
            There is not value in that field for PO quantity / Value it is missing while doing MIGO. Check whether you have maintained values for all required fields.
    Kiran

  • One of my pages loads as a script instead of the site but works fine with IE

    One of my pages loads fine with IE but does not with Mozilla. Shows a bunch of characters and with no errors.

    Something has gone seriously wrong when to code of that page got saved (the "<" characters).<br />
    It looks like some mixture of UTF-16 code, but Firefox (and Google Chrome) can't make sense of it and display the text instead.
    You will have to save that page as Unicode UTF-8 and upload the correct code to the server.

  • All videos I play through Firefox are skipping but the same videos work fine in Safari. I am using the latest versions and patches. Help?

    Other details? Umm, I'm using a Mac. Never had problems before version 4.0. It happens on Netflix, YouTube, Hulu, GomTV, among other video sites. I loaded the same videos in Safari and they play fine.

    Please try to re-install your firefox browser or maybe you must get the latest version of mozilla firefox browser, here >> [https://www.mozilla.org/en-US/firefox/new]
    And you can try to re-install your Adobe Flash Player too and get the latest version here >> [http://example.com http://get.adobe.com/flashplayer/]

  • I have a 3rd generation iPad running iOS7.0.2, and since updating to iOS7, it will not mirror to an AppleTV.  The devices will connect, but the video monitors show only a blank screen.  The AppleTV's work fine with various other iOS & OSX devices. Ideas?

    I have three AppleTV's where I work.  I have two at home.  I have an iPhone 4S running iOS7.0.2 which mirrors smoothly via AirPlay.  I have a 2011 MacBook Pro and a 2011 iMac, both running Mountain Lion, both of which mirror smoothly through AirPlay.  I have a 3rd generation iPad running iOS7.0.2, and since updating to iOS7, it will not mirror.  The iPad will connect to the AppleTV, but the TV's and projectors only show a black screen when connected: the iPad screen looks as it should, except that the transitions become jumpy when connected via AirPlay.  This is true on both networks: at home and at work.  Another gentleman using the network where I work has the most recent iPad, also running iOS7.0.2, and he is having the same problem.  I have tried to "Reset All Settings."  I have tried to "Restore."  Does anyone have any suggestions?  Has anyone else experience difficulty mirroring the iPad through AirPlay since the release of iOS7.0.2?

    No problems exists with the router (on either network described above) or the multiple AppleTV's which are able to mirror multiple other OSX &amp; iOS devices seamlessly. The problem is strictly with the iPad and iOS7.
    The following information was helpful:
    Big Apple fan
    Re: AirPlay with AirServer connectivity problem
    Oct 14, 2013 9:43 AM (in response to ceb2652)
    This is an iOS 7 AirPlay mirroring bug...
    To make matters worse, the iPad automatically drops its mirroring session 45 seconds after it auto-locks.
    3-4 mirroring sessions is all it takes for the iPad mirroring to freeze up.
    After this happens, mirroring to an Apple TV only projects a blank screen.
    Once the mirroring is hung, the only way to fix it is to restart the iPad.
    Apple please fix this iOS 7 issue!

Maybe you are looking for

  • Retrieve new row's auto-increment key from dataprovider

    ** cross posted on SDN JSC Forum and Netbeans J2EE Nabble forum ** I have a page that is bound to a MySQL table rowset or, alternately, a new (append()'ed) row. The row's Primary Key is a MySQL auto-increment Integer (translates to a Long.) After com

  • Opening files in Ps CS5

    In Photoshop CS5, why can't I open files?

  • Problems in planning strategy 20

    Hi Experts, My scenario is I am using Planning strategy 20 (Make To Order). In Planning strategy 20, Purchase requisition & Planned Order is generated after MRP for RM, SFG & FG respectively. But the problem is that RM is already in stock & I dont wa

  • PS Elements/Organizer 11 sync with iCloud Photo Share

    i have Photoshop Elements 11 suite on a PC win8. I wanted help in setting up my organizer so everytime I download pictures from my camera/card reader into organizer library, it would sync with icloud photo share. This is a functionality that iPhoto h

  • Why is QT not playing my movies which have been exported from FCPX?

    Nov 11, 2012 1:07 AM Hello there. I have posted this post in Mac intel forums but have been redirected to post this post in FCPX forums and hence I am posting this thread here. Hope I will be given the proper answer to my problem/s which seem to be g