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 h....@gambit-gmbh.de on 2002/11/07 11:11:49 UTC

Schema error: could not resolve URI :

I've got a strange problem,

in my program i get a:

org.xml.sax.SAXParseException: Schema error: could not resolve URI :
http://www.gambit-gmbh.de/XMLSchema to a SchemaGrammar in
getTypeInfoFromNS.


The strange thing is, that Netbeans 3.4 can validate the XML-file if i copy
files and definitions into the same directory.
What i would like to know, is there something wrong with my Schema or is
the Xerces misconfigured?

Any hints are welcome.


<?xml version="1.0" encoding="UTF-8"?>
<!-- Document   : WarehouseProductInReceiver.xml -->
<WarehousedProduct
  xmlns='Argos'
  xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
  xsi:schemaLocation='Argos WarehousedProduct.xsd' >
     ...
</WarehousedProduct>


<?xml version="1.0" encoding="UTF-8"?>
<!-- Document   : WarehousedProduct.xsd -->
<xs:schema targetNamespace="Amos"
           xmlns="Amos"
           xmlns:gam="http://www.gambit-gmbh.de/XMLSchema"
           xmlns:xs="http://www.w3.org/2001/XMLSchema"
           elementFormDefault="qualified" >
  <!-- Import the GamBit types. -->
  <xs:import namespace="http://www.gambit-gmbh.de/XMLSchema"
             schemaLocation="GamTypes.xsd" />
  <xs:element name="WarehousedProduct" type="ItemBase" />
  <xs:complexType name="ItemBase">
     ...
  </xs:complexType>
</xs:schema>


<?xml version="1.0" encoding="UTF-8"?>
<!--  Document   : GamTypes.xsd -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
           targetNamespace="http://www.gambit-gmbh.de/XMLSchema"
           elementFormDefault="qualified" >
    ...
</xs:schema>


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


Re: ORACLE QUERY

Posted by Savita <sa...@india.hp.com>.
SORRY THIS MAIL IS NOT FOR THIS MAILING LIST.
--
Best Regards
- Savita
----------------------------------------------------
Hewlett Packard (India)
+91 80 2051288 (Phone)
847 1288 (HP Telnet)
----------------------------------------------------



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


ORACLE QUERY

Posted by Savita <sa...@india.hp.com>.
Hi All,

I want to know about one query.

I have two views and I want to get the sum of count of two view ex
I have a query like

select record_identifier from records where rownum<(40-(select count(*) from
customer_view+select count(*) from unit_view));

But this is not working in oracle.

Is there any other way to do this without writing a function
--
Best Regards
- Savita
----------------------------------------------------
Hewlett Packard (India)
+91 80 2051288 (Phone)
847 1288 (HP Telnet)
----------------------------------------------------