mojira.dev
MC-33071

"Data tag parsing failed: Unbalanced quotation" when parsing strings with semicolons.

/give command with data tag specified seems to fail at handling strings which contain semicolon, resulting in error "Data tag parsing failed: Unbalanced quotation"
Looks like semicolon has higher priority than quote during the parsing.
Screenshot included.

Environment

jre7x64, win7x64

Linked issues

Attachments

Comments 13

This looks like an improperly formatted string for a book, as the correct NBT formatting would be

{tag:{pages:["Fail: here"]}}

Please reopen the issue. Also, please explain why was it marked as invalid.

It's invalid because it no longer is a problem with 1.7.4. Try

/give @p minecraft:written_book 1 0 {tag:{pages:["Fail: here"]}}

It is not the correct way to write a book. And it does not work anyway because of the same issue. Please try something yourself before proposing as a resolution.

It is the proper way, check the written book tag. Unless I am mistaken that the root tag here is not '' but 'tag'.

3 more comments

This bug has been fixed, just tested. Use the command:

/give @p minecraft:written_book 1 0 {pages:["Fix: here"]}

Fixed in 1.7.4 or 14w02/03 ?

Fixed in 14w02c, just tested.

does not work for me. the book thing.

migrated

(Unassigned)

Unconfirmed

command, give, parsing

Minecraft 13w39b, Minecraft 1.7.4

Minecraft 14w02c

Retrieved