Re: Serializing Attribute nodes

2007-04-04 Thread Michael Glavassevich
Hi Desmond, "Desmond Whewell \(CV/ETL\)" <[EMAIL PROTECTED]> wrote on 03/30/2007 08:29:04 AM: > I have a requirement to serialize parts of an XML document, either the > whole document or an element or an attribute. My code works fine for > documents and elements, but fails for attributes. If I t

Re: Multiple schema for schema-location

2007-04-04 Thread Michael Glavassevich
Hi Jimmy, The value you specified is in the wrong format. It's supposed to be a whitespace separated list [1] of URIs (i.e. no commas). It looks like we also have a bug since we're not tokenizing this list. Feel free to open a bug report in JIRA [2]. Thanks. [1] http://www.w3.org/TR/2004/REC

Re: Validating XML documents against schemas

2007-04-04 Thread Michael Glavassevich
Hi Julie, Not sure what's wrong here (since you've left out some details), but you may find it easier to get this working using the JAXP 1.3 Validation API. You can compile your schema using the SchemaFactory [1] and then use the Schema [2] object it returns for validation. Schema location hint