Work item template can't be retrieved when work item type ID contains symbol
I am using RTC 3.0.1.3 and found that Work Item template can't be retrieved when work item type ID contains symbol.
Steps I used:
-create a work item template from a work item type which ID contains parentheses (like defect type's ID = defect (test) )
- template is created and visible in Project Area
---> issue: template can not be fetched from repository.
Is this a defect?
Steps I used:
-create a work item template from a work item type which ID contains parentheses (like defect type's ID = defect (test) )
- template is created and visible in Project Area
---> issue: template can not be fetched from repository.
Is this a defect?
One answer
No : templates are saved as RDF/XML.
I used the validator - http://www.w3.org/RDF/Validator/
and found that start and end tag must use valid XML names - http://www.w3.org/TR/REC-xml/#sec-starttags -
which is confirmed by http://en.wikipedia.org/wiki/XML#Well-formedness_and_error-handling
(...)
The element tags are case-sensitive; the beginning and end tags must match exactly. Tag names cannot contain any of the characters !"#$%&'()*+,/;<=>?@[\]ˆ`{|}˜, nor a space character, and cannot start with -, ., or a numeric digit.
(...)
However, starting 4.0.1, RTC will provide some type id validation for templates, using Provide work item type id validation (221092)
I used the validator - http://www.w3.org/RDF/Validator/
and found that start and end tag must use valid XML names - http://www.w3.org/TR/REC-xml/#sec-starttags -
which is confirmed by http://en.wikipedia.org/wiki/XML#Well-formedness_and_error-handling
(...)
The element tags are case-sensitive; the beginning and end tags must match exactly. Tag names cannot contain any of the characters !"#$%&'()*+,/;<=>?@[\]ˆ`{|}˜, nor a space character, and cannot start with -, ., or a numeric digit.
(...)
However, starting 4.0.1, RTC will provide some type id validation for templates, using Provide work item type id validation (221092)