Creation of XML with the Code - 1086: syntax for Version error

Hi all

I use AS3 CS6 Flash Pro.

I am trying to create an XML file I can add child to other similar XML file data. This is the format XLIFF channels Panel uses to manage data translation.

The file is by design descendant compatiable to AS2. I don't really want to import the XML in a file.

var TEMP:XML = <?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.0" xml:lang="en">
  <file datatype="plaintext" original="ZMP_en.fla" source-language="EN">
    <header></header>
    <body>
    </body>
  </file>
</xliff>
trace(TEMP);

1086: syntax error expecting semicolon before version - on line 2 of the code

I will be adding other XML snippets as children of < body >.

Thank you

Try:

var TEMP:XML = 
  
    
trace(TEMP);

Tags: Adobe Animate

Similar Questions

  • com Apple.launchd.PerUser came out with the code: 4

    We create a game to run on the mac desktop.

    The game was built using Flash Builder 4.6 on the pc, using Air 3.5 (using Air 3.4 until a few days ago)

    I create the SWF on the pc and then copy it on in the mac mini - (which was running OSX 10.7 - updated updated yesterday at 10.8 in case that was the problem)

    Once on the mac mini - using the 3.5 SDK for mac Air to build the .app using ADT

    / Users/macmini2/Documents/AdobeAIRSDK/bin/adt - package - keystore MM2.p12 - storepass PASSWORD - pkcs12-bundle stores target "... / release/Megaplex2.app"Main - app.xml Main.swf AppIconsForPublish data.

    When I run the file final app on the mac mini, it works without any problem. (OSX 10.7 and 10.8)
    I also tested this app on a macbook pro with no problems (OSX 10.7)

    The results of problem when we send the app to our distribution partner. They report that the application fails to start:

    On my Mac Mini (10.6), it never seems to. On two of the iMacs from our Mac Tester, the application icon appears in the dock momentarily, before closing then (no window appeared).

    So far, the only clue to this is a log of the console where it out this:

    08/11/12 com.apple.launchd.peruser.243932923 [132 5:12:00.800 PM]: ([0 x 0-0x3f33f3]. Megaplex2 [3114]) came out with the code: 4

    08/11/12 com.apple.launchd.peruser.243932923 [132 5:12:04.907 PM]: ([0 x 0-0x3f43f4]. Megaplex2 [3118]) came out with the code: 4

    08/11/12 com.apple.launchd.peruser.243932923 [132 5:12:06.240 PM]: ([0 x 0-0x3f53f5]. Megaplex2 [3120]) came out with the code: 4

    08/11/12 com.apple.launchd.peruser.243932923 [132 5:12:35.596 PM]: ([0 x 0-0x3f83f8]. Megaplex2 [3127]) came out with the code: 4

    08/11/12 com.apple.launchd.peruser.243932923 [132 5:12:37.040 PM]: ([0 x 0-0x3f93f9]. Megaplex2 [3130]) came out with the code: 4


    I installed the runtime air on Air 3.5 build computer and it made no difference.

    Someone has an idea of what could be the cause?

    OK, looks like we found the problem.

    When I was zipping the app to send them, I was the Zipper on the PC.
    Turn, it is the cause.

    If I zip on the mac using its "compress" function and send the zip, it seems to work ok.

    /me shakes his head.

  • How to fix the error with the code: 0xe7210001 failed to load powrprof, object: cls

    Hello

    Dose anyone know how to fix the error with the code: 0xe7210001, message: unable to load powrprof, object: CLSD-no-it is found;
    OR: Fingerprintsoftware OR error: replicas THotkey.exe message window and the computer freezes

    Maleware scanned and virus, also in safe mode, found no infection, reinstalled driver fingerprint, but nothing has changed.

    grateful for the help!

    Hello

    > message: unable to load powrprof, object: CLSD-no-it is found;
    In my view, this would mean that there is a problem with Toshiba Power Saver
    What laptop Toshiba, you have exactly?

    Maybe reinstall Power Saver could help. You can find it on the official website of Toshiba.

  • Problem in creating several attributes XML with the same name of the attribute

    I am trying without success trying to create several attributes XML with the same name, as shown here in a Microsoft example configuration file:



      
         
         
         
      

    I'm calling the NewDocument GetRootElement functions and then "newelement" (appSetting), "newelement" (add)

    Then I call AddAttribute with add, key & Key0, then with add, value & 0.  This seems to work fine but when I try to add the second pair of key & Key1 and value attributes & 1 for item "Add" replaces ""and I find myself with"" only.

    I do something wrong or CVI is not able to create an XML of this type?

    Thank you

    Here's how you do it. I show not to keep things simple error checking.

    #include

    public static void CreateAddElement (mother of CVIXMLElement, const char * key, const char * value)
    {
    Add the CVIXMLElement;
    CVIXMLNewElement (parent, -1, 'Add', &add);)
    CVIXMLAddAttribute (add, "touch", key);
    CVIXMLAddAttribute (add, "value", value);
    CVIXMLDiscardElement (add);
    }

    void main (void)
    {
    CVIXMLElement root, and appSetting;
    Doc CVIXMLDocument.
     
    CVIXMLNewDocument ("configuration", &doc);)
    CVIXMLGetRootElement(doc, &root);)
    CVIXMLNewElement (root,-1, "appSetting", and appSetting);
    CreateAddElement (appSetting, "Key0", "0");
    CreateAddElement (appSetting, "Key1", "1");
    CreateAddElement (appSetting, "Key2", "2");
    CVIXMLDiscardElement (appSetting);
    CVIXMLDiscardElement (root);
    CVIXMLSaveDocument (doc, 1, "c:\\temp\\temp.xml");
    CVIXMLDiscardDocument (doc);
    }

  • Need help with the launching track pack for forza code 4

    Bought new Forza 4 and the lancer Track Pack code does not work, how do I get a code that is generated in the form I've already paid for it. Rank of loads of numbers and sent 10 s of emails but cant seem to get help.

    This is the help I get when the cat to an Ambassador xbox on xbox.com

    Terry wrote:
    Need help with the launching track pack for forza code 4
    The Xbox Ambassador says:
    Location of Ambassador of the community...
    The Xbox Ambassador says:
    Location of Ambassador of the community...
    The Xbox Ambassador says:
    Your question will be answered by an Ambassador of the Xbox. You have been connected to the Ambassador as a user Xbox [3]
    The Xbox Ambassador says:
    Hello
    Terry wrote:
    Hello
    The Xbox Ambassador says:
    Hey
    Terry wrote:
    just to be on the phone to xbox live support and was told to come here
    The Xbox Ambassador says:
    ok\
    The Xbox Ambassador says:
    What is your problem?
    Terry wrote:
    I bought the 4 for forza ansd 360 new sealed Christmas...
    Terry wrote:
    has got 2 codes that accompanies the game but the pack track code does not work
    The Xbox Ambassador says:
    Wow good
    Terry wrote:
    whenever I put in the code it says code redeemed
    The Xbox Ambassador says:
    I think the code is used. You must return to the retailer
    Terry wrote:
    I tried to, but since I already opened the case they will not accept
    The Xbox Ambassador says:
    Oh. No,
    Terry wrote:
    the code had been used or defective as I am the only person who has touched the game once opened, tried to enter the code when it is open
    The Xbox Ambassador says:
    Maybe it was auto bought?
    Terry wrote:
    so, how do I get another code generated track Pack if defective?
    The Xbox Ambassador says:
    I do not know.
    Terry wrote:
    bought the game new, so I get the track pack
    The Xbox Ambassador says:
    Oh. It's bad.
    The Xbox Ambassador says:
    I think that if you Exchange 1 code it will buy it
    Terry wrote:
    car pack code worked, starter pack did not work
    The Xbox Ambassador says:
    Oh.
    The Xbox Ambassador says:
    It's a bad
    The Xbox Ambassador says:
    BTW you have an evolution of the tests?
    Terry wrote:
    Yes, I want to? but more anxious to get a code object generated for this pack
    The Xbox Ambassador says:
    Hey if I help can u give me this game too?
    Terry wrote:
    ?????????????????
    Terry wrote:
    So is it possible to get a code for that time?
    The Xbox Ambassador says:
    Hey
    The Xbox Ambassador says:
    Yes.
    The Xbox Ambassador says:
    you need to contact them
    The Xbox Ambassador says:
    and tell them that the code is used.
    Terry wrote:
    I was told to come here? where can I go to get the code?

    Hi Terryg76,

    ·         What version of the operating system is installed on the computer?

    I suggest you to contact the game manufacturer for more help and information.

  • Hi.I download Microsoft Security Essentials and installation becomes a problem with the code: 0 x 80070643. If you can help me...

    Hi.I download Microsoft Security Essentials and installation becomes a problem with the code: 0 x 80070643. If you can help me...

    Support Microsoft Security Essentials forums
    http://social.answers.Microsoft.com/forums/en-us/category/MSE

    Can I install Microsoft Security Essentials [or any other anti-virus/anti-spyware application] to clean my already infected computer?
    http://social.answers.Microsoft.com/forums/en-us/msescan/thread/87058857-D181-4019-a723-efd9a49d9275

    ~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft

  • I get system off with the code 68072590 after 3 failed attempts

    I get system off with the code 68072590 after 3 failed attempts

    AM trying.

    77950516

    Use this code to go into the BIOS.

    Disable all passwords that are enabled.

    IF demand for CURRENT password using this code.

    REQUEST NEW password just press ENTER.

    If asked to hit just to CHECK password to enter.

    Save and exit.

    REO

    I must inform you that these services are not endorsed by HP, and that HP is not responsible for any damages that may occur to your system using these services. Please be aware that you do so at your own risk.

  • Problem with the Code for the form Page

    I have a problem with a page of form to http://www.enonumc.com/PrayerRequest.html in the month passed, the form created an email that worked perfectly, providing all the information to a specified address.

    Recently (last week), we have received an application form email that still had the information for each of the observations labels, but no info after the sign = for the top three submissions. I always get the news option (name, e-mail address, phone number), but none of the drop-down choice list of the box, the text in text box in the prayer request box, or choice of rather we must respond or not.

    Any suggestions of what has happened with the code?

    You can start with code 50 or so on the page validation errors.

    [Valid] Validation of the markup of http://www.enonumc.com/PrayerRequest.html - W3C Markup Validator

    As to why the form processing script doesn't work well, maybe something has changed on your web server.   Ask your hosting provider.

    Nancy O.

  • My University provides all students with the cloud of Adobe for their PC. I downloaded and exchanged a code for this, but it only gave me the trial versions of each product. How can I get full versions, since I have already apparently purchased m

    My University provides all students with the cloud of Adobe for their PC. I downloaded and exchanged a code for this, but it only gave me the trial versions of each product. How can I get full versions, since I already seemingly bought my designated code?

    I recommend you to contact our customer service for more assistance. Contact the customer service

    I wrote you a personal message, please check.

    Kind regards

    Bani

  • AdobeUpdateServerSetupTool returned with the code: 1.

    I just ran the command:

    / Applications/utilities/Adobe\ Application\ Manager/CCP/utilities/AUSST/AdobeUpdateServerSetupTool - root = / Library/Server/Web/data/Sites/Default/AdobeUpdates - incremental

    on the server.

    He gave the following result

    Incremental synchronization is selected.

    Treaty on the elements of the 1077 1077.

    Error 1 points.

    AdobeUpdateServerSetupTool returned with the code: 1.

    For more information consult AdobeUpdateServerSetupTool.log to/Users/mutualmobile/Library/Logs.

    Any ideas what error code 1 mean?

    I guess this means that there are some errors. I posted another message on this forum

    http://forums.Adobe.com/thread/1394780

    Error 1 is probably for these errors listed in this thread.

    Basically, it does not matter this error message you get, just run the command again and I hope that it works fine the 2nd time.

    If this is not the case, try again until it works well at the 3rd time.

  • Film does not stop on the frame with the code

    I'm going to build my first Web site in flash. My problem is that my film does not stop on the frames that I have inserted a code action stop.

    I designed and imported here in Flash components and, moved the pages to the various frameworks so that they do not overlap. Then I clicked on the image I want each page to stop. I applied a stop since the code snippets code and below you can see that they exist in each image, in that I want to stop. Why it stops?

    SShotstopcode1.gif

    Which is not related to anything other than a general login page.

    Based on the image that you show, there are a number of images with the code in it.  What is the code that is in frame 1?

  • connect two Drop Down list with the code name.

    Hello guys,.

    I have ' starting my LiveCiycle, I have trouble linking two fields in the drop-down list. How can I connect two fields drop-down list? For example, a user selector, the name of the professional and the other menu drop-down is updated with the code of work based on the choice of the name.

    Thank you.

    Take a look at the attachment. It's a way to achieve this. The result like this...

    Steve

  • Something wrong with the code!

    Hi all

    I have had trouble with the code below for nearly 3 hours and do not seem to be closer to a solution, I was 3 hours ago. For some reason, after the < / mx:DataGrid > tag, all my code "disappears" Flex Builder 2 can not see all this and starts to complain. It is said he can not see my closing < / mx:Canvas > tag. I took a < / mx:Canvas > tag and moved to the bottom of line by line and have reduced the problem down to the following lines. But, for the life of me, I don't see what is the cause!

    If anyone can find anything?

    Thank you! Code is below:

    < mx:DataGrid id = "InboxViewGrid" right = "10" low = "10" left = "240" top = "64" cornerRadius = "20" dataProvider = "{mailChecker.lastResult.messages.message}" creationComplete = "mailChecker.send ()" / > "
    < mx:columns >
    < mx:DataGridColumn headerText = "Status" dataField = "status" width = "22" / >
    < mx:DataGridColumn headerText = "" dataField = "" width = "100" / >
    < mx:DataGridColumn headerText = "Subject" dataField = "subject" width = "200" / >
    < mx:DataGridColumn headerText = "Date of receipt" dataField = "date_received" width = "55" / >
    < / mx:columns >
    < / mx:DataGrid >

    Quote:
    Posted by: DigiMan74354

    Quote:

    It seems that you already close the datagrid component here.

  • Cannot READ the CODE of REDEMPTION for Itunes gift card

    Cannot READ the CODE of REDEMPTION for Itunes gift card

    Take it back to the shop. It has nothing to do with MS

  • With the updated 31.4.0 version - demand for return confirmation and email send priority disappeared. How can I access them now? Thank you!

    With the updated 31.4.0 version - demand for return confirmation and email send priority disappeared.
    How can I access them now?

    Thank you!

    Did? I find in the title bar of the alternatives

Maybe you are looking for

  • HP 11 Stream: should what card I buy for card memory on HP 11 flows

    just got my new feed 11.  have barely unpacked yet! quesition: I know that there is a slot for a memory card - I almost never use a camera, so I'm not totally familiar with this technology. Can someone tell me what type of card goes hand in hand with

  • Light flashing orange and double beep at startup - Tecra M1

    Hi guys,. I have a Tecra M1, which starts with a double beep, which continues for almost a count of 28 or 30. At the same time between the power lights and the battery light flashes to the rhythm of 6 seconds on and 6 seconds off. Nothing else happen

  • How to convert wdb and xlr files?

    I have Vista Home Premium 32-bit.How to convert files from 2003 (Windows Me) on my backup.They are important. Some have extensions wdb or xlr. I have Office Word Viewer and Open Office.org, but I can't find a way.Does anyone know how to open these fi

  • BlackBerry Smartphone Contacts, tasks and memos for outlook synchronization, but no timetable

    Hi all until recently, I was using my storm on an exchange account and it worked fine.  I recently moved to normal mail and wipe the unit to start again.  When I changed my email it coincided with my re - install windows timed so everything was good.

  • Epson20 printer will not print documents

    Since the update of IE 10 My epson20 printer will not print documents but will post the pictures. What can I do to solve this problem. Concerning Margaret