This week's book giveaway is in the
We're giving away four copies of a choice of
"Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac"
and have Joe Kissell on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Take Control of Upgrading to Yosemite
Take Control of Automating Your Mac
this week in the
XML and Related Technologies
xerces2_6_2 validating with dtd and schema. please help!
Joined: Feb 22, 2005
Feb 22, 2005 03:37:00
Hi I am having trouble validating an xml document using xerces2_6_2
I have a DTD that containes only entity references, and a schema that is used to ensure the xml is valid.
I get this error.
Element type "my root tag" must be declared!
It seems to expect all validation grammer to be in the dtd. I have sucessfully validated with xml spy and oxygen,(oxygen uses xerces too).
This is a real pain I really would lie to take advantage of using schemas, I know I could just use entity references in this form and not have a dtd but this is really not acceptable.
I have tried out all the xerces specific properties and features but this has not worked either.
Perhaps I should implement a validator? Does anyone have any ideas?
subject: xerces2_6_2 validating with dtd and schema. please help!
Does Xerces validate xml files with schema(xsd)
XML/ DOM validation against Xml Schema
XSLT - DTD Issue
How to implement getElementById() with Xerces 2.0.1 using XML Schema?
Using DTD for validation
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014