Skip to content

Update to use new layering/line wrapping technique #1

@stevedlawrence

Description

@stevedlawrence

This schema uses things like ``dfdl:separator="%NL;%SP;" to handle line wrapping. So rather than handling line wrapping appropriately, it just treates line wrapping as a separator and icalendar values can be arrays of values rather than one long value.

This is incorrect, and actually causes failures in some cases. For example, if you wrap on on parameter key then this fails and you end up with a almost empty infoset. For example:

ATTENDEE;CN="Surname, First Name (Long stuff here)";ROLE=OPT-PARTICIPANT;R
	SVP=TRUE:mailto:email@redacted.com

In this case, we wrap in the middle of the RSVP key, which the schema can't handle. We only allow wrapping on values. And we can't prevent wrapping in the middle of a key.

Instead, we should use the new line wrapping technique to handle the line wrappings appropiately. We then can remove all the hacks that treat values as a sequence of NL separators.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions