Not well-formed (invalid token)

Dear experts,

During the development of my script - I can't use the ESTK on my system - with changing in EditPad (UTF-8 file) and then by running it in FM - 12, I received the message:

Script error:
Error message: not well formed (invalid token)
Script, line #: E:\_DDDprojects\FM-biblio\test-scripts\t-read-formatted.jsx, 6

Hack a lot, by removing the initial comment lines, convert the page file Windows return code and then again in UTF - 8 the error persists.

I then don't run the script in ETSK on the pc of my wife (who is very slow, but a standard installation of Windows 7 x 32) - no problem at all. I saved the script and I went back to my system: problem was gone!

But now I have the same error with another script. The really strange thing is this: the reported line is always 6, even if I delete (for the time beeing) irreleant lines or such insert at the beginning.

More strange things. My script is growing in the project I mentioned more than once now cretates error when starting it.

Script error:
Error message: character conversion error
Script, line #: H:\Adobe\framemaker.12en\AdobeFrameMaker12\10, 0

This message itself is rubbish: the loaded script is E:\_DDDprojects\FM-biblio\escript\FM-biblio.jsx...

Well at first I'll restart Windows and then look at this again once.

Well, it turns out that a jsx file should not contain umlauts if it is coded in cp 1252 (Windows).

var menuRes1 =   {en: "Resolve temp. citations",
                  de: "Temp. zitate auflösen"};

You will get very strange error messages that you may not
-Error message: unfinished string constant
Script, line #: E:\_DDDprojects\FM-biblio\test-scripts\t-menu-setup.jsx, 31 (line 01 in the example above).
-No definition found in the script for the function 'Command.
Script: "E:\_DDDprojects\FM-biblio\test-scripts\t-menu-setup.jsx."

Even if you don't have a real error in the script.

Therefore, these script files must be UTF-8

And sorry, in my first post on this topic of the first quoted error was a "a serious fault of me' (to quote Shakespeare):

Not well-formed (invalid token)

has been the result of not opening a jsx file, but a FrameMaker file...

My wife is absolutely right when she says: often, you are to quickly with your reaction.

The conclusion to my second point is this:
at least the number of character is not allowed in script comments, although it is encoded in UTF - 8. How do you know what else is not allowed - and what of string constants?

Tags: Adobe FrameMaker

Similar Questions

  • VCB: Another error occurred: at line number 7, not well formed (invalid token)

    I get the error message:

    2009-06-12 17:10:00.795 "vcbMounter" error of 2284 Error: Another errorencountered: line number 7, not well formed (invalid token)

    When I use the vcbMounter.exe (the same with vcbVmName.exe) of the VCB Proxy with the option "-a name: vm - name", since last week.

    With "- an ipaddr:vm - name ' it works well. We did not updates or upgrades at this time.

    Maybe a problem with a special character in the name or description of a virtual machine, but I can't find it.

    In the Victoria Cross are more than 1000 VM. Can anyone give me a tip how to find this character, or is there a differnet solution?

    Thank you very much

    Guenter

    Hello

    If you have a special character in the vmname, try with escape character.

    -@m!t

  • Is unable to connect/add the host to the CR - error: another error occurred at line number 7, not well-formed (invalid token)

    Hello!

    Having a problem with a server ESX 3.5 and VC2.5. Two days ago it became (not answer) in VC and I could not reconnect. Using VI client I can connect directly to the host. I ping the ESX other EWX hosts and to the client with VC.

    I tried mgmt-vmware restart and restart av vpxa. A restart of the ESX host has not helped.

    I have her disconnect the ESX and when trying to connect, I get the Connection Wizard, but when you add the server name and root I get an error saying:

    General error: another error at line 7 number, not well-formed (invalid token) and cannot continue.

    I saw another discussion in the forum saying ban the CDP but that did not help.

    After removing the server ESX of VC, I'm trying to add hos, but run into the same error. I see no particular error in newspaper except errors in certificates, but I'm not sure that that's about it.

    It's one of the things that I read in the newspaper about the VC client:

    Unexpected error connecting host host3.kun.local: incomplete header received

    GetChanges failed on the host /vpx/host/#7863 /: vim.fault.NoHost

    Set the error code of connection (-2) for the host host3.kun.local

    Anyone with any ideas what to look for?

    I'll try to remove vpxa and vpxauser # rpm - e Vmware-vpxa and # userdel vpxuser and see what happens.

    Carpet

    That's good news, glad to hear that the problem has been resolved.

    If you found this information useful, please consider awarding points to 'Correct' or 'useful '. Thank you!

  • Smartphones blackBerry how can I fix this error: "The XML is not well-formed."

    What is this error?  "The XML is not well-formed."

    I was always able to access the site of ringing in the AT & T Mall until today.   All of a sudden, I get the error XML, as shown above.

    What is it?  How should I do?

    You change the option in the configuration of the browser for something other than blackberry.  You can change it to Internet Explorer or Firefox.  I've noticed this problem when I try to access my Bank Web site and the web address think that it is accessed from a blackberry browser and not a general public.  Now when you download things like themes that you get from a site of third party... where they send you a txt message to click on a link you must replace blackberry.  Here are the instructions for how to do this:

    Open the browser

    Click the button (Menu) Blackberry

    Scroll down to Options

    Click on the browser Configuration

    Under the browser Indentifcation change to Internet Explorer or Firefox

    Then try again ringtone site.

    Let me know if it works

    Thank you

    PBKolsun

  • "The music file is not well-formed.

    I got an error on my new iMac running the latest versions of everything and a trial of Adobe CS. I get an error that says 'music file is not well-formed' when I try to make a slide show and add all type of file audio m4a standard. I can't understand what is wrong. Thank you!

    Please close all other applications and LR, shut down your system, restart the system and try again with only LR launched.

  • UPS delivery mistake – [10001] XML document in the is not well formed

    Hello

    When choosing from the inverter to the delivery option, this error below the checkbox "address is residential.

    [10001] XML document is not well-formed


    If anyone has encountered this before?  I have an access key and credentials entries MyUPS correctly in the CMS.

    Thanks for any input.

    Jeff

    Thanks for the comments.  I'll submit a ticket in British Colombia.

  • Error: "LPX-00240: element start tag is not well formed.

    Hi all

    I get this error analysis an XML file:

    ORA-31011: XML parsing failed
    ORA-19202: an error has occurred in the processing of XML
    LPX-00240: element start tag is not well formed*.
    Error on line 18



    What could be the problem in this case?

    I'm running out of options for this solution and try...

    Thanks to you all

    ---------------------- XML FILE -----------------------------
    <? XML version = "1.0" encoding = "iso-8859-1? >
    < FormList >

    < name of the form = table 'SERVIDOES_REGLA_BASE' = 'IVBAM '. ANA_SERV_PEDIDOSPARECER' idfield = 'ID' >

    < FormField name = 'ID' label = 'ID' datatype = 'LONG' type = "TEXTFIELD" readonly = "true" visible = "false" required = "false" recordable = "true" lovemtpy = "false" multiselect = "false" / >

    < / make >

    < name of the form = table 'PEDIDO_PARECER_UPDATE' = 'IVBAM '. ANA_SERV_PEDIDOPARECER' idfield = 'ID' help = usesession "KATCHESSIBO sdf sdf 4 43 43 3 4534 54" = "true" geometryfield = "GEOMETRY" > ".

    < name culture = "FORM_ACTION_01" function = "2" help = "true" > < param name = 'CONFIRM' value = 'YES_NO"title ="confirm?"/ >

    < param name = "LANE" value = "dddd" title = "ddddd" / >

    < / Culture >

    line 18: FormField name = "NUM_ENTRADA" label = "Entry number" datatype = "STRING" type = "TEXTFIELD" visible = "false" required = "false" recordable = 'false' lov = "Sim, não" lovemtpy = "false" maxlength = "50" multiselect = "false" / >

    < / make >

    < / FormList >

    -------------------------------------------------------------------

    Please see the xml without comments as it is

    And in between

     tags please.
    
    Where does the XML reside? External file, PL/SQL variable, database column (which datatype), ... ?                                                                                                                                                                                                                                                                                                                                                                            
    
  • Is not well formed.

    Hello

    Here's my workflow between ID and IC.

    1. export a selected image in InDesign in InCopy.

    2. open the indd file in InCopy.

    3. check the exported content, and change.

    4. save the document and check the edited content back.

    5. open the file (indd) in InDesign.

    6 update the modified content (update)

    At this point, InDesign gives me the notification of hearing: "Is not well-formed."

    That's all. It does not give the error codes. The bad thing is, it is not possible to update the content in InDesign, or it is possible to edit the InDesign content. In order to change the content of ID, I need update of the document (since it has been changed IC). But because of the "Not well-formed" message, it is not possible or put to update or change the content.

    I tried 3 different documents. One of them was a few hundred pages. The other is just a test 1 document. Tried rebooting, tried to start creating a document of test from scratch. Get the same message.

    Any idea? BTW, the document was originally an identity document of CS2. We have recently updated since CS2 to CS4.

    Thank you.

    CS4

    Windows XP Pro SP3

    It is possible that your CS2 files are corrupted or something. I just tested here with different files CS2 and am not having any problems... I opened their place in CS4, save them, export a story in InCopy, open the presentation in IC CS4, discover the history and the change, close the file, then update the story changes in InDesign CS4... works very well. I know that probably isn't that you feel better. ;-)  Sorry... And yes I made sure the file had a few paragraph styles.

    One thing I would suggest would be to take a provision of CS2 trial (with no linked InCopy stories), open it in CS4, then CS4 export the complete layout to INX (Adobe Interchange) and then open the INX file save in InDesign CS4 and save it. Then try to export an InCopy story and make your test.

    I mentioned tests on another computer because as I said, I had never heard of this error before, and you say your XP machine was brand new, or anything... I wanted to just eliminate this variable.

    AM

  • Not well-formed XML from CF?

    I worked through the training from the Source Flex2 book (trapper, Boles, Talbot, etc.). In Lesson 17, this is to access the objects on the server side.

    A piece of code accesses a CF model, which brings in an XML file:
    -----
    < mx:HTTPService id = "prodByCatRPC".
    ' URL =' http://localhost/flexGrocer/xml/categorizedProducts.cfm '
    result = "prodByCategoryHandler (Event)" "
    resultFormat = "e4x" / >
    -----
    The CF file of the book plate has the following:
    ----
    < name cfheader = "Expires" value = "#now ()" # "/ >"

    < cfxml variable 'x' = >
    < cfinclude template = "categorizedProducts.xml" >
    < / cfxml >

    < cfset xmlObject = ToString (xProducts) >

    < cfcontent type = "text/xml" / >
    #variables.xmlObject # < cfoutput > < / cfoutput >
    -----
    Using the Flex file, I get a Runtime message that seems to indicate that the XML is not well-formed. (Here's a bit of the message, not sure that I understand it!) :

    [CPP faultString = error "" error #1088: the markup in the document following the root element must be well formed. "faultCode =" Client.CouldNotDecode"faultDetail ="null"]

    I'm ASSUMING that the CF page does not return the xml as you wish, because if I simply change the flex http service call in the xml file that the CF page is notably, the flex application runs as scheduled and without errors:
    ----
    ' URL =' http://localhost/flexGrocer/xml/categorizedProducts.xml '
    ----

    (something in the mech detachment made the statement url above messed, but you probably get what I mean)

    I'm a CF developer and have not used the exact method of the book to get the generated XML from CF, I did so successfully for Spry and other things.
    I tried some ot the things I had to do to get the CF generated XML to work in Spry with this flex, but nothing helped. Tried to add a reset = "true" with the tag cfcontent; " tried to wrap the cfcontent to output; added cfprocessing tags to suppresswhitespace.

    Appreciate all the thoughts/help on how to solve this problem. In addition, if others agree that the problem is with the XML that is generated rather than anything else.

    Thank you
    Keith

    After experimenting with several, I found the problem: didn't set the parameters of CF to NOT see the debug output. Make this setting, makes everything work fine.

    Oh, the little things that cause big problems!

    Keith

  • Not well-formed application to ALSB

    I want to send not well-formed to AquaLogic Service Bus and get the friendly error message. When I send application where one is not defined, for example:

    < 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" container = "http://www.w3.org/2001/XMLSchema" >
    < SOAP - ENV:Header / >
    < SOAP - ENV:Body >
    < m:GetMessage xmlns: m = "http://local.com/schemas/msg" >
    < m0:InputData >
    < m0:FirstName > Nicole < / m0:FirstName >
    Richie < m0:LastName > < / m0:LastName >
    < / m0:InputData >
    < / m:GetMessage >
    < / SOAP - ENV:Body >
    < / SOAP - ENV:Envelope >

    ALSB throws with error message:
    -error code: BEA-382513 and
    -Reason: action ALSB replace could not update the variable 'body': javax.xml.stream.XMLStreamException: m0 used without linking it to a URI of namespace prefix

    I managed to get the friendly error message with proxy service two where:
    -Proxy service 'A' called the proxy service 'B '. In the handler mistakes along the way of the proxy service 'A' check if the proxy service 'B' throws the error message from the BEA and changes in error message I want. Proxy service service type 'A' is Web Service, WSDL.
    -Proxy service 'B' have some logic and call the actual commercial service. Proxy service service type 'B' is a SOAP Service

    Is this good solution based on the overall load on the system?

    Also, is there another solution to get the friendly error message of the ALSB proxy service? Is it possible to do this with a single agent?

    I would like this:

    At the beginning of your proxy service, add an action to 'validate '. In the action properties, you can choose what to do when an error occurs (you can save the message to a variable or the error). Leave the default option "trigger the error. Add an exception handler to your proxy service and add the logic you want to change the error into something else.

    Hope that helps.

  • "invalid token" error when recording account synchronization; No email

    Hello

    I'm trying to set up a firefox sync account. When I submit the application for sign up / register my account I get a red box that says "Invalid Token" and the verification message never happens.

    I checked the email address works and that it is not going to spam.

    I noticed stuff like that in the newspaper (on about: sync-log) which seems relevant:

    1415409124817 Status.service Sync.Status DEBUG: success.status_ok = > success.status_ok
    {1415409127874 startVerifiedCheck FirefoxAccounts DEBUG {"email": "XXX"}}
    1415409127875 entry pollEmailStatus FirefoxAccounts DEBUG: start
    1415409128102 FirefoxAccounts ERROR getting/recovery_email/status: {'code': 401, "errno": 110, 'error': 'Unauthorized', 'message': 'in the signature of the request invalid authentication token', 'info' ': 'https://github.com/mozilla/fxa-auth-server/blob/master/docs/api.md#response-format' "}
    1415409128417 FirefoxAccounts ERROR error display/recovery_email/resend_code: {'code': 401, "errno": 110, 'error': 'Unauthorized', 'message': 'in the signature of the request invalid authentication token', 'info' ":"https://github.com/mozilla/fxa-auth-server/blob/master/docs/api.md#response-format""}
    1415409129545 Status.service Sync.Status DEBUG: success.status_ok = > success.status_ok
    1415409129546 Sync.Service DEBUG User-Agent: Firefox/33.0.3 FxSync/1.35.0.20141105223254.

    I'm running on Fedora 17 64-bit.

    Any help is much appreciated and happy to provide any additional information.

    Thank you

    ~ ray

    I got it with a different e-mail (thanks for all the help). No idea why he dislikes firefoxsync AT ray.interthingy.net

  • inventory fails on all hosts reason markup in the rest of the document, the root element must be well-formed

    Ver 2.1 of openmanage for vcenter and applied performance updates firmware on 7 servers in a pile of VMware. Inventory fails on all servers failed to get inventory OMSA. I run the wizard of noncompliant servers of correction and completed journal shows, the server restarts, saves the show from inventory, inventory failed and could not obtain iDRAC ip address during startup. If I try to run upon request I get huh markup should be well formed message.

    What I've done and how to fix it?

    Hello

    the Dell Support told me last Tuesday that there is a new KB 2077641 patch and a patch (5.1 ESXi) VMware for IMO 2.1.23 to 2.1.0.27 unit.

    I installed the patches Friday and now it seems that everything works fine.

  • Build the query in PLSQL to return well formed XML with multiple records

    Hello

    It's very urgent. I am creating a PLSQL query who must retrieve all records in the table of "tbl_Emp" oracle database in a well-formed xml format. The format is given below

    * < employees xmlns = "http://App.Schemas.Employees" xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" > *.
    * < employee > *.
    * < name > < / name >. *
    * < Last_Name > < / Last_Name > *.
    * < / employee > *.
    * < employee > *.
    * < name > < / name >. *
    * < Last_Name > < / Last_Name > *.
    * < / employee > *.
    *...*
    * < / employees > *.

    To retrieve data in above format, I tried to create a query for a long time as below

    SELECT XMLElement ('employees',
    XMLAttributes ('http://App.Schemas.Employees' AS 'xmlns',
    (* "http://www.w3.org/2001/XMLSchema-instance" AS "xmlns: xsi"), *.
    XMLElement ("employee", XMLForest (First_Name, Last_Name)))
    AS 'RESULT '.
    OF tbl_Emp;

    But it does not give me the desired output. It creates the < Employees > tag with each individual record which I didn't need. I need tag < Employees > the root tag and the tag < employee > repeat and wrap each individual record. Please help me in that it's very urgent. Thank you.

    Hello

    Remember that nothing is 'urgent' here, and repeating it will probably produce the opposite effect.

    If you need a quick answer, provide all necessary details, in the first place:
    -version of db
    -test with sample data and DDL cases

    That being said, it's easy, it takes group using XMLAgg:

    SELECT XMLElement("Employees"
           , XMLAttributes(
               'http://App.Schemas.Employees' AS "xmlns"
             , 'http://www.w3.org/2001/XMLSchema-instance' AS "xmlns:xsi"
             )
           , XMLAgg(
               XMLElement("Employee"
               , XMLForest(
                   e.first_name as "First_Name"
                 , e.last_name  as "Last_Name"
                 )
               )
             )
           ) AS "RESULT"
    FROM hr.employees e
    ;
    
  • How do I validate this XML is well-formed?

    I have a 'no matter what XML Service"in Oracle Service Bus (11.1.1.4 version) that I would have validated that the entrance is well formed XML. There is no DTD or XSchema to apply - it can be any generic XML well-formed. I don't see a way to do with Action post. Is a legend in Java my only option?

    Thank you
    Doug Newton

    Hi Doug,.

    I figured out... There is a very easy way to do...

    Create a typed variable "Any XML" and try to assign content in $body. If the content is not XML, an error is generated and you can capture in an error handler.

    Hope you give me the points for that...

    See you soon,.
    Vlad

    It is considered good etiquette to the answerers rewards with points (as "useful" - 5 pts - or 'correct' - 10pts)
    https://forums.Oracle.com/forums/Ann.jspa?annID=893

  • Extension Manager CS4 invalid token

    Hi guys, I started to get these 'invalid token in XManConfig.xml values' messages when you try to do something in the extensions Manager. The button 'install' of extension is dimmed and does not show Photoshop CS4 and Illustrator CS4 that we have installed. I tried uninstalling and reinstalling Dreamweaver, but the message is still there. Does anyone know what it is? Thank you.

    Thanks for the reply bgupta16, went to the IT dept who rebuilt my profile because there are questions "paths/redirect", which seems to have fixed.

Maybe you are looking for

  • wireless keyboard buttons number one and does not

    Can anyone help, after the last operating system updated my wireless a & keyboard buttons stopped working. I tried the "mouse keys enable", where your press 'OPTION' key five times to turn mouse keys, but that did not work. I had the "display keyboar

  • HP Pavilion 15 laptop: HARD drive SSD update for HP Pavilion 15 laptop

    Hey there! I own a HP pavilion 15 notebook PC, [model number: F6C42PA #ACJ]. Currently, it is equipped with a 1 TB SATA HARD drive. I was going to upgrade to SSD. Kindly guide me through the steps and the compatible products. Also is there a simple w

  • USB drivers need G6-2210us after the decommissioning of windows 8 for windows 7

    Just demoted from windows 8 for windows 7 and I am in need the USB drivers for the two ports on the left side. This is the ID of the hardware: PCI\VEN_1022 & DEV_7812 & SUBSYS_1849103C & REV_03 PCI\VEN_1022 & DEV_7812 & SUBSYS_1849103C PCI\VEN_1022 &

  • HP deskjet 3520 all-in-one-series

    Hi, I have a new printer, the hp deskjet 3520-everything-in-one-series e. My problem is: before I can use the printer I need to unplug each time then reconnect.  I returned the first one because who does exactly the same thing as this one does! Can a

  • ASA 5520

    I have an ASA 5520 and master mechanic wants me to a login account via CLI that the helpdesk will just display but makes no changes. I can do this, or what I need to use the ASDM software. Thanks in advance and have a nice day