tksk / jing-trang

Automatically exported from code.google.com/p/jing-trang
0 stars 0 forks source link

Add option to Jing to output simplified schema #57

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This could be useful in conjunction with trang.

PatternDumper can be fixed up to support this.

Original issue reported on code.google.com by jjc.jclark.com on 8 Dec 2008 at 12:50

GoogleCodeExporter commented 9 years ago

Original comment by jjc.jclark.com on 8 Dec 2008 at 12:51

GoogleCodeExporter commented 9 years ago
George, Do you have changes to PatternDumper other than r1993?  Even with that, 
it 
won't handle <data> correctly.

Original comment by jjc.jclark.com on 8 Dec 2008 at 12:54

GoogleCodeExporter commented 9 years ago
I've fixed it to handle data and value properly.

Original comment by jjc.jclark.com on 8 Dec 2008 at 8:03

GoogleCodeExporter commented 9 years ago
I do not have other changes on PatternDumper.
We have, however, another implementation of a pattern dumper visitor that we 
use for
the logical model view in oXygen that tries to generate more user friendly 
names for
patterns and moves the name as attribute inside element or attribute if we have 
a
simple name class. If any of these sound interesting I can look into extracting 
them
from oXygen and merging them into Jing's PatternDumper. 

Original comment by georgebina76 on 8 Dec 2008 at 10:30

GoogleCodeExporter commented 9 years ago
Implemented in r2283.

I made a lot of changes to PatternDumper.  Let me know if the new one is 
missing 
anything you need for oXygen.

Original comment by jjc.jclark.com on 8 Dec 2008 at 11:56