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

From
Carlos Evia <>
Date
2018-08-23T23:42:22+00:00
ID
CABZEkHAVa5m4ccLMm-14heUS+LywjvUnys9k2_Q==
Thread
Re: [dita-lightweight-dita] XDITA map broken in our grammar files?
Oh my those sample files are so old and horrible. I will update them tomorrow. I have been busy this week with Keith's samples and making the topics included in our committee note actual XDITA, HDITA, and MDITA files that I reference with a coderef instead of just pasting code snippets. 

I do not see your pull request....

I am working with all 3.1.x versions of the OT and I can't transform any XDITA map... forget about these outdated samples (I will fix them tomorrow... promise). Not even with brand new XDITA files.

I worked this week on Keith's XDITA samples and they now work and transform with the ditac thing, but nothing with the OT... and nothing with the version of our grammar files that Oxygen carries.

--Â

Carlos Evia, Ph.D.

Associate Professor of Communication

Virginia Tech

Blacksburg, VA 24061-0112

(540)200-8201

On Thu, Aug 23, 2018 at 4:19 PM Mark Giffin <> wrote:

  
    
  
  

    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