Hello,
I meet a problem with XMLeditor:
If a DTD contains a structure requiring either an element (e.g. C) or a
sequence of elements (e.g. (A, B)), XMLeditor seems to allow only the
isolated element to be introduced.
Here is a sample DTD:
<!ELEMENT OUVRAGE (PARTIE+)>
<!ELEMENT PARTIE ((A, B)| C)>
<!ELEMENT A (#PCDATA)>
<!ELEMENT B (#PCDATA)>
<!ELEMENT C (#PCDATA)>
XMLeditor offers only <C> as part of <PARTIE>; I didn't find a way to be
offered A, followed by B.
Did I miss something?
Interestingly, XXE (under Windows) validates the following instance:
<?xml version='1.0' encoding='ISO-8859-1'?>
<!DOCTYPE OUVRAGE SYSTEM "file:/C:/Program
Files/XMLmind_XML_Editor/dtd/DTD_pb/exemple.dtd">
<OUVRAGE>
<PARTIE>
<A>A
</A>
<B>B
</B>
</PARTIE>
</OUVRAGE>
but it prevents creating it unless you are in repair mode.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ap15.vcf
Type: text/x-vcard
Size: 260 bytes
Desc: Card for Alain Pierrot
Url :
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20020731/30a0785a/attachment.bin