This did the trick. I really make thorough use of these packages. Well done. I'll look into the patch submitting process.
Thanks, Dean -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, November 21, 2002 10:30 AM To: [EMAIL PROTECTED] Subject: Re: org.apache.xerces.impl.xs.psvi "getDefault()" method Yes. getConstraintType() returns which kind of value constraint is defined: XSConstants.VC_NONE/DEFAULT/FIXED. getConstraintValue() returns the string representation of the default/fixed value. I agree that the javadoc should be more descriptive. Any suggestion (patches preferred :-) ) welcome! Cheers, Sandy Gao Software Developer, IBM Canada (1-905) 413-3255 [EMAIL PROTECTED] "Dean Des Rosiers" To: "Xerces" <[EMAIL PROTECTED]> <[EMAIL PROTECTED] cc: com> Subject: org.apache.xerces.impl.xs.psvi "getDefault()" method 11/20/2002 05:09 PM Please respond to xerces-j-user I've looked through the API docs of the org.apache.xerces.impl.xs.psvi < http://xml.apache.org/xerces2-j/javadocs/xerces2/org/apache/xerces/impl/xs/ psvi/package-summary.html> package, but I haven't been able to find a method to retrieve the default value for an element. Would one use the XSElementDeclaration::getContstraintType() and XSElementDeclaration::getContstraintValue() methods? Thanks, Dean Des Rosiers --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]