DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11876>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11876 Keyrefs not being resolved Summary: Keyrefs not being resolved Product: Xerces2-J Version: 2.0.2 Platform: Sun OS/Version: Solaris Status: NEW Severity: Major Priority: Other Component: SAX AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Im using XML Schema to represent some trees with the following constraints: a. Each node is uniquely identified by two fields (its label and subscript) b. Each tree has some additional features which refer to the nodes in the same tree (a keyref constraint) Ive defined both the key and keyref on the tree element. I run the parser with: java -classpath ... sax.Counter -s -v <xmlfile> but it says that none of the keyrefs are valid eg: [Error] punct.xml:6881:11: Key with value [ID Value: Punct,ID Value: 2] not found for identity constraint of element "tree" I get an error like this for every element with a keyref defined on it. Should I set the options differently ? Or should I change the Schema in some way? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
