Hi, all, We are planning to implement support for schemas <notation> in upcoming Xerces Release [see http://www.w3.org/TR/2000/CR-xmlschema-1-20001024/#declare-notation]. However, DOM & SAX don't provide APIs for exposing Schema notations to applications. Note that schema notations are different from DTD notations, because they have a namespace.
Questions: ---------- 1) Is anybody using schema notations or plan to use those? Can people live for a couple of months without notations? DOM level 3 should (hopefully) take this into consideration in CM models specs. 2) Otherwise we can try the following: Exposing schema notations via DOM: use doctype.getNotations(). Exposing schema notations via SAX: yourDTDHandler.notationDecl(name, pubid, sysid). For SAX & DOM, the information application can get is: notation_name, systemId, publicId. However, you won't be able to get NAMESPACE, nor differentiate between notations from different namespaces. That might mean that if you have multiple notations with same name but from different namespaces - parser will choke. Let us know what do you think. Elena
