Validating in Eclipse plugin
Posted: Wed Jul 23, 2003 8:36 pm
I have the following dtd description
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"../catalog/docbookx.dtd" [<!ELEMENT xi:include (xi:fallback?)>
<!ATTLIST xi:include xmlns:xi CDATA #FIXED 'http://www.w3.org/2001/XInclude'>
<!ATTLIST xi:include href CDATA #REQUIRED>
<!ATTLIST xi:include parse (xml|text) 'xml'>
<!ATTLIST xi:include encoding CDATA #IMPLIED>
<!ELEMENT xi:fallback ANY>
<!ATTLIST xi:fallback xmlns:xi CDATA #FIXED 'http://www.w3.org/2001/XInclude'>
]>
When I place and include like:
<section>
<section>
<xi:include href="cvsDirectory.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
</section>
</section>
the last </section> has a validation error. Is there any why to not get
this error.
thanks
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"../catalog/docbookx.dtd" [<!ELEMENT xi:include (xi:fallback?)>
<!ATTLIST xi:include xmlns:xi CDATA #FIXED 'http://www.w3.org/2001/XInclude'>
<!ATTLIST xi:include href CDATA #REQUIRED>
<!ATTLIST xi:include parse (xml|text) 'xml'>
<!ATTLIST xi:include encoding CDATA #IMPLIED>
<!ELEMENT xi:fallback ANY>
<!ATTLIST xi:fallback xmlns:xi CDATA #FIXED 'http://www.w3.org/2001/XInclude'>
]>
When I place and include like:
<section>
<section>
<xi:include href="cvsDirectory.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
</section>
</section>
the last </section> has a validation error. Is there any why to not get
this error.
thanks