Error XML DTD Contain
Oxygen general issues.
-
- Posts: 46
- Joined: Mon Aug 22, 2011 3:53 pm
Error XML DTD Contain
Hi,
I use oXygen Editor version 14.2
I have a xml file when I open it on oXygen I get the following error
Unexpected element "para". The content of the parent element type must match "(valeur|evidence|tabref|imgref|imgplref|opref|s-opref|ss-opref|outilref|ingdref|chpref-e|opref-e|imgref-e|plref-e|tabref-e|ftref-e|repref-e|pref-e|docref-e|schref-e|sctref-e|sscref-e|sopref-e|ssoref-e|desrf-e)".
The line where error is detected contain :
:<para><pref-e><idsdm>xxxxx</idsdm></pref-e></para>
I don't understand because <pref-e> exist in the list of possibilities
Thank you for help
I use oXygen Editor version 14.2
I have a xml file when I open it on oXygen I get the following error
Unexpected element "para". The content of the parent element type must match "(valeur|evidence|tabref|imgref|imgplref|opref|s-opref|ss-opref|outilref|ingdref|chpref-e|opref-e|imgref-e|plref-e|tabref-e|ftref-e|repref-e|pref-e|docref-e|schref-e|sctref-e|sscref-e|sopref-e|ssoref-e|desrf-e)".
The line where error is detected contain :
:<para><pref-e><idsdm>xxxxx</idsdm></pref-e></para>
I don't understand because <pref-e> exist in the list of possibilities
Thank you for help
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: Error XML DTD Contain
Hi,
Well, the problem is the context of 'para' (Unexpected element "para". ), not 'pref-e', but I can't see that in your example.
Can you please send us a sample file showing the problem to support AT oxygenxml DOT com?
Regards,
Adrian
Well, the problem is the context of 'para' (Unexpected element "para". ), not 'pref-e', but I can't see that in your example.
Can you please send us a sample file showing the problem to support AT oxygenxml DOT com?
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
-
- Posts: 46
- Joined: Mon Aug 22, 2011 3:53 pm
Re: Error XML DTD Contain
Hi,
Indeed, in the DTD I realized that PARA element could not contain elements PARA
example :
I changed the DTD, I do not have this error.
I have another problem
In XML FILE :
I do not understand the problem ?
Thank you for help
Indeed, in the DTD I realized that PARA element could not contain elements PARA
example :
Code: Select all
<para>xxxxxx <para><pref-e><idsdm>yyyyyy</idsdm></pref-e></para></para>
I have another problem
Code: Select all
E [Xerces] ENTITY "IMG.0" is not unparsed.
Code: Select all
<img nom="IMG-1" l="450" h="450"><refdmimg ref="FIG-1"/><image NOMFIC="IMG.0"/></img>
Thank you for help
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: Error XML DTD Contain
Hello,
I've seen something similar here:
http://www.webdeveloper.com/forum/showt ... y-problems
Look at the icon attribute (icon ENTITY #REQUIRED).
In that case the mistake was that the declared entity should have been named 'picture', but was named 'image'.
As in the link above, the problem is in your DTD. You have probably declared the attribute NOMFIC as an entity.
If you want to go the entity route, you will have to declare the entity 'IMG.0'. Otherwise, just change the attribute declaration in the DTD to CDATA instead.
Regards,
Adrian
I've seen something similar here:
http://www.webdeveloper.com/forum/showt ... y-problems
Look at the icon attribute (icon ENTITY #REQUIRED).
In that case the mistake was that the declared entity should have been named 'picture', but was named 'image'.
As in the link above, the problem is in your DTD. You have probably declared the attribute NOMFIC as an entity.
If you want to go the entity route, you will have to declare the entity 'IMG.0'. Otherwise, just change the attribute declaration in the DTD to CDATA instead.
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
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