db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ron Gallagher" <rongallag...@bellsouth.net>
Subject RE: Error in repository.dtd ?
Date Fri, 30 Jan 2004 00:19:55 GMT
Thomas --

The ? quantifier indicates that 0 or more elements can exist.  By wrapping
the runtime-argument and constant-argument elements in parenthesis, we're
essentially saying "either a runtime-argument or constant-argument can occur
0 or more times".  So the dtd would allow this:

<documentation></documentation>
<documentation></documentation>
<constant-argument .../>
<runtime-argument .../>
<runtime-argument .../>
<constant-argument .../>
<runtime-argument .../>
<constant-argument .../>
<attribute .../>
<attribute .../>

Ron Gallagher
Atlanta, GA
rongallagher at bellsouth dot net


-----Original Message-----
From: Thomas Dudziak [mailto:tomdz@first.gmd.de]
Sent: Thursday, January 29, 2004 6:00 PM
To: ojb-dev@db.apache.org
Subject: Error in repository.dtd ?


I just started to add support for the procedures (insert,delete,update) to
the XDoclet OJB module, and I noted that in the DTD every procedure can
only have at most one argument:

<!ELEMENT insert-procedure
	(documentation?, (runtime-argument | constant-argument)?,
attribute*)>

(similar for delete-procedure and update-procedure).
Is this correct (the documentation of the tag indicates that there can be
more than one argument) ?

Tom



---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message