em4
04-26-2009, 06:50 PM
hello,
1. Is their any way for internal XML SCHEMA declaration (as much as internal DTD declartion - inside the XML file) ?
if the answer is yes, i will be happy to see an example for internal declaration of XML SCHEMA.
2. I work with the WEB-DEVELOPERE progrram, and this progrram has different approach to DTD and XML SCHEMA errors handling. When their is an error and the document structure is DTD, i see a thin-rough line bellow the error place. But when i use the XML SCHEMA as my document structure, i have to press the view in the menubar, and than Error List to check for some errors. My question is why their different aprroach of the WEB-DEVELOPER in error handling and i cant i change it ?
3. I dont succeed that my XML file will be valid even if the XML SCHEMA is in external declaration. I work exactly like the examples of w3school i'm import from outside a XSD file but when i click on 'view-Error List' i see a lot of errors in the list. What could be the reason ?
4. Why do i have to use namespace(URI) in XML, when i work with prefix inside some elements ? And what is the purpose of using the namespaces(URI) with no prefix in the element ?
thanks for the answers.
1. Is their any way for internal XML SCHEMA declaration (as much as internal DTD declartion - inside the XML file) ?
if the answer is yes, i will be happy to see an example for internal declaration of XML SCHEMA.
2. I work with the WEB-DEVELOPERE progrram, and this progrram has different approach to DTD and XML SCHEMA errors handling. When their is an error and the document structure is DTD, i see a thin-rough line bellow the error place. But when i use the XML SCHEMA as my document structure, i have to press the view in the menubar, and than Error List to check for some errors. My question is why their different aprroach of the WEB-DEVELOPER in error handling and i cant i change it ?
3. I dont succeed that my XML file will be valid even if the XML SCHEMA is in external declaration. I work exactly like the examples of w3school i'm import from outside a XSD file but when i click on 'view-Error List' i see a lot of errors in the list. What could be the reason ?
4. Why do i have to use namespace(URI) in XML, when i work with prefix inside some elements ? And what is the purpose of using the namespaces(URI) with no prefix in the element ?
thanks for the answers.