> XPointer has a shorthand syntax which locates and includes an element by its > id. So I need to be able to determine the attribute that is a > schema-determined ID, or a DTD-determined ID. > > This is confused that XML containing XIncludes can't be validated until > *after* the XInclude has assembled the aggregate document. Sadly,I need the > schema to be able to evaluate the XPointer shorthand to be able to assemble > the aggregate document.
I'm not familiar with XInclude, but you can use ID to identify the fragment to be included, right? So isn't it just a matter of setting up another parser with whatever validator you care, then run that pipeline until you find the right ID? Then you can forward the sub-tree into the main pipeline? Sorry if I'm missing the point. regards, -- Kohsuke Kawaguchi Sun Microsystems [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
