.. (לתיקייה המכילה) | ||
in q3b, are we allowed to refer you to the answer of q3a? | |
No. you need to show the calculations and your work according to the 3NF algorithm. |
in q4a, should the comments for a discount be a comment element () or CDATA/#PCDATA? could there be more than 1 comment value for a discount? | |
the comment is CDATA/#PCDATA (you cannot define comment element such as <!-- --> in a DTD). there can only be one comment per discount. |
in q4d, can we compare the product lists by a simple string comparison? | |
for the sake of this exercise, you may. since the value of an iderfs attribute is a string of ids (separated by white spaces), textual comparison is usually incorrect (for example, due to possible different orders of products). however, we will accept a textual comparison this time. |