Hi I have a question about the state of the schema implementation in xerces-J 1.0.2
My understanding of the xml schema spec and namespaces is that my xml document should look like this: <ris:ris xmlns:ris="ris.xsd"> <ris:person>...</ris:person> ... </ris:ris> However I notice that the example personal-schema.xml looks more like <ris xmlns="ris.xsd"> <person>...</person> </ris> ie. only a default namespace is allowed. When I try to add them in I get all kinds of errors. I have tried to set the the namespaces feature to true. parser.setFeature("http://xml.org/sax/features/validation", true); parser.setFeature("http://xml.org/sax/features/namespaces", true); Is this something that is just not currently implemented or am I confused? If this is just not currently supported, does anybody have plans to work on it. My problem is that I am also trying to xalan and it trips up on a document with a default name space. If I'm just doing this all wrong, a short example of schema use that also works with xalan would be helpful. Thanks in advance. Karen