[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] XML Help
Hi 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 <NAME>saurabh</NAME> 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 <NAME></NAME> 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 regards Saurabh
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|