Element information missing in error log
This should cover W3C XML Schema, Relax NG and DTD related problems.
-
- Posts: 1
- Joined: Wed Jan 30, 2019 8:19 am
Element information missing in error log
Hi Experts,
I use the Oxygen editor to generate the XML schemas and use for validation (saxon engine). Now I noticed one symptom as following:
1. If in the schema the element maximum repetition is 1, and I generate XML with two elements, then the error code looks like following:
2. If in the schema the element maximum repetition is more than 1 (for example 2), and I generate XML with 3 elements, then the error code looks like following:
Do you know if this is because of Saxon-EE or something because Oxygen editor? Thanks!
Best regards,
Radar
I use the Oxygen editor to generate the XML schemas and use for validation (saxon engine). Now I noticed one symptom as following:
1. If in the schema the element maximum repetition is 1, and I generate XML with two elements, then the error code looks like following:
Code: Select all
<G_SG29>
...
<S_IMD>
<C_C272>
<D_7081>Z05</D_7081>
</C_C272>
<C_C273>
<D_7009>Z04</D_7009>
</C_C273>
</S_IMD>
<S_IMD>
<C_C272>
<D_7081>Z05</D_7081>
</C_C272>
<C_C273>
<D_7009>Z04</D_7009>
</C_C273>
</S_IMD>
</G_SG29>
Engine name: Saxon-EE 9.8.0.12
Severity: error
Description: In content of element <G_SG29>: The content model does not allow element [u]<S_IMD> to appear more than once[/u].
Start location: 324:16
Code: Select all
<G_SG29>
<S_DTM>
<C_C507>
<D_2005>9</D_2005>
<D_2380>D_23802</D_2380>
<D_2379>102</D_2379>
</C_C507>
</S_DTM>
<S_DTM>
<C_C507>
<D_2005>9</D_2005>
<D_2380>D_23803</D_2380>
<D_2379>102</D_2379>
</C_C507>
</S_DTM>
<S_DTM>
<C_C507>
<D_2005>9</D_2005>
<D_2380>D_23803</D_2380>
<D_2379>102</D_2379>
</C_C507>
</S_DTM>
</G_SG29>
Engine name: Saxon-EE 9.8.0.12
Severity: error
Description: Too many occurrences of repeating element: [u]found 3 occurrences but maxOccurs is 2[/u]
Start location: 345:16
Do you know if this is because of Saxon-EE or something because Oxygen editor? Thanks!
Best regards,
Radar
-
- Posts: 9431
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Element information missing in error log
Hi Radar,
I do not understand what the problem is, according to how you describe the schema as being written there should be errors reported in both instances. Is is something with the particular message? Could you elaborate?
Regards,
Radu
I do not understand what the problem is, according to how you describe the schema as being written there should be errors reported in both instances. Is is something with the particular message? Could you elaborate?
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ 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