mrglavas 2003/11/09 17:03:31 Modified: java/src/org/apache/xerces/impl/msg XMLMessages.properties Log: Added error messages for NoNotationOnEmptyElement and UniqueNotationName validity constraints. Thanks to Neil Delima for the patch for UniqueNotationName. Revision Changes Path 1.27 +2 -0 xml-xerces/java/src/org/apache/xerces/impl/msg/XMLMessages.properties Index: XMLMessages.properties =================================================================== RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/impl/msg/XMLMessages.properties,v retrieving revision 1.26 retrieving revision 1.27 diff -u -r1.26 -r1.27 --- XMLMessages.properties 17 Oct 2003 17:35:57 -0000 1.26 +++ XMLMessages.properties 10 Nov 2003 01:03:30 -0000 1.27 @@ -246,8 +246,10 @@ MSG_WHITE_SPACE_IN_ELEMENT_CONTENT_WHEN_STANDALONE = White space must not occur between elements declared in an external parsed entity with element content in a standalone document. NMTOKENInvalid = Attribute value \"{0}\" of type NMTOKEN must be a name token. NMTOKENSInvalid = Attribute value \"{0}\" of type NMTOKENS must be one or more name tokens. + NoNotationOnEmptyElement = Element type \"{0}\" which was declared EMPTY cannot declare attribute \"{1}\" of type NOTATION. RootElementTypeMustMatchDoctypedecl = Document root element \"{1}\", must match DOCTYPE root \"{0}\". UndeclaredElementInContentSpec = The content model of element \"{0}\" refers to the undeclared element \"{1}\". + UniqueNotationName = The declaration for the notation \"{0}\" is not unique. A given Name must not be declared in more than one notation declaration. ENTITYFailedInitializeGrammar = ENTITYDatatype Validator: Failed Need to call initialize method with a valid Grammar reference. ENTITYNotUnparsed = ENTITY \"{0}\" is not unparsed. ENTITYNotValid = ENTITY \"{0}\" is not valid.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]