Re: [oXygen-user] FM/OXY: Different DITA code for "conkeyref"

2023-01-26 Thread Oxygen XML Editor Support (Radu Coravu)

Hi Frank,


The content inside the dlentry which has a conref is fallback content, 
it's used only if the conref does not resolve. So what's there is not 
really important. But it also needs to be there to make the XML valid 
according to the DTDs.


Oxygen by default does not generate that extra paragraph inside the dd: 
"".


So this is probably something which you defined in your framework 
customization, maybe you specified in your "cc_config.xml" for example 
that when a "dd" is inserted, Oxygen should also insert a paragraph 
inside it.


About that Schematron rule, I would refine it to skip looking inside 
elements which contain conrefs:







Regards,

Radu

Radu Coravu
Oxygen XML Editor


On 1/26/23 16:56, Frank Dissinger wrote:


Hi list,


As some of you know, I have just switched from FrameMaker to oXygen.


I discovered that the two programs create different DITA code for 
". oXygen creates an empty * *tag before 
the closing  tag. Are both codes equally correct? Or is one 
better than the other?



oXygen code:


        
**
    

FrameMaker code:

  
       




Referenced dita topic:

  
    
    Use this option to quickly find a specific color if 
many colors are loaded.Enter the first few
  letters or any part of the color name. This will select the 
first color the name of which is matched by these
  characters.If your input matches multiple colors, 
click on the small arrow to select a color from the
  list. This list contains only colors with names that contain 
the characters you have entered.

  


BTW: This difference became obvious after defining a Schematron rule 
which outputs an error for  elements which do not have any child 
elements. I have defined this rule and many similar ones because I 
want to wrap every paragraph in  wherever  is valid. The 
FM-generated code () is marked up as invalid by this rule. It 
would be a nightmare to change all these hundreds of "conkeyref"s in 
all my projects. Or should I just do without this check (i.e. the 
second "assert")?




    
    DD 
element must not contain any text.

DD does not contain any child elements
    
    


Regards,

Frank

--

*Frank Dissinger*

Documentation Manager



*CGS Publishing Technologies International GmbH*

*Email *frank.dissin...@cgs-oris.com | *Web* www.cgs-oris.com 



*Address* Kettelerstr. 24 | D-63512 Hainburg | Germany

*Phone* +49 6182 9626-27 | *Fax* +49 6182 9626-99

*Commercial register* Offenbach, HRB no. 21495

*Managing directors* Bernd Rückert, Christoph Thommessen


https://www.cgs-oris.com/Signatur.png 

___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user
___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


[oXygen-user] FM/OXY: Different DITA code for "conkeyref"

2023-01-26 Thread Frank Dissinger

Hi list,


As some of you know, I have just switched from FrameMaker to oXygen.


I discovered that the two programs create different DITA code for 
". oXygen creates an empty * *tag before 
the closing  tag. Are both codes equally correct? Or is one 
better than the other?



oXygen code:

    
        
**
    

FrameMaker code:

  
       




Referenced dita topic:

  
    
    Use this option to quickly find a specific color if many 
colors are loaded.Enter the first few
  letters or any part of the color name. This will select the 
first color the name of which is matched by these
  characters.If your input matches multiple colors, 
click on the small arrow to select a color from the
  list. This list contains only colors with names that contain 
the characters you have entered.

  


BTW: This difference became obvious after defining a Schematron rule 
which outputs an error for  elements which do not have any child 
elements. I have defined this rule and many similar ones because I want 
to wrap every paragraph in  wherever  is valid. The FM-generated 
code () is marked up as invalid by this rule. It would be a 
nightmare to change all these hundreds of "conkeyref"s in all my 
projects. Or should I just do without this check (i.e. the second "assert")?



    
    
    DD 
element must not contain any text.

DD does not contain any child elements
    
    


Regards,

Frank

--

*Frank Dissinger*

Documentation Manager



*CGS Publishing Technologies International GmbH*

*Email *frank.dissin...@cgs-oris.com | *Web* www.cgs-oris.com 



*Address* Kettelerstr. 24 | D-63512 Hainburg | Germany

*Phone* +49 6182 9626-27 | *Fax* +49 6182 9626-99

*Commercial register* Offenbach, HRB no. 21495

*Managing directors* Bernd Rückert, Christoph Thommessen


https://www.cgs-oris.com/Signatur.png ___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user