[EMAIL PROTECTED] wrote: > The error Xerces is producing certainly isn't very helpful, no doubt there. > But it is a bug in your schema. <selector>s cannot use the attribute axis; > i.e., @anything isn't valid in a <selector>. You can find the subset of > xpath supported in <selector> and <field> expressions in section 3.11.6 of > the Schema Structures spec.
Neil's right: the XPath subset allowed for selectors and fields in XML Schema is *extremely* limited. Your XPath wouldn't work for a field, either because you're only allowed something like "elem/[EMAIL PROTECTED]" and not "elem/[EMAIL PROTECTED]'foo']". -- Andy Clark * IBM, TRL - Japan * [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
