neilg 2003/06/23 09:34:29
Modified: java/src/org/apache/xerces/impl/xs/psvi
XSSimpleTypeDefinition.java
Log:
just as complexType definitions can possess multiple annotations, so can simpleType
definitions. It appears that there is a bug in the schema specs that only gives one
annotation component to simpleTypes. Fixing this problem in our schema component API
as a prelude to full annotation support
Revision Changes Path
1.6 +3 -3
xml-xerces/java/src/org/apache/xerces/impl/xs/psvi/XSSimpleTypeDefinition.java
Index: XSSimpleTypeDefinition.java
===================================================================
RCS file:
/home/cvs/xml-xerces/java/src/org/apache/xerces/impl/xs/psvi/XSSimpleTypeDefinition.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- XSSimpleTypeDefinition.java 20 Feb 2003 23:10:41 -0000 1.5
+++ XSSimpleTypeDefinition.java 23 Jun 2003 16:34:29 -0000 1.6
@@ -2,7 +2,7 @@
* The Apache Software License, Version 1.1
*
*
- * Copyright (c) 2001, 2002 The Apache Software Foundation. All rights
+ * Copyright (c) 2001-2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -244,8 +244,8 @@
public boolean getNumeric();
/**
- * Optional. An [annotation].
+ * Optional. A set of [annotation]s.
*/
- public XSAnnotation getAnnotation();
+ public XSObjectList getAnnotations();
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]