Input list for xs:keyref
Are you missing a feature? Request its implementation here.
-
- Posts: 11
- Joined: Wed Jan 30, 2008 5:50 pm
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Input list for xs:keyref
Post by sorin_ristache »
Hello,
Regards,
Sorin
The list displayed for the attribute refer of a xs:keyref element displays the values of the attribute name of xs:key elements that are already defined in the XML Schema. Do you talk about other input list?Uli wrote:Oxygen should provide an input list for fields which are referenced via xs:keyref. With ID and IDREF it works.
The error is not clear from the screenshot. Can you point more exactly to the schema fragment and the XML fragment of the error?
Regards,
Sorin
-
- Posts: 11
- Joined: Wed Jan 30, 2008 5:50 pm
Re: Input list for xs:keyref
Yes, i talk about the list which should provided in the XML File.sorin wrote:The list displayed for the attribute refer of a xs:keyref element displays the values of the attribute name of xs:key elements that are already defined in the XML Schema. Do you talk about other input list?Uli wrote:Oxygen should provide an input list for fields which are referenced via xs:keyref. With ID and IDREF it works.
This list should contain all values which are inputted in the xs:key defined fields.
If i have a key/keyref pair the keyrefs in the xml file are checked against the keys. If i have inserted a value in the keyref field which is not defined as key, the decribed error occurs. Thats ok. But now Oxygen shouls jump to the wrong keyref field.
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Input list for xs:keyref
Post by sorin_ristache »
Thank you for the details. The values of the fields defined as components of an xs:key are not listed in the content completion window for fields defined as components of an xs:keyref. We will consider implementing that in a future version.Uli wrote:Yes, i talk about the list which should provided in the XML File.
This list should contain all values which are inputted in the xs:key defined fields.
If the field of the keyref specifies an XML element I see that the location of the error is the end tag of the XML element with the error which is an ancestor of the XML element specified in the keyref. If I use xs:ID and xs:IDREF instead of xs:key and xs:keyref the location of the error is exact. It points to the field defined as xs:IDREF that does not contain an xs:ID value. We will try to report a more exact location for xs:key/xs:keyref too.Uli wrote:If i have a key/keyref pair the keyrefs in the xml file are checked against the keys. If i have inserted a value in the keyref field which is not defined as key, the decribed error occurs. Thats ok. But now Oxygen shouls jump to the wrong keyref field.
Regards,
Sorin
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service