> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > Here's the error when I try to parse the personal-schema.xml example: > (the same still) > > Attribute "xmlns" must be declared for element type > "personnel". at line > 2, column 18 > Attribute "id" must be declared for element type "person". > at line 4, > column 14 > null
Someone correct me if I'm wrong but I don't think Xerces currently supports Namespaces and Schema at the same time. In the new spec (2/25) Namespaces and Schema are wielded together. As I recall, whenever I turned Namespaces on Schema would break. Try removing the namespace specifier altogether and turn off Namespaces. PS: I think you will find working with the old (12/17) Namespace implementation an exercise in frustration. I have personally opted for another parser until Xerces catches up. I get my frustrations elsewhere for now but I will return to open source shortly, I am certain.