You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by Steven Sargent <sb...@adobe.com> on 2002/03/13 19:38:58 UTC

Dumb question, I hope

I have an XML file like

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Root>
	<Tag2>
		sdf adfa dfa dfad f adf adf df adf
		d fdf ad fad fdf df adf adf adf adf
		<Tag3:Table xmlns:Tag3="adobe:ns:Tag3/">
			<Tag3:TR>
				<Tag3:TD>a</Tag3:TD>
				<Tag3:TD>b</Tag3:TD>
			</Tag3:TR>
		</Tag3:Table>
		csf gdf gfg sdfg sdfg sdfg sdf gsf gs fdgs fg sfg fg
		sfg sfg sg sfg sg sdf gsf gsf s fdgsgdsdf gsdf gsgf
	</Tag2>
</Root>

xerces-j 1.3 and 1.4.4 both complain that the Tag3 prefix must
resolve to a namespace.

When I move that xmlns:Tag3 attribute to the Tag2 element, same problem.

When I move that xmlns:Tag3 attribute to the Root element, everything
is fine.

My reading of the spec is that my file should work.
Any thoughts?

Thanks, S.

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org