I have tried to access the XML schema definiton so I can make changes to my template and I am getting a "not found" error for http://schemas.microsoft.com/VisualStudio/2005/workitemtracking/typedef
What's up
I have tried to access the XML schema definiton so I can make changes to my template and I am getting a "not found" error for http://schemas.microsoft.com/VisualStudio/2005/workitemtracking/typedef
What's up
XML Schema definition
Mavericko
Hi mariso,
The url that you are trying to get is just the NAMESPACE of the xml schema...not the REAL URL page where you can see the valid content....else...u can try the recommended url from Subodh Sohoni
Thanks,
Kathir
su45937
Could you email me so that I could clarify what you're trying to do and help you troubleshoot your file allison.bokone@hotmail.com
Thanks,
Allison Bokone
Programming Writer, Team Foundation User Education
Microsoft
jtleach
Hi
Ran a validation (XmlSpy) on the schemas refered to above. Actually this happens automatically if you use XmlSpy to validate an XML instance with respect to some schema. What I found was that more than the one mentioned is not valid:
This
as we know, doesn't resolve on a general basis. So you need to roll your own variant. Here is mine:
Ok, one down a few to go. Next one is worse (line 44 in SccTasks.xsd):
where the XmlSpy validator complains about the minOccurs="0", which it says "is not possible for element 'xs:element'. It is prohibited by complex type 'xs:topLevelElement'". I don't know. I just lean on the validating parser.
Last one that I care to adress (line 225 in WorkItemTypeDefinition.xsd):
<xs:element name="WHEN" type="FieldValueCondition" />
"<xs:element neme='WHEN'> makes the content model non-deterministic. Possible causes: name equality, overlapping occurence or substitution groups"
Now, I'm not standing here to defend the validating parser used in XmlSpy, but I've never had any means to complain about it so far.
Given that this is actually validation errors according to W3C Xml Schema, shouldn't this bee adressed Just asking (slightly provocatively ;-). My answer is, don't tweak the standards. Specially if you have a community that feeds back ;-)
Brumlemann
Senior Architect
Alexei_shk
Kathir is correct.
You can also go to this help topic and download all the process template schema files: http://msdn2.microsoft.com/en-us/library/ms194967(VS.80).aspx
Thanks,
Allison [MSFT]
Tdar
Thanks, but that is not the information I am looking for.
My team uses SCRUM templates. Not all of the fields that we want our PMs to use are included in the "control" portion of the default template. I exported the default template so I could modify the XML and add more data fields to the XML, and then I want to import it as the my project default.
How do I find the data element names When I use the Column Options to select the field I want to show in my query results - the data element is "Actual Effort". My understanding is that I need to define the new element in the and also use it in the Control section so that it is available for updating
The Control section code looks like:
<
Control Type="FieldControl" FieldName="System.Title" Label="Title" LabelPosition="Left" /></
Column></
Group><
Group><
Column PercentWidth="50"><
Group Label="Planning"><
Column PercentWidth="100"><
Control Type="FieldControl" FieldName="Conchango.VSTS.Scrum.SprintNumber" Label="Sprint Number" LabelPosition="Left" /><
Control Type="WorkItemClassificationControl" FieldName="System.AreaPath" Label="&Area:" LabelPosition="Left" /><
Control Type="FieldControl" FieldName="Conchango.VSTS.Scrum.EstimatedEffort" Label="Estimated Effort" LabelPosition="Left" /><
Control Type="FieldControl" FieldName="Conchango.VSTS.Scrum.ActualEffort" Label="Actual Effort" LabelPosition="Left" /><
Control Type="FieldControl" FieldName="Conchango.VSTS.Scrum.WorkRemaining" Label="Work Remaining" LabelPosition="Left" /></
Column></
Group></
Column><
Column PercentWidth="50"><
Group Label="Status"><
Column PercentWidth="100"><
Control Type="FieldControl" FieldName="Conchango.VSTS.Scrum.SprintBacklogItemType" Label="Backlog Item Type" LabelPosition="Left" /><
Control Label="Assigned To" FieldName="System.AssignedTo" type="String"><
ALLOWEDVALUES expanditems="true"><
LISTITEM value = "[Project]\Project Administrators" /></
ALLOWEDVALUES></
Control>I marked the line of code I added (by copying) green. I also added the code I added near the top of the file for the FIELD detals - copied from "Estimated Effort":
<
FIELD name="Estimated Effort" refname="Conchango.VSTS.Scrum.EstimatedEffort" type="Integer" reportable="detail"><
HELPTEXT>The estimated effort needed to complete the feature</HELPTEXT></
FIELD><
FIELD name="Actual Effort" refname="Conchango.VSTS.Scrum.ActualEffort" type="Integer" reportable="detail"><
HELPTEXT>The actual effort expended completing the feature</HELPTEXT></
FIELD>So - my issue is I have a piece of data I can query but cannot update in the form. How do I make this happen I think I have *mostly* the correct process - but am just missing the correct FIELD name or making a syntax error, or something crazy!. Here is the error message I am getting when I am trying to import the updated template:
C:\VSTSTest>"c:\program files\microsoft visual studio 8\common7\ide\witimport"
f c:\vststest\sbi.xml /t http://TKBGITVSTFEAT01:8080 /p "MSN US Media Solutions
Xml validation error at row 237, column 18: The required attribute 'Type' is mi
sing.
Xml validation error at row 237, column 90: The element cannot contain white sp
ce. Content model is empty.
Xml validation error at row 238, column 2: The element 'Control' cannot contain
child element 'ALLOWEDVALUES' because the parent element's content model is emp
y.
Thanks!
spydude777