Re: Default attribute values in fcpxml
Re: Default attribute values in fcpxml
- Subject: Re: Default attribute values in fcpxml
- From: Gregory Clarke <email@hidden>
- Date: Sun, 09 Oct 2011 15:17:51 -0700
I suppose #3 could be controversial, but I don't see that having complicated defaults is better for anyone. Any consumer of fcpxml has to figure out the value of the attribute, so having it there explicitly makes life easier. If a program is a producer of fcpxml, it must know the value of the attribute because it is required, and emitting to the XML is trivial.
Plus it seems that fcpxml isn't that fussy about the default value being there or not. If the default time for an offset is zero then whether you put offset="0s" in the node or leave it out, it'll be parsed by FCPX the same way. But I much prefer to see that value in the XML I produce.
Greg |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden