On Aug 15, 2012, at 7:47 PM, Christopher Henrich <chenr...@monmouth.com> wrote:

> The specification of the XML form for X3D requires that an MFString be 
> enclosed in single quotes, and the enclosed strings must be enclosed in 
> double quotes. Example: ' "alpha" "bravo" '.

Huh? Single vs double quotes for delimiting attributes are a detail of the way 
the XML is encoded to text; they have nothing to do with the schema of the data 
in the file. You might as well say that X3D has to be displayed in the Courier 
font to be valid. :)

It _is_ reasonable for the spec to say that these attributes' values have to 
contain double-quoted strings. But how those attributes are encoded into 
syntactically correct XML markup is irrelevant. The encoder could use 
single-quotes to delimit the attributes, or it could use double quotes and then 
%-escape the inner double-quotes. The two are interchangeable from the point of 
view of any proper XML parser.

—Jens
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to