posted 21 years ago
This is the question with the nil, nill, nillable.
It was in XML@Whiz, I am not sure if it is okay to post, but I don't see why not:
An XML based application is written to parse an input XML file, verify that it conforms to a particular schema and update the database with the data from the XML file. The schema requires that an element with name partName should still appear in the input XML file, even if it has no content, so that the database can be updated with null values for that particular field. Enforcing this restriction in the XML schema can be done by adding which of the following lines in the schema.
a) <element name="partName" nullable="true"/>
b) <element name="partName" nillable="true"/>
c) <element name="partName" nill="true"/>
d) <element name="partName" default="null"/>
e) <element name="partName" default="nill"/>
So, does this not mean there is a error in their answer - as per you last post?
re: nil="true"/> and not nill="true"/>