#1543 XML Plugin and Docbook 5 - no completion

closed-fixed
Eric Le Lay
None
5
2012-04-22
2012-02-03
Alan Ezust
No

I am trying XML plugin with a couple of Docbook 5 documents.
According to a recent post on jedit users, completion w/ RNG schema is not working.
I just tried an XSD document and completion is not working for that either.

Attaching a test file.

Discussion

1 2 > >> (Page 1 of 2)
  • Alan Ezust
    Alan Ezust
    2012-02-03

    docbook 5 test document using xsd

     
    Attachments
  • Alan Ezust
    Alan Ezust
    2012-02-03

    • assigned_to: nobody --> kerik-sf
     
  • Alan Ezust
    Alan Ezust
    2012-02-04

    Tried with DTD and got a different error.
    Added 2 test files under xml/test_data/docbook5

     
  • Alan Ezust
    Alan Ezust
    2012-02-04

    • summary: XML Plugin and Docbook 5 - no completion (RNG or XSD) --> XML Plugin and Docbook 5 - no completion
     
  • Eric Le Lay
    Eric Le Lay
    2012-02-05

    XML plugin is bundled with docbook 4.4, so it won't work out of the box.

    now, after doing Plugins > XML > Set schema and entering "http://docs.oasis-open.org/docbook/rng/5.0/docbook.rnc", parse errors are registered for xsd-xlink.xml as expected, and there is indeed a nasty NullPointerException in the code reading the schema.

    I'll look into it now.

     
  • Alan Ezust
    Alan Ezust
    2012-02-05

    Wow, that was really fast! It seems you fixed DTD, XSD and also RNG completion already in r21069!

    Still testing it...

     
  • Eric Le Lay
    Eric Le Lay
    2012-02-05

    hey, I didn't change anything for XSD, did I ?
    How do you test it ?

    I'm still working on prefixes handling in completion and EditTagDialog

     
  • Alan Ezust
    Alan Ezust
    2012-02-06

    Sorry, the XSD file had a schema associated with it via schemas.xml so I was confused.
    RNG seems to be working though.

     
  • a file from taroth21

     
    Attachments
1 2 > >> (Page 1 of 2)