OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

XML Help

I am new to this group and XML.Actually i am facing one problem in XML
I am validating a XML file using the XML Schema.There is one TAG in the XML
file as 
When i am validating this file it is doing the validation proprely.The max
length that is allowed in the NAME TAG is 8(as mentioned in the schema). 
If i am trying to validate the XML file with the TAG value as null like 
It is not validation it and giving the error as "..<Line 8, Column 44>:
XSD-2021: (Error) Element not completed: 'NAME'...." What i want is that it
should also validate this file even if there is null value for the NAME TAG.

How can we do it?Can we add something in the schema file so that it allows
null value for a particular TAG