REVAN's picture

Source\Converter\ESCLParser.cs question

Project:The Open Toolkit library
Version:1.0-beta-2
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:by design
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

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
the Fiddler's picture

#1

Status:open» by design

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.

REVAN's picture

#2

Ok. thanks.