Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • EspaƱol
      • FranƧais
      • PortuguĆŖs
  • ę—„ęœ¬čŖžć‚³ćƒŸćƒ„ćƒ‹ćƒ†ć‚£
  • ķ•œźµ­ ģ»¤ė®¤ė‹ˆķ‹°
0

Photoshop action xml errors

Explorer ,
Apr 19, 2024 Apr 19, 2024

I was editing some names in the xml of an action I created and when I convert the file to ATN I get two errors: "10264 not well formed (invalid token)" and "9600 return new XML (str)" on two different lines. I don't know much about the xml language but I'm sure it must be for something I misspelled. Can someone please tell me how to correct it?

 

Thank you, it's urgent!

TOPICS
Actions and scripting
1.5K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Community Expert ,
Apr 19, 2024 Apr 19, 2024

Photos of the monitor are not great and I can't tell the before/after of what you have done.

 

https://www.take-a-screenshot.org/windows.html

 

Please take proper screenshots and clearly mark the before/after issue.

 

Also a cropped screenshot of the original action step with the panel wide enough to view all content and the step expanded/open so that all parameters are visible would help.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 20, 2024 Apr 20, 2024

Here's a screenshot of the error Photoshop gives me when I try converting the xml to atn and another two screenshots of the xml with the two error lines highlighted (I zoomed out in the document hoping to show as many steps as possible).

 

Thank you

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 20, 2024 Apr 20, 2024

So what are you trying to do that can't be achieved by simply editing or recreating the action step in the native form?

The most common thing that people resort to doing is editing file open or save paths.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 20, 2024 Apr 20, 2024

I cannot convert the xml file to atn because of those errors and I have no idea of how to correct them and why they are there since I have simply edited some names. I read those errors occur when typing an extra character or not typing a required character, but I honestly can't see what's wrong. I don't know much of xml, I use it only for editing the names of nested actions.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 20, 2024 Apr 20, 2024
quote

I use it only for editing the names of nested actions.


By @ZoeD.


Why can't you just do that in the Action panel?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 21, 2024 Apr 21, 2024

I'm talking about the actions that appear in the layer panel when you run an action; there's no option to edit those in Photoshop, except individually after running the action but I wish they already appeared the way I want it.

Can you figure it out what the errors are from the xml screenshots?

Thank you

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 21, 2024 Apr 21, 2024

If you can't edit an action step, then it needs to be recorded again.

 

It's really hard to help you without clear, concise examples.

 

As I previously wrote, a cropped screenshot of the original action step with the panel wide enough to view all content and the step expanded/open so that all parameters are visible would help. Circle the bit you wish to change to make it clear.

 

Circle the bit you're changing in a screenshot of the edited XML.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 21, 2024 Apr 21, 2024

I'm sorry, are the screenshots I attached not displaying those errors already? I believed I had to start from the xml to fix it, not from the original atn. I don't even know which steps the errors refer to; I can edit those steps, but I cannot convert the xml to atn for those errors that are due to some character missing or misspelled, so I should search for that. Btw, recording all the actions again it'd take too long so I can't do that.

If I upload the whole xml file I edited, would it be more helpful?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 21, 2024 Apr 21, 2024

I need to see the action step to understand where you are coming from, before XML conversion.

 

I need to see the same bit highlighted in the XML before it's edited.

 

It may be clear to you, but I have no idea of the exact problem.

 

I need you to help me understand clearly, it's all muddy at the moment.

 

Sharecthe action if that helps, or the XML conversion without any editing.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 22, 2024 Apr 22, 2024
LATEST

@r-bin I tried to add that character, but didn't work.

 

I managed to spot one action that gives the error, it's the one highlighted in the screenshot which I renamed "TE1" in xml. Still I can't see what error should I get from an adjustment layer of which I just edited the name! Also, I've checked the original xml and the two lines don't match at all. It looks like I've mess it more than I thought. I'm resigned to having to do it all over again.

 

Thank you anyway.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
People's Champ ,
Apr 21, 2024 Apr 21, 2024
I'm not familiar with XML and don't really want to understand its syntax.
But look at the picture
rbin_0-1713732164945.png
 
What was in the original code at this point?
 
 
 
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines