On 10/6/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I'm sorry I wasn't clear.  The repository.dtd that comes with
> db-ojb-1.0.3 contains this definition:
>
> <!ATTLIST descriptor-repository
>         version (1.0) #REQUIRED
>         isolation-level (read-uncommitted | read-committed |
> repeatable-read |
>                          serializable | optimistic | none)
> "read-uncommitted"
>         proxy-prefetching-limit CDATA "50"
> >
>
> but when XMLSpy/ME tries to validate this line in repository.xml:
>
> <descriptor-repository version="1.0"
>                 isolation-level="read-uncommitted"
>         proxy-prefetching-limit="50">
>
> the resulting message is:
>
> This file is not valid: Default value " must be one of the name tokens
> declared for enumerated attribute 'isolation-level'.
>
> If I change the dtd definition to
>
> <!ATTLIST descriptor-repository
>         version (1.0) #REQUIRED
>         isolation-level (read-uncommitted | read-committed |
> repeatable-read |
>                          serializable | optimistic | none) #IMPLIED
>         proxy-prefetching-limit CDATA "50"
> >
>
> I get the exactly the same error message.

Yes, because IMO the problem lies in the ATTLIST of class-descriptor,
not descriptor-repository, and therefore you'd have to change this
attribute there.

Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to