Tag archives for Validation

CSharp/C# : Generate Custom Types from XSD file, XmlSerializer, XML Validation
Hi, A post with concrete examples concerning the generation of Types/POJO from a XSD file, the serialization of these objects/POJO to XML and finally the validation of XML with XSD. Generate Custom Types from XSD file XSD file myXsdFile.xsd:   CSharp sources and types generator: //....     After execution, a CSharp file MyCustomTypes.cs containing all types of XSD file is generated:       Serialization of objects to XML Instantiation of POJO objects ...more»
Java : Annotation : Example of validation with annotation (mandatory, target, maxlength…)
Hello, I would present you an example concerning the annotation in JAVA: validation POJO with annotation. Brief presentation Introduced with Java SE 5, the annotations are more increasingly used in the development of applications. Annotations provide informations about a class and they have no direct effect on the annotated code. Annotations can be preserved at runtime (RetentionPolicy.RUNTIME) or are only available at development ...more»
Java/XML: Validating XML with DTD (Document Type Definition) or XSD (XML Schema Definition) with JAXP (SAX, DOM)
After, my post concerning the XML parsing with JAXP (SAX and DOM APIs), here, I would present simple examples of validation XML stream with the JAXP (Java APIs for XML Processing) API which is a common interface for creating, parsing and manipulating XML documents using the standard SAX, DOM and XSLTs. 1. XML Validating XML has become indispensable in Information Systems Architectures ...more»
Sencha/ExtJs: Form Validation fields
After the post Sencha/ExtJs: Validation fields on the fly with VType, I would write some words concerning the form's validation on client side with the Sencha/ExtJs framework. A concret example, with a form containing several fields and in our case a date field and a time field. First, we will create a VType in order to valid the time field; ...and the form ...more»
Copyright ® 2012 Hüseyin Özveren. No reproduction, even partial, can be used from this site and all its contents including text, documents, images, etc.. without the express permission of the author.