[Home] [By Thread] [By Date] [Recent Entries]

  • To: "Jim Rankin" <jimbokun_lists@m...>,<xml-dev@l...>
  • Subject: RE: XSD "simpleType" validation for strings
  • From: "Dare Obasanjo" <dareo@m...>
  • Date: Fri, 2 Apr 2004 12:35:00 -0800
  • Thread-index: AcQY7zjI1BMaz3KgS1OXKiQfZ03WvQAAqDhA
  • Thread-topic: XSD "simpleType" validation for strings

If you are using the .NET Framework you can use the XmlSchemaDatatype.ParseValue() method. It is described at
http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemXmlSchemaXmlSchemaDatatypeClassParseValueTopic.asp
 

--
PITHY WORDS OF WISDOM
The other line always moves faster.    

This posting is provided "AS IS" with no warranties, and confers no rights.

 


From: Jim Rankin [mailto:jimbokun_lists@m...]
Sent: Friday, April 02, 2004 12:17 PM
To: xml-dev@l...
Subject: XSD "simpleType" validation for strings

Hi.

Most of the tutorials for schema validation libraries are in terms of validating an entire document. I'm interested in just validating text strings against an xsd simple type.

Are there any good open source libraries out there that would give me hooks to do this in either C or Java?

Thanks!
-jimbo

Excelsior! XML Marshaller for Cocoa
http://www.homepage.mac.com/jimbokun/Excelsior.html

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member