Modify

Ticket #55 (closed defect: invalid)

Opened 7 years ago

Last modified 6 years ago

Why can't I do "Abilities: Skills: Meele: Sword Staff"?

Reported by: arne_bab@… Owned by: xi
Priority: normal Component: pyyaml
Severity: minor Keywords: question
Cc:

Description

Why can't I use an input document containing a line like the following?

Abilities: Skills: Meele: Sword Staff

Doesn't yaml permit that?

Attachments

Change History

comment:1 Changed 7 years ago by arne_bab@…

What I can do is the following:

Abilities:

Skills:

Meelee:

Sword Staff

And the problem did bug me, too, because it looks equvalent to: Abilities: Skills: Meelee: Sword Staff

What do I understand falsely?

comment:2 Changed 6 years ago by xi

  • Status changed from new to closed
  • Resolution set to invalid

The line

Abilities: Skills: Meele: Sword Staff

is not valid according to the YAML specs since block nodes (mapping nodes in this case) must start on a new line.

Note that you could write:

Abilities:
    Skills:
        Melee: Sword Staff

comment:3 Changed 6 years ago by anonymous

OK, thanks for the clarification!

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.