[Scribus] SCRIBUS DTD (suite)

bulk at katskave.com bulk
Sun Nov 2 06:27:00 CET 2003

Well, I don't know that much about xml, honestly.  But I figure I 
should be able to derive most of the scribus spec from working with the 
documents - even if it isn't in the form of a real DTD (although I was 
going to try that too once I figured it out).

Important things I've discovered while playing around so far (in case 
you were going to play with stuff too):

1) it does not matter what order the attributes are listed in
2) the CH attribute is the only attribute which can contain a newline 
character (so far, I have not exhaustively tested every tag and 
attribute yet) * scribus fails to open the document *
3) the closing brace (and end slash if there) must not be on it's own 
line * scribus crashes *
4) you may add line breaks and spaces in between attributes of a tag
5) the page must contain at least one layer
6) there must be an empty PAGE tag at the end of the document
7) the end slash is only used on tags that do not contain any other tags
8) I have not seen the use of any escape sequences

I am going to add more to this list, but I seem to have broken XDarwin 
(Xwindows) somehow...  But I hope to get everything all fixed up soon 
and back to working on this again.  It's really rather fun - like a 
puzzle.  :)

-- mary

On Saturday, November 1, 2003, at 09:20  AM, Thomas Ahlstrom wrote:

> Hi,
> Is scribus xml really wellformed xml?. I question if there is a DTD 
> and/or the possibility to derive one. For example I cannot understand 
> the fact that the actual textflow is contained?within an attribute.
> /Thomas
> >From: bulk at katskave.com
> I don't know which of those elements are required, which are optional, 
> where they are legal (what can I nest inside of what), etc. It's not a 
> full spec.
> On Thursday, October 30, 2003, at 09:29 AM, C?dric GEMY wrote:
> http://www.atlantictechsolutions.com/scribusdocs/pdfs/docformat0.8.pdf

More information about the scribus mailing list