[oXygen-user] content completion not working for idref with XIncludes

Oxygen XML Editor Support support at oxygenxml.com
Thu May 2 10:11:59 CDT 2013

Hello Bob,

I've tried this with DocBook 5 with XInclude, set a few xml:ids and 
referred them with link/@linkend, set up a validation scenario that uses 
the main file and got the content completion and validation working.
Did you set a specific engine in the validation scenario? Make sure you 
let it use the "<Default engine>" or Xerces. In Oxygen the Xerces engine 
with some tweaks is the one that collects the IDs so that the CC can 
list them for IDREFs.

Note that the "Master Files" currently only supports XSD, XSL and RNG. 
So adding an XML there won't make any difference (at least at this time, 


Adrian Buza
oXygen XML Editor and Author Support

Tel: +1-650-352-1250 ext.202
Fax: +40-251-461482
support at oxygenxml.com

Bob Stayton wrote:
> I'm trying to create a set of modular documents using XInclude to assemble 
> them (using a custom XSD).  During editing, it is vital that IDREFs resolve 
> to an ID value to ensure data integrity.  To make that easier, I want 
> Content Completion to work when inserting an attribute value of type IDREF. 
> I have followed the directions in Oxygen Help to set this up.  I am able to 
> validate each module individually and the master file, regardless of where 
> the id values reside, showing that the ID values are available during the 
> validation step.  But I cannot get the Content Completion to work for the 
> IDREFs.  When I enter an attribute of type IDREF and hit Ctrl-Space, there 
> is no list, not even ID values from the current module.
> Details:
> Oxygen 14.2
> Text mode
> Custom xsd schema using xs:ID and xs:IDREF attribute types.
> Enabled Master File Support for the project.
> Project set up with top-level file listed under Master Files in the Project 
> view.
> Validation scenario created and assigned to all files has its "URL of the 
> file to validate" set to the Master file.
> What's missing that allows the IDs be validated but the Content Completion 
> fail to work?
> Bob Stayton
> Sagehill Enterprises
> bobs at sagehill.net 
> _______________________________________________
> oXygen-user mailing list
> oXygen-user at oxygenxml.com
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user

More information about the oXygen-user mailing list