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 Rubén Ortiz <ru...@newknow.com> on 2001/02/05 08:54:23 UTC

Using DOMCount with personal-schema.xml example


> Hello friends!!
> 
> I have downloaded xerces1.3.0, installed the package and launch the
> DOMCount sample with the personal-schema.xml. I launched it like this:
> 
> java dom.DOMCount -v personal-schema.xml
> 
> I am trying that DOMParser validates this XML, but the out for this
> example is:
> 
> 
> [Error] personal-schema.xml:3:57: Element type "personnel" must be
> declared.
> [Error] personal-schema.xml:3:57: Attribute
> "xsi:noNamespaceSchemaLocation" must be declared for element type
> "personnel".
> [Error] personal-schema.xml:5:26: Element type "person" must be declared.
> [Error] personal-schema.xml:5:26: Attribute "id" must be declared for
> element type "person".
> [Error] personal-schema.xml:6:11: Element type "name" must be declared.
> [Error] personal-schema.xml:6:19: Element type "family" must be declared.
> [Error] personal-schema.xml:6:41: Element type "given" must be declared.
> [Error] personal-schema.xml:7:12: Element type "email" must be declared.
> [Error] personal-schema.xml:8:86: Element type "link" must be declared.
> [Error] personal-schema.xml:8:86: Attribute "subordinates" must be
> declared for element type "link".
> [Error] personal-schema.xml:11:27: Element type "person" must be declared.
> [Error] personal-schema.xml:11:27: Attribute "id" must be declared for
> element type "person".
> [Error] personal-schema.xml:12:11: Element type "name" must be declared.
> [Error] personal-schema.xml:12:19: Element type "family" must be declared.
> [Error] personal-schema.xml:12:43: Element type "given" must be declared.
> [Error] personal-schema.xml:13:12: Element type "email" must be declared.
> [Error] personal-schema.xml:14:31: Element type "link" must be declared.
> [Error] personal-schema.xml:14:31: Attribute "manager" must be declared
> for element type "link".
> [Error] personal-schema.xml:17:27: Element type "person" must be declared.
> [Error] personal-schema.xml:17:27: Attribute "id" must be declared for
> element type "person".
> [Error] personal-schema.xml:18:11: Element type "name" must be declared.
> [Error] personal-schema.xml:18:19: Element type "family" must be declared.
> [Error] personal-schema.xml:18:43: Element type "given" must be declared.
> [Error] personal-schema.xml:19:12: Element type "email" must be declared.
> [Error] personal-schema.xml:20:31: Element type "link" must be declared.
> [Error] personal-schema.xml:20:31: Attribute "manager" must be declared
> for element type "link".
> [Error] personal-schema.xml:23:29: Element type "person" must be declared.
> [Error] personal-schema.xml:23:29: Attribute "id" must be declared for
> element type "person".
> [Error] personal-schema.xml:24:11: Element type "name" must be declared.
> [Error] personal-schema.xml:24:19: Element type "family" must be declared.
> [Error] personal-schema.xml:24:43: Element type "given" must be declared.
> [Error] personal-schema.xml:25:12: Element type "email" must be declared.
> [Error] personal-schema.xml:26:31: Element type "link" must be declared.
> [Error] personal-schema.xml:26:31: Attribute "manager" must be declared
> for element type "link".
> [Error] personal-schema.xml:29:28: Element type "person" must be declared.
> [Error] personal-schema.xml:29:28: Attribute "id" must be declared for
> element type "person".
> [Error] personal-schema.xml:30:11: Element type "name" must be declared.
> [Error] personal-schema.xml:30:19: Element type "family" must be declared.
> [Error] personal-schema.xml:30:43: Element type "given" must be declared.
> [Error] personal-schema.xml:31:12: Element type "email" must be declared.
> [Error] personal-schema.xml:32:31: Element type "link" must be declared.
> [Error] personal-schema.xml:32:31: Attribute "manager" must be declared
> for element type "link".
> [Error] personal-schema.xml:35:28: Element type "person" must be declared.
> [Error] personal-schema.xml:35:28: Attribute "id" must be declared for
> element type "person".
> [Error] personal-schema.xml:36:11: Element type "name" must be declared.
> [Error] personal-schema.xml:36:19: Element type "family" must be declared.
> [Error] personal-schema.xml:36:43: Element type "given" must be declared.
> [Error] personal-schema.xml:37:12: Element type "email" must be declared.
> [Error] personal-schema.xml:38:31: Element type "link" must be declared.
> [Error] personal-schema.xml:38:31: Attribute "manager" must be declared
> for element type "link".
> 
> 
> Thanks for your help.
> 
> 
> Rubén Ortiz
> Software Engineer
> Ruben.Ortiz@newknow.com
> 
> 
> 
> 
> 
This message and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
No confidentiality or privilege is waived or lost by any wrong transmission.
If you have received this message in error, please immediately destroy it
and kindly notify the sender by reply email.
You must not, directly or indirectly, use, disclose, distribute, print, or
copy any part of this message if you are not the intended recipient.
Opinions, conclusions and other information in this message that do not
relate to the official business of Newknow shall be understood as neither
given nor endorsed by it.