Re: [dita-lightweight-dita] XDITA map broken in our grammar files?

From
Mark Giffin <>
Date
2018-08-23T20:19:19+00:00
ID
Thread
Re: [dita-lightweight-dita] XDITA map broken in our grammar files?
What version of the OT are you using? I have not gotten it to work
    yet either. The first thing I ran into in trying to run this is a
    couple of invalid xdita files in the samples.

    

    In the xdita file max-number-bulbs.dita, it has a <source>
    element which the OT gripes about. It's not in the lwdita DTDs.
    Looks like it should be <media-source> instead, that's in the
    DTDs. I changed it.

    

    In xdita file turn-on-off-dim-lights.dita, inside <taskbody>
    is <context> followed by <prereq>. The DTD (task.mod)
    defines taskbody content as either context or prereq or section, so
    one of them has to go. I got rid of prereq and it validated.

    

    I did a pull request on these two xdita files. Can you please give
    me push permissions to our repo for the future?

    

    I tried html5 output from the command line of the latest OT 3.1.2
    and it failed. I think it's because the default 3.1.2 OT does not
    include the lwdita DTDs and so barfs on the xdita files.

    

    And it also does not work with the latest version of Oxygen (20.1)
    even though it has the lwdita DTDs. It uses OT 2.5 and I think it
    won't work with that.

    

    Once I figure out how to publish these sample files, I'll write it
    up for the repo.

    

    Mark Giffin

    

    
On 8/23/2018 7:53 AM, Carlos Evia
      wrote:

    

    
      
      

        
Dear LwDITA SC members,

        

        

        
I was playing with some transformations with the ditac
          update, and my XDITA files worked perfectly. I tried
          transforming the same files with our grammar files using the
          OT and nothing happened in -f HTML5 (no error message).
          However, in -f PDF I got the following error message:

        

        
"fo:flow" is missing child elements. Required content
          model: marker* (%block;)+ (See position 1:10681)

        

        

        
I tried with other XDITA maps and nothing worked... did we
          break the Internet?

        

        

        
Best,

        

        

        
Carlos

        

        

        

        

          

            

              

                

                  

                    

                      

                        

                          

                            
--Â

                            
Carlos Evia, Ph.D.

                            
Associate Professor of Communication

                            
Virginia Tech

                            
Blacksburg, VA 24061-0112

                            
(540)200-8201