Bug in attribute completion with RelaxNG

Having trouble installing Oxygen? Got a bug to report? Post it all here.
dsewell
Posts: 125
Joined: Mon Jun 09, 2003 6:02 pm
Location: Charlottesville, Virginia USA

Bug in attribute completion with RelaxNG

Post by dsewell »

I've just discovered a bug with atttribute completion when editing a document against a particular Relax NG schema (XML syntax, but it's the same with the compact syntax version):

http://lister.ei.virginia.edu/~drs2n/Te ... ingEra.rng

There is one element, <time>, whose @type attribute is defined as a list of permitted values ('am', 'pm', 'military', 'descriptive'). But when editing a file using this schema, for any element that takes a @type attribute, the attribute completion box shows those four possible values, even for cases where the @type attribute is defined as "<text/>". Try <div> or <q> for example.

This affects completion only--validating the file still works properly against the schema.

(The above schema is basically a TEI schema, from the working P5 revision.)
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post by george »

Hi David,

Thanks, we already reproduced this in a test case and we are looking for possible solutions.

Best Regards,
George
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post by george »

Hi David,

We fixed the problem, thanks again for letting us know about it. The fix will be available in the next release.

Best Regards,
George
dsewell
Posts: 125
Joined: Mon Jun 09, 2003 6:02 pm
Location: Charlottesville, Virginia USA

Thanks

Post by dsewell »

Thanks as always for the quick attention to bug reports,

David
Post Reply