• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Perplexity with X3D and XML
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Perplexity with X3D and XML


  • Subject: Re: Perplexity with X3D and XML
  • From: Christopher Henrich <email@hidden>
  • Date: Thu, 16 Aug 2012 21:55:53 -0400

On Aug 16, 2012, at 12:55 AM, Jens Alfke wrote:

>
> On Aug 15, 2012, at 7:47 PM, Christopher Henrich <email@hidden> 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.

Well, I agree. I just hope the X3D community cares about proper XML parsing.

Christopher Henrich
email@hidden
mathinteract.com




_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

References: 
 >Perplexity with X3D and XML (From: Christopher Henrich <email@hidden>)
 >Re: Perplexity with X3D and XML (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: help indexer or hiutil help
  • Next by Date: Re: Sending keyboard events with unicode strings causes Pages/Keynote/Numbers to hang
  • Previous by thread: Re: Perplexity with X3D and XML
  • Next by thread: Re: Perplexity with X3D and XML
  • Index(es):
    • Date
    • Thread