RE: schema validation and date datatype

2003-06-30 Thread O'Keeffe, Michael
es, such as integer, are not.  -Mike   Ender Oezguer wrote: Hi, same case for e.g. 'xs:int' and 'xs:float'. Is there a switch for the validator to handle empty values ? Or any other ideas ? Ender O'Keeffe, Michael wrote: With String datatypes, if th

RE: registering schema locations

2003-06-19 Thread O'Keeffe, Michael
Here is some good documentation from Sun illustrating how to configure it with JAXP (with Xerces as the parser).   http://java.sun.com/webservices/docs/1.0/tutorial/doc/JAXPDOM9.html#63997 -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]Sent: Thursday, June 19,

RE: Problem with XML Validation

2003-05-06 Thread O'Keeffe, Michael
>From the www.w3.org site, you might creating a simple xsd, and then use the "include" element for example: http://www.example.com/schemas/address.xsd"/> According to the site, "The one important caveat to using include is that the target namespace of the included components must be the same as t

RE: XML mapping to Java objects

2003-04-24 Thread O'Keeffe, Michael
This article at DeveloperWorks compares various tools:   http://www-106.ibm.com/developerworks/library/x-databdopt/index.html   The followup article has some performance comparisons:   http://www-106.ibm.com/developerworks/xml/library/x-databdopt2/ -Original Message-From: Shital Jos

RE: createAttributeNS question

2003-03-07 Thread O'Keeffe, Michael
As far as documentation, this book has some good examples: Ch. 4 of "XML and Java" 2nd ed, Maruyama, Tamura, Uramoto and others The examples use createElementNS to create an element with a namespace, and then once you have the element, the elements setAttributeNS method to set an attribute w

schema validation and date datatype

2003-03-07 Thread O'Keeffe, Michael
With String datatypes, if the element has an attribute with minOccurs="0", and the tag is there in the XML, but there is no value, validation is successful. However, when I run schema validation where the tag is there but the value is empty, I will get a schema validation error. Here is an examp