Jack Schwartz wrote: > Hi Jean. >>> usr/src/cmd/distro_const/DC-manifest.defval.xml >>> >>> -lines 223-225: You didn't specify a default value here. Doesn't >>> everything need a default value >>> >> to be specified in the default section?The problem I ran into was >> that since it's an optional attribute, if I didn't list this in the >> defaults file I received an error. (Validation?) Since I'd like the >> default to be >> Executing <script> which you can't really put into the defaults file >> I put nothing. It worked. >> So I'll have to say it's not required. Jack may have more to say on >> this. >> > > I do have something to say.... "Huh?" > > If something is an optional argument, it shouldn't need to be listed > in any file (except the schema, of course). > > What kind of error did you see when you didn't provide a default for > it? If there was a validation error, then there's something missing > which the validator shouldn't be expecting, and that's a bug somewhere. > > The defval manifest doesn't have any entry for validating the relevant > node (img_params/output_image/finalizer/script/checkpoint/message) > sot the validator shouldn't care about it at all. > > Thanks, > Jack Well I took lines 223-225 out of DC-manifest.defval.xml and everything now works. So I must assume it was a bug I had somewhere and fixed. My lack of knowledge of the manifest workings reared it's ugly head.
So those lines are now gone. Jean
