Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - SteveHarris

Pages: [1]
General Board / slow RTF generation
« on: March 22, 2006, 06:15:44 am »
How long should it take to generate RTF documentation?  I'm currently running at over 2 hours on my main project: it's making progress but slowly.  

I have upgraded to 788 recently.  It wasn't this slow with previous builds, but recently I have linked diagram references to use cases with a realise association: could this be responsible.

I'll post more when my PC becomes available - I have a deadline to meet and I don't want to loose my current investment in cpu cycles.


General Board / Order of attributes in generated XML schema
« on: February 15, 2006, 05:55:18 am »

I have a problem with the order of attributes when generating more complex XML schemas.

I am implementing an ISO standard.  In the standard I have a pair of classes A & B where B is a specialisation of A.  Class A has several attributes that will transform into elements on schema generation, one of which we will call E and with a datatype of string.

In my implementation of B (B') I want to restrict the datatype of E to an enumeration of strings.  I draw a generalisation association between B and B' and set its stereotype to be XSDrestriction.  In accordance with the rules on complex content restrictions, I then re-declare each of the elements of B in B' varying the type of E to achieve the desired result.  So far so good.

The difficulty is that the order of the elements generated from B differs from those in B' so my XML parser reports that there is an incomplete functional mapping between particles.  I can re-order the particles manually in the schema but this kind of misses the point...

Does anyone know how to work round this?

Many thanks


Bugs and Issues / BUG - HTML report files - invalid XML
« on: February 01, 2008, 01:12:25 am »
I had a quick search on HTML report and couldn't find a previous report

In the HTML export, files are saved to /js/data that contain table of contents entries.  Trouble is they are saved with an XML extension despite being largely untroubled by angle brackets.

AFAIK the XML spec says that is an XML processor encounters a file declaring itself to be XML, it should attempt to validate it.  Of course if this directory is uploaded to an XML database - say eXist - it will be rejected as invalid XML and the HTML report will not function.

When using eXist the workaround is to change the file name for upload and re-name it through WebDav interface.  But the product should not use the .xml extension for files that are clearly not html.

Pages: [1]