Menu

#1 error "file has wrong structure, root element must be 'table'

1.0
open
nobody
None
2016-08-13
2016-08-06
No

Hi

I think I have found the editor I wanted, but as soon as I launch run.bat <directory where="" the="" schemaSpy="" xml="" file="" is="">, i have this error:
"C:\Tools\SchemaSpy>java -cp * net.sourceforge.schemaspy.editor.SchemaSpyEditor C:\Tools\SchemaSpy\informix_leres_
Reading 1 tables...
File C:\Tools\SchemaSpy\informix_leres_\leres.informix.xml has wrong structure, root element must be 'table'

SchemaSpy is version 5.0.0 and works correctly
what can I do?
Changing the tag "table" to "tables" looks very risky

Am i doing correctly? I found no doc at all :-(
Sincerely
Eric

Related

Tickets: #1

Discussion

  • Gleb

    Gleb - 2016-08-10

    Actually, I used XSLT to split single XML with the whole DB schema to individual XML per table. It allows to store these files in SVN and edit them individually by muliply users. Then another XSLT document were used to build a single XML and process it through SchemaSpy

    I will publish these XSLT documents as a temporary solution this week

     
    • Eric Vercelletto

      Great!

      I had a suspicion about this, that you confirmed J

      Thanks in advance

      Eric

      De : Gleb [mailto:selant@users.sf.net]
      Envoyé : mercredi 10 août 2016 21:23
      À : [schemaspyeditor:tickets] 1@tickets.schemaspyeditor.p.re.sf.net
      Objet : [schemaspyeditor:tickets] #1 error "file has wrong structure,
      root element must be 'table'

      Actually, I used XSLT to split single XML with the whole DB schema to
      individual XML per table. It allows to store these files in SVN and edit
      them individually by muliply users. Then another XSLT document were used to
      build a single XML and process it through SchemaSpy

      I will publish these XSLT documents as a temporary solution this week

      [tickets:#1] https://sourceforge.net/p/schemaspyeditor/tickets/1/ error
      "file has wrong structure, root element must be 'table'

      Status: open
      Milestone: 1.0
      Created: Sat Aug 06, 2016 10:09 AM UTC by Eric Vercelletto
      Last Updated: Sat Aug 06, 2016 10:09 AM UTC
      Owner: nobody

      Hi

      I think I have found the editor I wanted, but as soon as I launch run.bat
      <directory where="" the="" schemaSpy="" xml="" file="" is="">, i have this
      error:
      "C:\Tools\SchemaSpy>java -cp *
      net.sourceforge.schemaspy.editor.SchemaSpyEditor
      C:\Tools\SchemaSpy\informix_leres_
      Reading 1 tables...
      File C:\Tools\SchemaSpy\informix_leres_\leres.informix.xml has wrong
      structure, root element must be 'table'

      SchemaSpy is version 5.0.0 and works correctly
      what can I do?
      Changing the tag "table" to "tables" looks very risky

      Am i doing correctly? I found no doc at all :-(
      Sincerely
      Eric


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/schemaspyeditor/tickets/1/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Tickets: #1

  • Gleb

    Gleb - 2016-08-13

    Here is Ant build file + XSLTs to split Schema Spy output to individual files and than build single meta file back

     
    • Eric Vercelletto

      Thanks a lot

      What are the steps ?

      1) Should I launch it before launching the editor ? what is the
      command line and arguments for this ?

      2) Or is this part launched by the editor itself ?

      Thanks for making it clearer

      Best regards,

      Eric

      De : Gleb [mailto:selant@users.sf.net]
      Envoyé : samedi 13 août 2016 03:14
      À : [schemaspyeditor:tickets] 1@tickets.schemaspyeditor.p.re.sf.net
      Objet : [schemaspyeditor:tickets] #1 error "file has wrong structure,
      root element must be 'table'

      Here is Ant build file + XSLTs to split Schema Spy output to individual
      files and than build single meta file back

      Attachments:


      [tickets:#1] https://sourceforge.net/p/schemaspyeditor/tickets/1/ error
      "file has wrong structure, root element must be 'table'

      Status: open
      Milestone: 1.0
      Created: Sat Aug 06, 2016 10:09 AM UTC by Eric Vercelletto
      Last Updated: Wed Aug 10, 2016 07:23 PM UTC
      Owner: nobody

      Hi

      I think I have found the editor I wanted, but as soon as I launch run.bat
      <directory where="" the="" schemaSpy="" xml="" file="" is="">, i have this
      error:
      "C:\Tools\SchemaSpy>java -cp *
      net.sourceforge.schemaspy.editor.SchemaSpyEditor
      C:\Tools\SchemaSpy\informix_leres_
      Reading 1 tables...
      File C:\Tools\SchemaSpy\informix_leres_\leres.informix.xml has wrong
      structure, root element must be 'table'

      SchemaSpy is version 5.0.0 and works correctly
      what can I do?
      Changing the tag "table" to "tables" looks very risky

      Am i doing correctly? I found no doc at all :-(
      Sincerely
      Eric


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/schemaspyeditor/tickets/1/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Tickets: #1


Log in to post a comment.