[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

XML Help

  • From: "Saxena, Saurabh" <saurabh.saxena@i...>
  • To: 'XML' <xml-dev@l...>
  • Date: Wed, 18 Apr 2001 06:18:58 -0700

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 



  • Follow-Ups:

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.