speedata / publisher

speedata Publisher - a professional database Publishing system
https://www.speedata.de/
GNU Affero General Public License v3.0
292 stars 36 forks source link

ForAll as a child Element of Ol #444

Closed ckosmowski closed 1 year ago

ckosmowski commented 1 year ago

Long time no see, i am currently layouting around a bit and stumbled upon the following:

According to layoutschema-de.xsd "ForAll" is allowed as a child element of Ul and it is not allowed as a child element of Ol. However using ForAll as a child of Ol seems to work just fine.

So this works:

<Record element="bullet">
        <NewPage/>
        <PlaceObject area="text">
            <Textblock fontfamily="Baskerville">
                <Ol>
                    <ForAll select="entry">
                        <Li><Value select="."/></Li>
                    </ForAll>
                </Ol>
            </Textblock>
        </PlaceObject>
    </Record>

Is it missing in the schema only?

pgundlach commented 1 year ago

Hi CK! Nice to see you here!

This seems like a schema error. It will be fixed in the next version. I can send you the current version of the schema if you want.

ckosmowski commented 1 year ago

Nice to be here again :-)

I'll get it in the next version, i fixed it locally i just wasn't sure enough that is isn't intended to file a pull request. Next time i'll be happy to contribute.

pgundlach commented 1 year ago

Fixed with a94d3d175c4dc12b5550d4524a39aea207a9e63f