1 Reply Latest reply on Aug 23, 2006 1:01 PM by inlineblue

    E4X compatable XML doesn't instantiate

    adams_chad
      the following code traces out the XMl as one would expect...

      var xml:XML =
      <SERVICE request_type="getMerchantPackageList">
      <EMPTY />
      </SERVICE>;

      trace(xml); // GOOD

      however, take out the "empty" tag and the trace, outputs a blank string (non-null)

      var xml:XML =
      <SERVICE request_type="getMerchantPackageList">
      </SERVICE>;

      trace(xml); // BAD, what happened???

      is this a bug? or some new rule to XML I am not awair of?

      - thanks