[Year 12 SofDev] Reply: XML Definition
Simon Dorrat
sdorrat at salesian.vic.edu.au
Mon Oct 11 05:10:55 UTC 2021
Hi Janene
Thanks for your answer. Also others who have replied along similar lines re recognising the structure of a record being one that is broken down into sub elements, as various types in a programming language might be or a database table has rows and columns (analogous to records and fields).
However I am still a little worried. Your explanation makes sense, it’s just that it’s nothing referred to in the XML Spec and the examiner’s answer requires the student to be specific. I think you could mount an argument that if you are going to use the term “field” you could apply it to the name element as well, as it is an element that forms part of the root element. Why is the use of the term “field” going to be related to the inferred importance of the data?
In industry we often used colloquial terms for things like this but they varied depending on who you talked to and it was easy to clarify where there was confusion. To be marking based on it when it isn’t an official part of any definition, such as the XML specification (https://www.w3.org/TR/xml/) or W3Schools (https://www.w3schools.com/xml/ ), or when the application of the terms is difficult to pin down, is a little dangerous. I’m not against nuance in the content and the questions but think this is a little unfair to students.
Thanks again for your response - I think it's really helpful to share our perspectives
Simon Dorrat
DATA MENTOR | TEACHER OF DIGITAL TECHNOLOGIES | MATHEMATICS
Bosco Campus
10 Bosco St Chadstone 3148
T +61 3 9807 2644
E sdorrat at salesian.vic.edu.au
W salesian.vic.edu.au
-----Original Message-----
From: sofdev <sofdev-bounces at edulists.com.au> On Behalf Of sofdev-request at edulists.com.au
Sent: Monday, 11 October 2021 1:03 PM
To: sofdev at edulists.com.au
Subject: sofdev Digest, Vol 197, Issue 3
Send sofdev mailing list submissions to
sofdev at edulists.com.au
To subscribe or unsubscribe via the World Wide Web, visit
http://edulists.com.au/mailman/listinfo/sofdev
or, via email, send a message with subject or body 'help' to
sofdev-request at edulists.com.au
You can reach the person managing the list at
sofdev-owner at edulists.com.au
When replying, please edit your Subject line so it is more specific than "Re: Contents of sofdev digest..."
Today's Topics:
1. Re: XML Definitions (Janene Watt)
----------------------------------------------------------------------
Message: 1
Date: Mon, 11 Oct 2021 02:33:45 +0000
From: Janene Watt <Janene.Watt at education.vic.gov.au>
To: Year 12 Software Development Teachers' Mailing List
<sofdev at edulists.com.au>
Subject: Re: [Year 12 SofDev] XML Definitions
Message-ID:
<ME3PR01MB8130A65956544466AA2F99199BB59 at ME3PR01MB8130.ausprd01.prod.outlook.com>
Content-Type: text/plain; charset="utf-8"
HI Simon / edulist
There's two main parts for me - examiner comment about what a field is -> Field is <staffid> i.e. what is exactly inside the <>
Then in terms of XML For me it is thinking of this as structured data or programming hierarchy(i.e. like a database record) and the what type of data are you collecting and structuring and what is it's value.
In this example name is just like a form heading - its just simple data that has no real value. Its superficial in its value.
The 3 fields that make up staff id (and the child elements) are effectively the main data that you are collecting because it is the data that you are collecting about each person in that company. The indenting and the parent-child relationship makes this important data because someone has taken the time to structure this to get more details. The people in the company in this case are critical to know. The name is less important but it could still be linked because all these people are part of the same organisation. If company name was part of the staff id attribute then it would have the same importance.
Lastly and maybe not important but I see it as a clue to the answer, Name is not repeated (tells me that its descriptive but less valuable data) and its not likely to be captured more than once.
Regards
Janene
*IMPORTANT - The content of this email is confidential and intended for the recipient(s) specified in the message only. It is strictly forbidden to share any part of this message with any third party, without the written consent from the sender. If you received this message by mistake, please reply to this message and follow with its deletion, so that we can ensure such a mistake does not occur in the future.
From: sofdev <sofdev-bounces at edulists.com.au> On Behalf Of Simon Dorrat
Sent: Monday, 11 October 2021 12:05 PM
To: sofdev at edulists.com.au
Subject: [Year 12 SofDev] XML Definitions
Hi all
Looking over a previous exam the question below appears. I haven't ever seen an official definition of what a "field" is. The only official naming of the structural components of XML is "elements" and "attributes". People sometimes refer to some parts of XML as records, when an element contains other nested elements, and so the components of the record could maybe be called fields, but is this actually accurate?
Looking at the example below (from the 2018 exam I think), I am assuming that the three answers are given because the staffname and salary are explicit elements nested inside staffid, and because the staffid uses an attribute this also be classed as a field, within the staffid record (which is sort of an implied staff record). This logic seems vague and shaky and I would like to be able to explain it better to students. Also to be able to answer the question of why "name" is not a field.
Apologies if this is the wrong forum for this type of question.
Thanks
[cid:image001.png at 01D7BEA4.75F3B9A0]
[salesian_id_portrait_3pms]
Simon Dorrat
DATA MENTOR | TEACHER OF DIGITAL TECHNOLOGIES | MATHEMATICS Bosco Campus
10 Bosco St Chadstone 3148
T +61 3 9807 2644
E sdorrat at salesian.vic.edu.au<mailto:sdorrat at salesian.vic.edu.au>
W salesian.vic.edu.au<https://aus01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.salesian.vic.edu.au%2F&data=04%7C01%7CJanene.Watt%40education.vic.gov.au%7Caf04969f62af4c65512708d98c53215e%7Cd96cb3371a8744cfb69b3cec334a4c1f%7C0%7C0%7C637695112742574877%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=7iD9kMfNFdxCIerUISUPTZFjM1O4uUt4DzIs71aDxdc%3D&reserved=0>
[https://s3.ap-southeast-2.amazonaws.com/www.salesian.vic.edu.au--wpoffload/images/emailbanner.jpg]<https://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.salesian.vic.edu.au%2F&data=04%7C01%7CJanene.Watt%40education.vic.gov.au%7Caf04969f62af4c65512708d98c53215e%7Cd96cb3371a8744cfb69b3cec334a4c1f%7C0%7C0%7C637695112742584833%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=%2FKMBKaTbtEq%2FOqvCg%2BAY%2FknT%2BMCZqxnXBO4iJ24NIH8%3D&reserved=0>
________________________________________
CONFIDENTIAL INFORMATION
The information in this email and any attachments is privileged and confidential intended only for the use of the intended recipient. This information remains the property of Salesian College and if you are not the intended recipient please delete this message immediately. The views expressed in this email are those of the author and do not represent those of Salesian College unless clearly indicated. Please be advised that any dissemination, distribution or copying of the information is strictly prohibited. Salesian College accepts no responsibility for any viruses this email may contain. This notice should not be removed. If you have received this communication in error, please contact us at welcome at salesian.vic.edu.au<mailto:welcome at salesian.vic.edu.au> .
IMPORTANT - This email and any attachments may be confidential. If received in error, please contact us and delete all copies. Before opening or using attachments check them for viruses and defects. Regardless of any loss, damage or consequence, whether caused by the negligence of the sender or not, resulting directly or indirectly from the use of any attached files our liability is limited to resupplying any affected attachments. Any representations or opinions expressed are those of the individual sender, and not necessarily those of the Department of Education and Training.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://edulists.com.au/pipermail/sofdev/attachments/20211011/602b9956/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 108230 bytes
Desc: image001.png
URL: <http://edulists.com.au/pipermail/sofdev/attachments/20211011/602b9956/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.jpg
Type: image/jpeg
Size: 3964 bytes
Desc: image003.jpg
URL: <http://edulists.com.au/pipermail/sofdev/attachments/20211011/602b9956/attachment.jpg>
------------------------------
Subject: Digest Footer
_______________________________________________
sofdev mailing list
sofdev at edulists.com.au
http://edulists.com.au/mailman/listinfo/sofdev
------------------------------
End of sofdev Digest, Vol 197, Issue 3
**************************************
[https://s3.ap-southeast-2.amazonaws.com/www.salesian.vic.edu.au--wpoffload/images/emailbanner.jpg]<https://www.salesian.vic.edu.au>
________________________________________
CONFIDENTIAL INFORMATION
The information in this email and any attachments is privileged and confidential intended only for the use of the intended recipient. This information remains the property of Salesian College and if you are not the intended recipient please delete this message immediately. The views expressed in this email are those of the author and do not represent those of Salesian College unless clearly indicated. Please be advised that any dissemination, distribution or copying of the information is strictly prohibited. Salesian College accepts no responsibility for any viruses this email may contain. This notice should not be removed. If you have received this communication in error, please contact us at welcome at salesian.vic.edu.au<mailto:welcome at salesian.vic.edu.au> .
More information about the sofdev
mailing list