You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by Jey Santhalingam <JS...@clearnet.com> on 2001/02/06 17:36:34 UTC
DOM Parser
I am having problem with DOM Parser for Entity References.
I have some sub-XML's defined in my DTD Entity definition.
This DTD is not complete.
e.g.
<!DOCTYPE PORTAL_MAIN [
<!ENTITY top SYSTEM "navigation3v.xml">
<!ELEMENT PORTAL_MAIN ANY>
]>
<PORTAL_MAIN>
some XMLs
&top
some other XMLs
</PORTAL_MAIN>
When I parse this document with Xalan Processor, it create errors about
undefined XMLs(some and some other XMLs)
When I use DOMPaser to parse this it Skip the navigation3v.xml.
Can anyone help me to solve this problem.
Thank You
Jey Santhalingam
Consultant, eLoyalty Canada, Ltd.
mike: 5803 416-684-5803
office: 905-944-5529 1-877-471-7500 x5529
clearnet: 416-279-3393
Re: DOM Parser
Posted by Elena Litani <hl...@jtcsv.com>.
Hi, Jey,
> e.g.
> <!DOCTYPE PORTAL_MAIN [
> <!ENTITY top SYSTEM "navigation3v.xml">
> <!ELEMENT PORTAL_MAIN ANY>
> ]>
> <PORTAL_MAIN>
> some XMLs
> &top
> some other XMLs
> </PORTAL_MAIN>
>
> When I parse this document with Xalan Processor, it create errors about
> undefined XMLs(some and some other XMLs)
> When I use DOMPaser to parse this it Skip the navigation3v.xml.
What do you mean it skips?
If you run it with dom.DOMWriter -c, you'll see the entity being
processed.. and included in xml document.
Please, explain in more details what kind of problems you are having.
Elena.