OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

sarif message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Can a hierarchical string be empty, or have an empty component?


The syntax we agreed on is:

 

hierarchical string = component, { "/", component };

 

component = component character, { component character };

 

component character = ? JSON string character ? - "/";

 

If we changed it to

 

hierarchical string = component, { "/", component };

 

component = { component character };

 

component character = ? JSON string character ? - "/";

 

… then a component could be empty:

 

"foo//bar"

"foo/bar/"

"/foo/bar"

 

… and in fact the whole string could be empty:

 

""

 

Do we want to allow this?

 

For now I’m going to merge what we agreed on.

 

Larry



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]