
Source\Converter\ESCLParser.cs question
Posted Thursday, 4 February, 2010 - 11:03 by REVAN| Project: | The Open Toolkit library |
| Version: | 1.0-beta-2 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | by design |
Jump to:
Description
Source\Converter\ESCLParser.cs contain:
XElement func = new XElement("function", new XAttribute("name", fun.Name));
func.Add(new XAttribute("extension", fun.Extension));
func.Add(new XAttribute("profile", fun.Profile));
func.Add(new XAttribute("category", fun.Version));
func.Add(new XAttribute("version", fun.Version));
I think it must be func.Add(new XAttribute("category", fun.Category)); or it just dubicated value?


Comments
#1
The CL and ES headers do not define categories for functions, so it's just a duplicated value (should mention that in a comment).
I'll add some documentation on how the "category" and "version" are used here.
#2
Ok. thanks.