How do I create JAXB bindings for docbook

后端 未结 1 822
我寻月下人不归
我寻月下人不归 2020-12-21 03:37

When I run xjc against docbook.xsd, I get a lot of errors:

parsing a schema...
[ERROR] Property \"Revision\" is already defined. Use <jax         


        
1条回答
  •  猫巷女王i
    2020-12-21 04:20

    You could use the following bindings file with the DocBook version 5 XML Schema:

    binding.xml

    
    
    
        
            
        
    
        
                
                    
                
                
                    
                
                
                    
                
                
                    
                
                
                    
                
                
                    
                
                
                    
                
        
    
    

    The command line to include the bindings is:

    xjc -extension -d out -b binding.xml docbook.xsd
    

    0 讨论(0)
提交回复
热议问题