Modify

Ticket #205 (new defect)

Opened 3 years ago

Last modified 44 years ago

Anchor names and aliases can only contain numbers and ASCII letters, but 1.2 allows more

Reported by: peterkmurphy@… Owned by: xi
Priority: normal Component: pyyaml
Severity: normal Keywords: Anchors, Aliases, Unicode
Cc:

Description

I understand the reason this limitation was put in. In earlier versions of the specifications, anchors and aliases could contain commas, which would cause problems with flow collections. However, 1.2 explicitly rules them out, so this limitation should be lifted.

I've tried to provide code that does that, with a test case.

Attachments

scanner12.py Download (2.4 KB) - added by peterkmurphy@… 3 years ago.
Contains a new implementation of scan_anchor.
bandbio.yml Download (964 bytes) - added by peterkmurphy@… 3 years ago.
A test file. (Which I was working on for YPath testing.)

Change History

Changed 3 years ago by peterkmurphy@…

Contains a new implementation of scan_anchor.

Changed 3 years ago by peterkmurphy@…

A test file. (Which I was working on for YPath testing.)

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as new
as The resolution will be set. Next status will be 'closed'
to The owner will be changed from xi. Next status will be 'new'
The owner will be changed from xi to anonymous. Next status will be 'assigned'
Author


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

 
Note: See TracTickets for help on using tickets.