You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@daffodil.apache.org by "Costello, Roger L." <co...@mitre.org> on 2019/09/16 13:30:13 UTC

Is "A B %ES; C D" equal to 'A B "" C D'?

The specification says this about ES:

Used in whitespace separated lists when empty string is one of the values.

Recall that in XML an attribute's value may be delimited by either double or single quotes.

So, are these two whitespace-separated lists equivalent?

                "A B %ES; C D"
                'A B "" C D'

/Roger

Re: Is "A B %ES; C D" equal to 'A B "" C D'?

Posted by "Beckerle, Mike" <mb...@tresys.com>.
They are not equivalent:

'A B "" C D' is a list of 5 tokens. The third one contains 2 characters " and ".


________________________________
From: Costello, Roger L. <co...@mitre.org>
Sent: Monday, September 16, 2019 9:30 AM
To: users@daffodil.apache.org <us...@daffodil.apache.org>
Subject: Is "A B %ES; C D" equal to 'A B "" C D'?


The specification says this about ES:



Used in whitespace separated lists when empty string is one of the values.



Recall that in XML an attribute’s value may be delimited by either double or single quotes.



So, are these two whitespace-separated lists equivalent?



                "A B %ES; C D"

                'A B "" C D'



/Roger