Check out the PSVI API [1] - Post-Schema-Validation-Infoset [1] http://xerces.apache.org/xerces2-j/faq-xs.html
On Tue, May 13, 2008 at 2:56 PM, Jeff Greif <[EMAIL PROTECTED]> wrote: > How can the Xerces parser be directed to insert attributes, specified > in XML Schema to have default values, into a DOM during parsing when > the attributes are not present in the input source? Presumably > schema-validation must be turned on, but apparently some other setting > is needed. The default attribute values are supposed to be accessible > in the infoset, but perhaps they're not actually inserted into the > DOM? I'm using xerces 2.8.1. > > Also, if the values can be inserted into the DOM, will they be output > if the DOM is serialized to a string or stream? > > Jeff > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >