> > >>Scott wrote >> > >Is there some problem using the field/property name as the xml attribute >name? > Yes. Properties by convention are defined as upper case whereas element/attribute names we have decided to make lowercase. I don't have a problem with using the XmlAttributeAttributes however I'd like to use subclasses that have certain restrictions that make them more suitable for our use. ie TaskAttribute is restricted to property declarations and hase an attribute name as a required paramater to its constructor. I don't think this adds much overhead. The xml serialization attributes are designed for generalized xml serialization. Nant is a specific case and I think its a good idea to taylor them to fit our needs.
> >What do you want to preserve support for? The file format? In my >opinion, that is a good idea. But if we change things we can always >supply an xslt to convert the build file. We can even host a page that >does the transformation, and validation, on the NAnt sourceforge site. > The file format has no need to change that I can see. I'd like to retain our code that scans for attributes rather than using the default de-serialization mechanism provided by the serialization classes. We have it now, it works and it gives a level of control that we may need to retain. >>XmlAttrbuteAttribute, XmlElementAttribute, XmlArrayAttrbute and >>XmlArrayItem ( or classes derived from them ) give you enough >>information to auto-generate schema's ? >> > >I think that with a combination of the XML Serialization Attributes we >can do it. I don't want to speak too early, so let me leave it at >probably. > >If we want to go this route, I can try to have a converted code-base by >the end of the weekend. I expect this will be a sandbox project where I >won't check anything in till everything is converted over. (by the end I >start making commitments...) > Thats a good idea. the sandbox that is Ian > > > _______________________________________________________________ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] _______________________________________________ Nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
